Package com.sun.tools.rngom.parse.xml
Class DtdContext
java.lang.Object
com.sun.tools.rngom.parse.xml.DtdContext
- All Implemented Interfaces:
ValidationContext,DTDHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisNotation(String notationName) Checks if a notation is declared with the specified name.booleanisUnparsedEntity(String entityName) Checks if an unparsed entity is declared with the specified name.voidnotationDecl(String name, String publicId, String systemId) voidunparsedEntityDecl(String name, String publicId, String systemId, String notationName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.tools.rngdatatype.ValidationContext
getBaseUri, resolveNamespacePrefix
-
Constructor Details
-
DtdContext
public DtdContext() -
DtdContext
-
-
Method Details
-
notationDecl
- Specified by:
notationDeclin interfaceDTDHandler- Throws:
SAXException
-
unparsedEntityDecl
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException - Specified by:
unparsedEntityDeclin interfaceDTDHandler- Throws:
SAXException
-
isNotation
Description copied from interface:ValidationContextChecks if a notation is declared with the specified name.- Specified by:
isNotationin interfaceValidationContext- Returns:
- true if the DTD has a notation declaration for the specified name. false otherwise.
-
isUnparsedEntity
Description copied from interface:ValidationContextChecks if an unparsed entity is declared with the specified name.- Specified by:
isUnparsedEntityin interfaceValidationContext- Returns:
- true if the DTD has an unparsed entity declaration for the specified name. false otherwise.
-
clearDtdContext
public void clearDtdContext()
-