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, com.sun.org.apache.xerces.internal.xni.XMLString defaultValue, com.sun.org.apache.xerces.internal.xni.XMLString nonNormalizedDefaultValue, com.sun.org.apache.xerces.internal.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(com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)A comment.
|
public void | elementDecl(java.lang.String name, java.lang.String contentModel, com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)An element declaration.
|
public void | endAttlist(com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)The end of an attribute list.
|
public void | endConditional(com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)The end of a conditional section.
|
public void | endContentModel()The end of a content model.
|
public void | endDTD(com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)The end of the DTD.
|
public void | endEntity(java.lang.String name, com.sun.org.apache.xerces.internal.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(com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)The end of the external subset.
|
public void | externalEntityDecl(java.lang.String name, com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier identifier, com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)An external entity declaration.
|
public com.sun.org.apache.xerces.internal.impl.dtd.DTDGrammar | getDTDGrammar()getDTDGrammar
return null;
|
public void | internalEntityDecl(java.lang.String name, com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.XMLString nonNormalizedText, com.sun.org.apache.xerces.internal.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, com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier identifier, com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)A notation declaration
|
public void | processingInstruction(java.lang.String target, com.sun.org.apache.xerces.internal.xni.XMLString data, com.sun.org.apache.xerces.internal.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, com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)The start of an attribute list.
|
public void | startConditional(short type, com.sun.org.apache.xerces.internal.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(com.sun.org.apache.xerces.internal.xni.XMLLocator locator, com.sun.org.apache.xerces.internal.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(com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier identifier, com.sun.org.apache.xerces.internal.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, com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier identifier, java.lang.String notation, com.sun.org.apache.xerces.internal.xni.Augmentations augmentations)An unparsed entity declaration.
|