This filter records which unparsed entities have been declared in the DTD and provides this information to a ValidationManager. Events are forwarded to the registered XMLDTDHandler without modification.
| Modifier and Type | Field and Description |
|---|---|
| private XMLDTDHandler | |
| private XMLDTDSource | fDTDSource
DTD source and handler. |
| private Map | fUnparsedEntities
Map for tracking unparsed entities. |
| private final ValidationManager | fValidationManager
Validation manager. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| fDTDHandler | back to summary |
|---|---|
| private XMLDTDHandler fDTDHandler | |
| fDTDSource | back to summary |
|---|---|
| private XMLDTDSource fDTDSource DTD source and handler. | |
| fUnparsedEntities | back to summary |
|---|---|
| private Map<String, String> fUnparsedEntities Map for tracking unparsed entities. | |
| fValidationManager | back to summary |
|---|---|
| private final ValidationManager fValidationManager Validation manager. | |
| UnparsedEntityHandler | back to summary |
|---|---|
| pack-priv UnparsedEntityHandler(ValidationManager manager) | |
| attributeDecl | back to summary |
|---|---|
| public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augmentations) throws XNIException Implements com. Doc from com. An attribute declaration.
| |
| comment | back to summary |
|---|---|
| public void comment(XMLString text, Augmentations augmentations) throws XNIException Implements com. Doc from com. A comment.
| |
| elementDecl | back to summary |
|---|---|
| public void elementDecl(String name, String contentModel, Augmentations augmentations) throws XNIException Implements com. Doc from com. An element declaration.
| |
| endAttlist | back to summary |
|---|---|
| public void endAttlist(Augmentations augmentations) throws XNIException Implements com. Doc from com. The end of an attribute list.
| |
| endConditional | back to summary |
|---|---|
| public void endConditional(Augmentations augmentations) throws XNIException Implements com. Doc from com. The end of a conditional section.
| |
| endDTD | back to summary |
|---|---|
| public void endDTD(Augmentations augmentations) throws XNIException Implements com. Doc from com. The end of the DTD.
| |
| endExternalSubset | back to summary |
|---|---|
| public void endExternalSubset(Augmentations augmentations) throws XNIException Implements com. Doc from com. The end of the DTD external subset.
| |
| endParameterEntity | back to summary |
|---|---|
| public void endParameterEntity(String name, Augmentations augmentations) throws XNIException Implements com. Doc from com. This method notifies the end of a parameter entity. Parameter entity names begin with a '%' character.
| |
| externalEntityDecl | back to summary |
|---|---|
| public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException Implements com. Doc from com. An external entity declaration.
| |
| getDTDHandler | back to summary |
|---|---|
| public XMLDTDHandler getDTDHandler() Implements com. Doc from com. Returns the DTD handler. | |
| getDTDSource | back to summary |
|---|---|
| public XMLDTDSource getDTDSource() Implements com. | |
| ignoredCharacters | back to summary |
|---|---|
| public void ignoredCharacters(XMLString text, Augmentations augmentations) throws XNIException Implements com. Doc from com. Characters within an IGNORE conditional section.
| |
| internalEntityDecl | back to summary |
|---|---|
| public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augmentations) throws XNIException Implements com. Doc from com. An internal entity declaration.
| |
| isEntityDeclared | back to summary |
|---|---|
| public boolean isEntityDeclared(String name) Implements com. Doc from com. Query method to check if entity with this name was declared. | |
| isEntityUnparsed | back to summary |
|---|---|
| public boolean isEntityUnparsed(String name) Implements com. Doc from com. Query method to check if entity is unparsed. | |
| notationDecl | back to summary |
|---|---|
| public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException Implements com. Doc from com. A notation declaration
| |
| processingInstruction | back to summary |
|---|---|
| public void processingInstruction(String target, XMLString data, Augmentations augmentations) throws XNIException Implements com. Doc from com. A processing instruction. Processing instructions consist of a target name and, optionally, text data. The data is only meaningful to the application. Typically, a processing instruction's data will contain a series of pseudo-attributes. These pseudo-attributes follow the form of element attributes but are not parsed or presented to the application as anything other than text. The application is responsible for parsing the data.
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| setDTDHandler | back to summary |
|---|---|
| public void setDTDHandler(XMLDTDHandler handler) Implements com. Doc from com. Sets the DTD handler. | |
| setDTDSource | back to summary |
|---|---|
| public void setDTDSource(XMLDTDSource source) Implements com. | |
| startAttlist | back to summary |
|---|---|
| public void startAttlist(String elementName, Augmentations augmentations) throws XNIException Implements com. Doc from com. The start of an attribute list.
| |
| startConditional | back to summary |
|---|---|
| public void startConditional(short type, Augmentations augmentations) throws XNIException Implements com. Doc from com. The start of a conditional section.
| |
| startDTD | back to summary |
|---|---|
| public void startDTD(XMLLocator locator, Augmentations augmentations) throws XNIException Implements com. Doc from com. The start of the DTD.
| |
| startExternalSubset | back to summary |
|---|---|
| public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException Implements com. Doc from com. The start of the DTD external subset.
| |
| startParameterEntity | back to summary |
|---|---|
| public void startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augmentations) throws XNIException Implements com. Doc from com. This method notifies of the start of a parameter entity. The parameter entity name start with a '%' character.
| |
| textDecl | back to summary |
|---|---|
| public void textDecl(String version, String encoding, Augmentations augmentations) throws XNIException Implements com. Doc from com. Notifies of the presence of a TextDecl line in an entity. If present, this method will be called immediately following the startEntity call. Note This method is only called for external parameter entities referenced in the DTD.
| |
| unparsedEntityDecl | back to summary |
|---|---|
| public void unparsedEntityDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augmentations) throws XNIException Implements com. Doc from com. An unparsed entity declaration.
| |