Modifier and Type | Class and Description |
---|---|
private static class | SchemaDOMParser.
A simple boolean based stack. |
Modifier and Type | Field and Description |
---|---|
pack-priv XMLParserConfiguration | |
public static final String | ERROR_REPORTER
Property identifier: error reporter. |
private int | |
private ElementImpl | |
private int | |
private XMLAttributes | |
pack-priv XMLErrorReporter | |
private boolean | |
private SchemaDOMParser. | |
private int | |
protected XMLLocator | |
protected NamespaceContext | |
private SchemaDOMParser. | |
public static final String | GENERATE_SYNTHETIC_ANNOTATION
Feature identifier: generate synthetic annotations. |
pack-priv SchemaDOM |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | characters(XMLString
The content. text, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. Character content. |
public void | comment(XMLString
The text in the comment. text, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. A comment. |
public void | emptyElement(QName
The name of the element. element, XMLAttributes The element attributes. attributes, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. An empty element. |
public void | endCDATA(Augmentations
Additional information that may include infoset augmentations augs)Overrides com. Implements com. The end of a CDATA section. |
public void | endDocument(Augmentations
Additional information that may include infoset augmentations augs)Overrides com. Implements com. The end of the document. |
public void | endElement(QName
The name of the element. element, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. The end of an element. |
public Document | |
public boolean | |
public Object | |
private boolean | |
public void | ignorableWhitespace(XMLString
The ignorable whitespace. text, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. Ignorable whitespace. |
public void | |
public void | processingInstruction(String
The target. target, XMLString The data or null if none specified. data, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. A processing instruction. |
public void | |
public void | |
public void | setEntityResolver(XMLEntityResolver
XMLEntityResolver er)Delegates to SchemaParsingConfig.setEntityResolver. |
public void | |
public void | |
public void | startCDATA(Augmentations
Additional information that may include infoset augmentations augs)Overrides com. Implements com. The start of a CDATA section. |
public void | startDocument(XMLLocator
The document locator, or null if the document
location cannot be reported during the parsing
of this document. However, it is strongly
recommended that a locator be supplied that can
at least report the system identifier of the
document. locator, String The auto-detected IANA encoding name of the entity
stream. This value will be null in those situations
where the entity encoding is not auto-detected (e.g.
internal entities or a document entity that is
parsed from a java.io.Reader). encoding, NamespaceContext The namespace context in effect at the
start of this document.
This object represents the current context.
Implementors of this class are responsible
for copying the namespace bindings from the
the current context (and its parent contexts)
if that information is important. namespaceContext, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. The start of the document. |
public void | startElement(QName
The name of the element. element, XMLAttributes The element attributes. attributes, Augmentations Additional information that may include infoset augmentations augs)Overrides com. Implements com. The start of an element. |
config | back to summary |
---|---|
pack-priv XMLParserConfiguration config |
ERROR_REPORTER | back to summary |
---|---|
public static final String ERROR_REPORTER Property identifier: error reporter. |
fAnnotationDepth | back to summary |
---|---|
private int fAnnotationDepth |
fCurrentAnnotationElement | back to summary |
---|---|
private ElementImpl fCurrentAnnotationElement |
fDepth | back to summary |
---|---|
private int fDepth |
fEmptyAttr | back to summary |
---|---|
private XMLAttributes fEmptyAttr |
fErrorReporter | back to summary |
---|---|
pack-priv XMLErrorReporter fErrorReporter |
fGenerateSyntheticAnnotation | back to summary |
---|---|
private boolean fGenerateSyntheticAnnotation |
fHasNonSchemaAttributes | back to summary |
---|---|
private SchemaDOMParser. |
fInnerAnnotationDepth | back to summary |
---|---|
private int fInnerAnnotationDepth |
fLocator | back to summary |
---|---|
protected XMLLocator fLocator |
fNamespaceContext | back to summary |
---|---|
protected NamespaceContext fNamespaceContext |
fSawAnnotation | back to summary |
---|---|
private SchemaDOMParser. |
GENERATE_SYNTHETIC_ANNOTATION | back to summary |
---|---|
public static final String GENERATE_SYNTHETIC_ANNOTATION Feature identifier: generate synthetic annotations. |
schemaDOM | back to summary |
---|---|
pack-priv SchemaDOM schemaDOM |
SchemaDOMParser | back to summary |
---|---|
public SchemaDOMParser(XMLParserConfiguration config) Default constructor. |
characters | back to summary |
---|---|
public void characters(XMLString text, Augmentations augs) throws XNIException Overrides com. Implements com. Character content.
|
comment | back to summary |
---|---|
public void comment(XMLString text, Augmentations augs) throws XNIException Overrides com. Implements com. A comment.
|
emptyElement | back to summary |
---|---|
public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException Overrides com. Implements com. An empty element.
|
endCDATA | back to summary |
---|---|
public void endCDATA(Augmentations augs) throws XNIException Overrides com. Implements com. The end of a CDATA section.
|
endDocument | back to summary |
---|---|
public void endDocument(Augmentations augs) throws XNIException Overrides com. Implements com. The end of the document.
|
endElement | back to summary |
---|---|
public void endElement(QName element, Augmentations augs) throws XNIException Overrides com. Implements com. The end of an element.
|
getDocument | back to summary |
---|---|
public Document getDocument() Returns the DOM document object. |
getFeature | back to summary |
---|---|
public boolean getFeature(String featureId) Delegates to SchemaParsingConfig.getFeature
|
getProperty | back to summary |
---|---|
public Object getProperty(String propertyId) Delegates to SchemaParsingConfig.getProperty.
|
hasNonSchemaAttributes | back to summary |
---|---|
private boolean hasNonSchemaAttributes(QName element, XMLAttributes attributes) |
ignorableWhitespace | back to summary |
---|---|
public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException Overrides com. Implements com. Ignorable whitespace. For this method to be called, the document source must have some way of determining that the text containing only whitespace characters should be considered ignorable. For example, the validator can determine if a length of whitespace characters in the document are ignorable based on the element content model.
|
parse | back to summary |
---|---|
public void parse(XMLInputSource inputSource) throws IOException Delegates parsing to SchemaParsingConfig |
processingInstruction | back to summary |
---|---|
public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException Overrides com. Implements 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() Reset SchemaParsingConfig |
resetNodePool | back to summary |
---|---|
public void resetNodePool() ResetNodePool on SchemaParsingConfig |
setEntityResolver | back to summary |
---|---|
public void setEntityResolver(XMLEntityResolver er) Delegates to SchemaParsingConfig.setEntityResolver.
|
setFeature | back to summary |
---|---|
public void setFeature(String featureId, boolean state) Delegates to SchemaParsingConfig.setFeature |
setProperty | back to summary |
---|---|
public void setProperty(String propertyId, Object value) Delegates to SchemaParsingConfig.setProperty. |
startCDATA | back to summary |
---|---|
public void startCDATA(Augmentations augs) throws XNIException Overrides com. Implements com. The start of a CDATA section.
|
startDocument | back to summary |
---|---|
public void startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException Overrides com. Implements com. Doc from com. The start of the document.
|
startElement | back to summary |
---|---|
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException Overrides com. Implements com. The start of an element.
|
Modifier and Type | Field and Description |
---|---|
private boolean[] | fData
Stack data. |
private int | fDepth
Stack depth. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
private void | |
public boolean | |
public void | |
public int |
fData | back to summary |
---|---|
private boolean[] fData Stack data. |
fDepth | back to summary |
---|---|
private int fDepth Stack depth. |
BooleanStack | back to summary |
---|---|
public BooleanStack() |
clear | back to summary |
---|---|
public void clear() Clears the stack. |
ensureCapacity | back to summary |
---|---|
private void ensureCapacity(int size) Ensures capacity. |
pop | back to summary |
---|---|
public boolean pop() Pops a value off of the stack. |
push | back to summary |
---|---|
public void push(boolean value) Pushes a value onto the stack. |
size | back to summary |
---|---|
public int size() Returns the size of the stack. |