| Modifier and Type | Field and Description |
|---|---|
| protected ParserVocabulary | |
| protected SerializerVocabulary | |
| protected Vocabulary | |
| protected int | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary)
Creates a new instance of VocabularyGenerator |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addToNameTable(String namespaceURI, String qName, String localName, Set<QName> v, LocalNameQualifiedNamesMap m, QualifiedNameArray a, boolean isAttribute)
|
| public void | |
| public void | |
| public void | characters(char[] ch, int start, int length)
Overrides org. Implements org. Receive notification of character data inside an element. |
| public void | comment(char[] ch, int start, int length)
Implements org. Report an XML comment anywhere in the document. |
| public void | |
| public void | |
| public void | endEntity(String name)
Implements org. Report the end of an entity. |
| public int | |
| public int | |
| public static String | |
| public Vocabulary | |
| public void | |
| public void | |
| public void | startCDATA()
Implements org. Report the start of a CDATA section. |
| public void | startDTD(String name, String publicId, String systemId)
Implements org. Report the start of DTD declarations, if any. |
| public void | startElement(String namespaceURI, String localName, String qName, Attributes atts)
Overrides org. Implements org. Receive notification of the start of an element. |
| public void | startEntity(String name)
Implements org. Report the beginning of some internal and external XML entities. |
| public void | startPrefixMapping(String prefix, String uri)
Overrides org. Implements org. Receive notification of the start of a Namespace mapping. |
| _parserVocabulary | back to summary |
|---|---|
| protected ParserVocabulary _parserVocabulary | |
| _serializerVocabulary | back to summary |
|---|---|
| protected SerializerVocabulary _serializerVocabulary | |
| _v | back to summary |
|---|---|
| protected Vocabulary _v | |
| attributeValueSizeConstraint | back to summary |
|---|---|
| protected int attributeValueSizeConstraint | |
| characterContentChunkSizeContraint | back to summary |
|---|---|
| protected int characterContentChunkSizeContraint | |
| VocabularyGenerator | back to summary |
|---|---|
| public VocabularyGenerator() Creates a new instance of VocabularyGenerator | |
| VocabularyGenerator | back to summary |
|---|---|
| public VocabularyGenerator(SerializerVocabulary serializerVocabulary) | |
| VocabularyGenerator | back to summary |
|---|---|
| public VocabularyGenerator(ParserVocabulary parserVocabulary) | |
| VocabularyGenerator | back to summary |
|---|---|
| public VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary) Creates a new instance of VocabularyGenerator | |
| addToCharArrayTable | back to summary |
|---|---|
| public void addToCharArrayTable(CharArray c) | |
| addToNameTable | back to summary |
|---|---|
| public void addToNameTable(String namespaceURI, String qName, String localName, Set<QName> v, LocalNameQualifiedNamesMap m, QualifiedNameArray a, boolean isAttribute) throws SAXException | |
| addToTable | back to summary |
|---|---|
| public void addToTable(String s, Set<String> v, StringIntMap m, StringArray a) | |
| addToTable | back to summary |
|---|---|
| public void addToTable(String s, Set<String> v, StringIntMap m, PrefixArray a) | |
| characters | back to summary |
|---|---|
| public void characters(char[] ch, int start, int length) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of character data inside an element. By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
| |
| comment | back to summary |
|---|---|
| public void comment(char[] ch, int start, int length) throws SAXException Implements org. Doc from org. Report an XML comment anywhere in the document. This callback will be used for comments inside or outside the document element, including comments in the external DTD subset (if read). Comments in the DTD must be properly nested inside start/endDTD and start/endEntity events (if used).
| |
| endCDATA | back to summary |
|---|---|
| public void endCDATA() throws SAXException Implements org. Doc from org. Report the end of a CDATA section.
| |
| endDTD | back to summary |
|---|---|
| public void endDTD() throws SAXException Implements org. Doc from org. Report the end of DTD declarations. This method is intended to report the end of the DOCTYPE declaration; if the document has no DOCTYPE declaration, this method will not be invoked.
| |
| endEntity | back to summary |
|---|---|
| public void endEntity(String name) throws SAXException Implements org. Doc from org. Report the end of an entity.
| |
| getAttributeValueSizeLimit | back to summary |
|---|---|
| public int getAttributeValueSizeLimit() | |
| getCharacterContentChunkSizeLimit | back to summary |
|---|---|
| public int getCharacterContentChunkSizeLimit() | |
| getPrefixFromQualifiedName | back to summary |
|---|---|
| public static String getPrefixFromQualifiedName(String qName) | |
| getVocabulary | back to summary |
|---|---|
| public Vocabulary getVocabulary() | |
| setAttributeValueSizeLimit | back to summary |
|---|---|
| public void setAttributeValueSizeLimit(int size) | |
| setCharacterContentChunkSizeLimit | back to summary |
|---|---|
| public void setCharacterContentChunkSizeLimit(int size) | |
| startCDATA | back to summary |
|---|---|
| public void startCDATA() throws SAXException Implements org. Doc from org. Report the start of a CDATA section. The contents of the CDATA section will be reported through
the regular
| |
| startDTD | back to summary |
|---|---|
| public void startDTD(String name, String publicId, String systemId) throws SAXException Implements org. Doc from org. Report the start of DTD declarations, if any. This method is intended to report the beginning of the DOCTYPE declaration; if the document has no DOCTYPE declaration, this method will not be invoked. All declarations reported through
Note that the start/endDTD events will appear within
the start/endDocument events from ContentHandler and
before the first
| |
| startElement | back to summary |
|---|---|
| public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |
| startEntity | back to summary |
|---|---|
| public void startEntity(String name) throws SAXException Implements org. Doc from org. Report the beginning of some internal and external XML entities. The reporting of parameter entities (including
the external DTD subset) is optional, and SAX2 drivers that
report LexicalHandler events may not implement it; you can use the
General entities are reported with their regular names, parameter entities have '%' prepended to their names, and the external DTD subset has the pseudo-entity name "[dtd]". When a SAX2 driver is providing these events, all other
events must be properly nested within start/end entity
events. There is no additional requirement that events from
Note that skipped entities will be reported through the
Because of the streaming event model that SAX uses, some entity boundaries cannot be reported under any circumstances:
These will be silently expanded, with no indication of where the original entity boundaries were. Note also that the boundaries of character references (which are not really entities anyway) are not reported. All start/endEntity events must be properly nested.
| |
| startPrefixMapping | back to summary |
|---|---|
| public void startPrefixMapping(String prefix, String uri) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the start of a Namespace mapping. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each Namespace prefix scope (such as storing the prefix mapping).
| |