Methods Summary |
---|
public void | attributeDecl(java.lang.String elementName, java.lang.String attributeName, java.lang.String type, java.lang.String[] enumeration, java.lang.String defaultType, org.apache.xerces.xni.XMLString defaultValue, org.apache.xerces.xni.XMLString nonNormalizedDefaultValue, org.apache.xerces.xni.Augmentations augmentations)An attribute declaration.
|
public void | childrenElement(java.lang.String elementName)A referenced element in a children content model.
|
public void | childrenEndGroup()The end of a children group.
Note: This method is only called after a call to
the startContentModel method where the type is TYPE_CHILDREN.
|
public void | childrenOccurrence(short occurrence)The occurrence count for a child in a children content model.
Note: This method is only called after a call to
the startContentModel method where the type is TYPE_CHILDREN.
|
public void | childrenSeparator(short separator)The separator between choices or sequences of a children content
model.
Note: This method is only called after a call to
the startContentModel method where the type is TYPE_CHILDREN.
|
public void | childrenStartGroup()The start of a children group.
Note: This method is only called after a call to
the startContentModel method where the type is TYPE_CHILDREN.
Note: Children groups can be nested and have
associated occurrence counts.
|
public void | comment(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augmentations)A comment.
|
public void | elementDecl(java.lang.String name, java.lang.String contentModel, org.apache.xerces.xni.Augmentations augmentations)An element declaration.
|
public void | endAttlist(org.apache.xerces.xni.Augmentations augmentations)The end of an attribute list.
|
public void | endConditional(org.apache.xerces.xni.Augmentations augmentations)The end of a conditional section.
|
public void | endContentModel()The end of a content model.
|
public void | endDTD(org.apache.xerces.xni.Augmentations augmentations)The end of the DTD.
|
public void | endEntity(java.lang.String name, org.apache.xerces.xni.Augmentations augmentations)This method notifies the end of an entity. The DTD has the pseudo-name
of "[dtd]" and parameter entity names start with '%'.
Note: Since the DTD is an entity, the handler
will be notified of the end of the DTD entity by calling the
endEntity method with the entity name "[dtd]" after calling
the endDTD method.
|
public void | endExternalSubset(org.apache.xerces.xni.Augmentations augmentations)The end of the external subset.
|
public void | externalEntityDecl(java.lang.String name, org.apache.xerces.xni.XMLResourceIdentifier identifier, org.apache.xerces.xni.Augmentations augmentations)An external entity declaration.
|
public org.apache.xerces.impl.dtd.DTDGrammar | getDTDGrammar()getDTDGrammar
return null;
|
public void | internalEntityDecl(java.lang.String name, org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.XMLString nonNormalizedText, org.apache.xerces.xni.Augmentations augmentations)An internal entity declaration.
|
public void | mixedElement(java.lang.String elementName)A referenced element in a mixed content model. If the mixed content
model only allows text content, then this method will not be called
for that model. However, if this method is called for a mixed
content model, then the zero or more occurrence count is implied.
Note: This method is only called after a call to
the startContentModel method where the type is TYPE_MIXED.
|
public void | notationDecl(java.lang.String name, org.apache.xerces.xni.XMLResourceIdentifier identifier, org.apache.xerces.xni.Augmentations augmentations)A notation declaration
|
public void | processingInstruction(java.lang.String target, org.apache.xerces.xni.XMLString data, org.apache.xerces.xni.Augmentations augmentations)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.
|
public void | startAttlist(java.lang.String elementName, org.apache.xerces.xni.Augmentations augmentations)The start of an attribute list.
|
public void | startConditional(short type, org.apache.xerces.xni.Augmentations augmentations)The start of a conditional section.
|
public void | startContentModel(java.lang.String elementName, short type)The start of a content model. Depending on the type of the content
model, specific methods may be called between the call to the
startContentModel method and the call to the endContentModel method.
|
public void | startDTD(org.apache.xerces.xni.XMLLocator locator, org.apache.xerces.xni.Augmentations augmentations)The start of the DTD.
|
public void | startEntity(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String encoding)This method notifies of the start of an entity. The DTD has the
pseudo-name of "[dtd]" and parameter entity names start with '%'.
Note: Since the DTD is an entity, the handler
will be notified of the start of the DTD entity by calling the
startEntity method with the entity name "[dtd]" before calling
the startDTD method.
|
public void | startExternalSubset(org.apache.xerces.xni.XMLResourceIdentifier identifier, org.apache.xerces.xni.Augmentations augmentations)The start of the external subset.
|
public void | textDecl(java.lang.String version, java.lang.String encoding)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.
|
public void | unparsedEntityDecl(java.lang.String name, org.apache.xerces.xni.XMLResourceIdentifier identifier, java.lang.String notation, org.apache.xerces.xni.Augmentations augmentations)An unparsed entity declaration.
|