com.sun.xml.stream.dtd
public class DTDGrammarUtil extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DTDGrammar |
fDTDGrammar |
protected boolean |
fNamespaces
Namespaces.
|
protected org.apache.xerces.util.SymbolTable |
fSymbolTable
Symbol table.
|
protected static java.lang.String |
NAMESPACES |
protected static java.lang.String |
SYMBOL_TABLE
Property identifier: symbol table.
|
Constructor and Description |
---|
DTDGrammarUtil(DTDGrammar grammar,
org.apache.xerces.util.SymbolTable symbolTable) |
DTDGrammarUtil(DTDGrammar grammar,
org.apache.xerces.util.SymbolTable symbolTable,
org.apache.xerces.xni.NamespaceContext namespaceContext) |
DTDGrammarUtil(org.apache.xerces.util.SymbolTable symbolTable)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDTDDefaultAttrs(org.apache.xerces.xni.QName elementName,
org.apache.xerces.xni.XMLAttributes attributes)
Add default attributes and validate.
|
void |
endCDATA(org.apache.xerces.xni.Augmentations augs)
The end of a CDATA section.
|
void |
endElement(org.apache.xerces.xni.QName element)
The end of an element.
|
protected void |
handleEndElement(org.apache.xerces.xni.QName element)
Handle end element.
|
protected void |
handleStartElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes)
Handle element
|
boolean |
isIgnorableWhiteSpace(org.apache.xerces.xni.XMLString text) |
boolean |
isInElementContent() |
void |
reset(org.apache.xerces.xni.parser.XMLComponentManager componentManager) |
void |
startCDATA(org.apache.xerces.xni.Augmentations augs)
The start of a CDATA section.
|
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes)
The start of an element.
|
protected static final java.lang.String SYMBOL_TABLE
protected static final java.lang.String NAMESPACES
protected DTDGrammar fDTDGrammar
protected boolean fNamespaces
protected org.apache.xerces.util.SymbolTable fSymbolTable
public DTDGrammarUtil(org.apache.xerces.util.SymbolTable symbolTable)
public DTDGrammarUtil(DTDGrammar grammar, org.apache.xerces.util.SymbolTable symbolTable)
public DTDGrammarUtil(DTDGrammar grammar, org.apache.xerces.util.SymbolTable symbolTable, org.apache.xerces.xni.NamespaceContext namespaceContext)
public void reset(org.apache.xerces.xni.parser.XMLComponentManager componentManager) throws org.apache.xerces.xni.parser.XMLConfigurationException
org.apache.xerces.xni.parser.XMLConfigurationException
public void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes) throws org.apache.xerces.xni.XNIException
element
- The name of the element.attributes
- The element attributes.augs
- Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException
- Thrown by handler to signal an error.public void endElement(org.apache.xerces.xni.QName element) throws org.apache.xerces.xni.XNIException
element
- The name of the element.augs
- Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException
- Thrown by handler to signal an error.public void startCDATA(org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
augs
- Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException
- Thrown by handler to signal an error.public void endCDATA(org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
augs
- Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException
- Thrown by handler to signal an error.public void addDTDDefaultAttrs(org.apache.xerces.xni.QName elementName, org.apache.xerces.xni.XMLAttributes attributes) throws org.apache.xerces.xni.XNIException
org.apache.xerces.xni.XNIException
protected void handleStartElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes) throws org.apache.xerces.xni.XNIException
org.apache.xerces.xni.XNIException
protected void handleEndElement(org.apache.xerces.xni.QName element) throws org.apache.xerces.xni.XNIException
org.apache.xerces.xni.XNIException
public boolean isInElementContent()
public boolean isIgnorableWhiteSpace(org.apache.xerces.xni.XMLString text)
Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.