| java.lang.Object org.apache.xerces.impl.dtd.DTDGrammar org.apache.xerces.impl.dtd.BalancedDTDGrammar
BalancedDTDGrammar | final class BalancedDTDGrammar extends DTDGrammar (Code) | | A DTD grammar that produces balanced syntax trees.
author: Michael Glavassevich, IBM version: $Id: BalancedDTDGrammar.java 446755 2006-09-15 21:56:27Z mrglavas $ |
addContentSpecToElement | final protected void addContentSpecToElement(XMLElementDecl elementDecl)(Code) | | Adds the content spec to the given element declaration.
|
element | final public void element(String elementName, Augmentations augs) throws XNIException(Code) | | A referenced element in a mixed or children content model.
Parameters: elementName - The name of the referenced element. Parameters: augs - Additional information that may include infosetaugmentations. throws: XNIException - Thrown by handler to signal an error. |
endDTD | final public void endDTD(Augmentations augs) throws XNIException(Code) | | The end of the DTD.
Parameters: augs - Additional information that may include infosetaugmentations. throws: XNIException - Thrown by handler to signal an error. |
endGroup | final public void endGroup(Augmentations augs) throws XNIException(Code) | | The end of a group for mixed or children content models.
Parameters: augs - Additional information that may include infosetaugmentations. throws: XNIException - Thrown by handler to signal an error. |
pcdata | final public void pcdata(Augmentations augs) throws XNIException(Code) | | The appearance of "#PCDATA" within a group signifying a
mixed content model. This method will be the first called
following the content model's startGroup() .
Parameters: augs - Additional information that may include infosetaugmentations. throws: XNIException - Thrown by handler to signal an error. See Also: BalancedDTDGrammar.startGroup |
startContentModel | final public void startContentModel(String elementName, Augmentations augs) throws XNIException(Code) | | 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.
Parameters: elementName - The name of the element. Parameters: augs - Additional information that may include infosetaugmentations. throws: XNIException - Thrown by handler to signal an error. |
startGroup | final public void startGroup(Augmentations augs) throws XNIException(Code) | | A start of either a mixed or children content model. A mixed
content model will immediately be followed by a call to the
pcdata() method. A children content model will
contain additional groups and/or elements.
Parameters: augs - Additional information that may include infosetaugmentations. throws: XNIException - Thrown by handler to signal an error. See Also: BalancedDTDGrammar.any See Also: BalancedDTDGrammar.empty |
Methods inherited from org.apache.xerces.impl.dtd.DTDGrammar | protected int addContentSpecNode(short nodeType, String nodeValue)(Code)(Java Doc) protected int addContentSpecNode(short nodeType, int leftNodeIndex, int rightNodeIndex)(Code)(Java Doc) protected void addContentSpecToElement(XMLElementDecl elementDecl)(Code)(Java Doc) protected int addUniqueLeafNode(String elementName)(Code)(Java Doc) public void any(Augmentations augs) throws XNIException(Code)(Java Doc) public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augs) throws XNIException(Code)(Java Doc) public void comment(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) protected int createAttributeDecl()(Code)(Java Doc) protected int createContentSpec()(Code)(Java Doc) protected int createElementDecl()(Code)(Java Doc) protected int createEntityDecl()(Code)(Java Doc) protected int createNotationDecl()(Code)(Java Doc) public void element(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void elementDecl(String name, String contentModel, Augmentations augs) throws XNIException(Code)(Java Doc) public void empty(Augmentations augs) throws XNIException(Code)(Java Doc) public void endAttlist(Augmentations augs) throws XNIException(Code)(Java Doc) public void endConditional(Augmentations augs) throws XNIException(Code)(Java Doc) public void endContentModel(Augmentations augs) throws XNIException(Code)(Java Doc) public void endDTD(Augmentations augs) throws XNIException(Code)(Java Doc) public void endExternalSubset(Augmentations augs) throws XNIException(Code)(Java Doc) public void endGroup(Augmentations augs) throws XNIException(Code)(Java Doc) public void endParameterEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public boolean getAttributeDecl(int attributeDeclIndex, XMLAttributeDecl attributeDecl)(Code)(Java Doc) public int getAttributeDeclIndex(int elementDeclIndex, String attributeDeclName)(Code)(Java Doc) public boolean getAttributeDeclIsExternal(int attributeDeclIndex)(Code)(Java Doc) public boolean getContentSpec(int contentSpecIndex, XMLContentSpec contentSpec)(Code)(Java Doc) public String getContentSpecAsString(int elementDeclIndex)(Code)(Java Doc) public int getContentSpecIndex(int elementDeclIndex)(Code)(Java Doc) public short getContentSpecType(int elementIndex)(Code)(Java Doc) public XMLDTDContentModelSource getDTDContentModelSource()(Code)(Java Doc) public XMLDTDSource getDTDSource()(Code)(Java Doc) protected ContentModelValidator getElementContentModelValidator(int elementDeclIndex)(Code)(Java Doc) public boolean getElementDecl(int elementDeclIndex, XMLElementDecl elementDecl)(Code)(Java Doc) public int getElementDeclIndex(String elementDeclName)(Code)(Java Doc) public int getElementDeclIndex(QName elementDeclQName)(Code)(Java Doc) public boolean getElementDeclIsExternal(int elementDeclIndex)(Code)(Java Doc) QName getElementDeclName(int elementDeclIndex)(Code)(Java Doc) public boolean getEntityDecl(int entityDeclIndex, XMLEntityDecl entityDecl)(Code)(Java Doc) public int getEntityDeclIndex(String entityDeclName)(Code)(Java Doc) public int getFirstAttributeDeclIndex(int elementDeclIndex)(Code)(Java Doc) public int getFirstElementDeclIndex()(Code)(Java Doc) public XMLGrammarDescription getGrammarDescription()(Code)(Java Doc) public int getNextAttributeDeclIndex(int attributeDeclIndex)(Code)(Java Doc) public int getNextElementDeclIndex(int elementDeclIndex)(Code)(Java Doc) public boolean getNotationDecl(int notationDeclIndex, XMLNotationDecl notationDecl)(Code)(Java Doc) public int getNotationDeclIndex(String notationDeclName)(Code)(Java Doc) public SymbolTable getSymbolTable()(Code)(Java Doc) public void ignoredCharacters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) protected void initializeContentModelStack()(Code)(Java Doc) public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augs) throws XNIException(Code)(Java Doc) public boolean isCDATAAttribute(QName elName, QName atName)(Code)(Java Doc) public boolean isEntityDeclared(String name)(Code)(Java Doc) public boolean isEntityUnparsed(String name)(Code)(Java Doc) boolean isImmutable()(Code)(Java Doc) public boolean isNamespaceAware()(Code)(Java Doc) public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public void occurrence(short occurrence, Augmentations augs) throws XNIException(Code)(Java Doc) public void pcdata(Augmentations augs) throws XNIException(Code)(Java Doc) public void printAttributes(int elementDeclIndex)(Code)(Java Doc) public void printElements()(Code)(Java Doc) public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)(Java Doc) protected void putElementNameMapping(QName name, int scope, int elementDeclIndex)(Code)(Java Doc) public void separator(short separator, Augmentations augs) throws XNIException(Code)(Java Doc) protected void setAttributeDecl(int elementDeclIndex, int attributeDeclIndex, XMLAttributeDecl attributeDecl)(Code)(Java Doc) protected void setContentSpec(int contentSpecIndex, XMLContentSpec contentSpec)(Code)(Java Doc) protected void setContentSpecIndex(int elementDeclIndex, int contentSpecIndex)(Code)(Java Doc) public void setDTDContentModelSource(XMLDTDContentModelSource source)(Code)(Java Doc) public void setDTDSource(XMLDTDSource source)(Code)(Java Doc) protected void setElementDecl(int elementDeclIndex, XMLElementDecl elementDecl)(Code)(Java Doc) protected void setEntityDecl(int entityDeclIndex, XMLEntityDecl entityDecl)(Code)(Java Doc) protected void setFirstAttributeDeclIndex(int elementDeclIndex, int newFirstAttrIndex)(Code)(Java Doc) protected void setNotationDecl(int notationDeclIndex, XMLNotationDecl notationDecl)(Code)(Java Doc) public void startAttlist(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void startConditional(short type, Augmentations augs) throws XNIException(Code)(Java Doc) public void startContentModel(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void startDTD(XMLLocator locator, Augmentations augs) throws XNIException(Code)(Java Doc) public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public void startGroup(Augmentations augs) throws XNIException(Code)(Java Doc) public void startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void textDecl(String version, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void unparsedEntityDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augs) throws XNIException(Code)(Java Doc)
|
|
|