This interface contains common methods that are not specific to any API associated with the serialization of XML Infoset to fast infoset documents.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ATTRIBUTE_VALUE_MAP_MEMORY_CONSTRAINT
The default value for limit on the size of indexed Map for attribute values Limit is measured in bytes not in number of entries |
| public static final String | BUFFER_SIZE_PROPERTY
The property name to be used for getting and setting the buffer size of a parser. |
| public static final int | CHARACTER_CONTENT_CHUNK_MAP_MEMORY_CONSTRAINT
The default value for limit on the size of indexed Map for attribute values Limit is measured in bytes not in number of entries |
| public static final String | EXTERNAL_VOCABULARIES_PROPERTY
The property name to be used for getting and setting the Map containing external vocabularies. |
| public static final String | IGNORE_COMMENTS_FEATURE
The feature to ignore comments. |
| public static final String | IGNORE_DTD_FEATURE
The feature to ignore the document type declaration and the internal subset. |
| public static final String | IGNORE_PROCESSING_INSTRUCTIONS_FEATURE
The feature to ignore processing instructions. |
| public static final String | IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE
The feature to ignore text content that consists completely of white space characters. |
| public static final int | MAX_ATTRIBUTE_VALUE_SIZE
The default maximum size of the attribute values, that will be indexed. |
| public static final int | MAX_CHARACTER_CONTENT_CHUNK_SIZE
The default maximum size of the character content chunks, that will be indexed. |
| public static final int | MIN_ATTRIBUTE_VALUE_SIZE
The default minimum size of the attribute values, that will be indexed. |
| public static final int | MIN_CHARACTER_CONTENT_CHUNK_SIZE
The default minimum size of the character content chunks, that will be indexed. |
| public static final String | REGISTERED_ENCODING_ALGORITHMS_PROPERTY
The property name to be used for getting and setting the Map containing encoding algorithms. |
| public static final String | UTF_16BE
The character encoding scheme string for UTF-16BE. |
| public static final String | UTF_8
The character encoding scheme string for UTF-8. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The attribute value size limit.Gets the limit on the memory size of Map of attribute values that will be indexed. |
| public int | Returns: the limit on the memory size, allocated for indexed character content chunks.Gets the limit on the memory size, allocated for indexed character content chunks. |
| public String | Returns: The character encoding scheme.Gets the character encoding scheme. |
| public boolean | Returns: true if the feature is ignored, false otherwise.Get the |
| public boolean | |
| public boolean | Returns: true if the feature is ignored, false otherwise. |
| public boolean | Returns: true if the feature is ignored, false otherwise. |
| public int | Returns: The maximum attribute values size.Gets the maximum size of attribute values that will be indexed. |
| public int | Returns: The maximum character content chunk size.Gets the maximum size of character content chunks that might be indexed. |
| public int | Returns: The minimum attribute values size.Gets the minimum size of attribute values that will be indexed. |
| public int | Returns: The minimum character content chunk size.Gets the minimum size of character content chunks that will be indexed. |
| public Map | Returns: The set of registered algorithms.Gets the set of registered encoding algorithms. |
| public VocabularyApplicationData | Returns: the application data.Get the application data associated with the serializer vocabulary. |
| public void | |
| public void | setAttributeValueMapMemoryLimit(int
The attribute value size limit. Any value less
that a length of size limit will be indexed. size)Sets the limit on the memory size of Map of attribute values that will be indexed. |
| public void | setCharacterContentChunkMapMemoryLimit(int
the limit on the memory size, allocated for indexed character
content chunks. size)Sets the limit on the memory size, allocated for indexed character content chunks. |
| public void | setCharacterEncodingScheme(String
The set of registered algorithms. characterEncodingScheme)Sets the character encoding scheme. |
| public void | setExternalVocabulary(ExternalVocabulary
the vocabulary. v)Set the external vocabulary that shall be used when serializing. |
| public void | setIgnoreComments(boolean
true if the feature shall be ignored. ignoreComments)Set the |
| public void | |
| public void | setIgnoreProcesingInstructions(boolean
true if the feature shall be ignored. ignoreProcesingInstructions) |
| public void | setIgnoreWhiteSpaceTextContent(boolean
true if the feature shall be ignored. ignoreWhiteSpaceTextContent) |
| public void | setMaxAttributeValueSize(int
the maximum attribute values size. size)Sets the maximum size of attribute values that will be indexed. |
| public void | setMaxCharacterContentChunkSize(int
the maximum character content chunk size. size)Sets the maximum size of character content chunks that might be indexed. |
| public void | setMinAttributeValueSize(int
the minimum attribute values size. size)Sets the minimum size of attribute values that will be indexed. |
| public void | setMinCharacterContentChunkSize(int
the minimum character content chunk size. size)Sets the minimum size of character content chunks that will be indexed. |
| public void | setOutputStream(OutputStream
the OutputStream where the fast infoset document is written to. s)Set the OutputStream to serialize the XML infoset to a fast infoset document. |
| public void | setRegisteredEncodingAlgorithms(Map<String, EncodingAlgorithm>
The set of registered algorithms. algorithms)Sets the set of registered encoding algorithms. |
| public void | setVocabularyApplicationData(VocabularyApplicationData
the application data. data)Set the application data to be associated with the serializer vocabulary. |
| ATTRIBUTE_VALUE_MAP_MEMORY_CONSTRAINT | back to summary |
|---|---|
| public static final int ATTRIBUTE_VALUE_MAP_MEMORY_CONSTRAINT The default value for limit on the size of indexed Map for attribute values Limit is measured in bytes not in number of entries | |
| BUFFER_SIZE_PROPERTY | back to summary |
|---|---|
| public static final String BUFFER_SIZE_PROPERTY The property name to be used for getting and setting the buffer size of a parser. | |
| CHARACTER_CONTENT_CHUNK_MAP_MEMORY_CONSTRAINT | back to summary |
|---|---|
| public static final int CHARACTER_CONTENT_CHUNK_MAP_MEMORY_CONSTRAINT The default value for limit on the size of indexed Map for attribute values Limit is measured in bytes not in number of entries | |
| EXTERNAL_VOCABULARIES_PROPERTY | back to summary |
|---|---|
| public static final String EXTERNAL_VOCABULARIES_PROPERTY The property name to be used for getting and setting the Map containing external vocabularies. | |
| IGNORE_COMMENTS_FEATURE | back to summary |
|---|---|
| public static final String IGNORE_COMMENTS_FEATURE The feature to ignore comments. The default value is false. If true a serializer shall ignore comments and shall not serialize them. | |
| IGNORE_DTD_FEATURE | back to summary |
|---|---|
| public static final String IGNORE_DTD_FEATURE The feature to ignore the document type declaration and the internal subset. The default value is false. If true a serializer shall ignore document type declaration and the internal subset. | |
| IGNORE_PROCESSING_INSTRUCTIONS_FEATURE | back to summary |
|---|---|
| public static final String IGNORE_PROCESSING_INSTRUCTIONS_FEATURE The feature to ignore processing instructions. The default value is false. If true a serializer shall ignore processing instructions and shall not serialize them. | |
| IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE | back to summary |
|---|---|
| public static final String IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE The feature to ignore text content that consists completely of white space characters. The default value is false. If true a serializer shall ignore text content that consists completely of white space characters. | |
| MAX_ATTRIBUTE_VALUE_SIZE | back to summary |
|---|---|
| public static final int MAX_ATTRIBUTE_VALUE_SIZE The default maximum size of the attribute values, that will be indexed. | |
| MAX_CHARACTER_CONTENT_CHUNK_SIZE | back to summary |
|---|---|
| public static final int MAX_CHARACTER_CONTENT_CHUNK_SIZE The default maximum size of the character content chunks, that will be indexed. | |
| MIN_ATTRIBUTE_VALUE_SIZE | back to summary |
|---|---|
| public static final int MIN_ATTRIBUTE_VALUE_SIZE The default minimum size of the attribute values, that will be indexed. | |
| MIN_CHARACTER_CONTENT_CHUNK_SIZE | back to summary |
|---|---|
| public static final int MIN_CHARACTER_CONTENT_CHUNK_SIZE The default minimum size of the character content chunks, that will be indexed. | |
| REGISTERED_ENCODING_ALGORITHMS_PROPERTY | back to summary |
|---|---|
| public static final String REGISTERED_ENCODING_ALGORITHMS_PROPERTY The property name to be used for getting and setting the Map containing encoding algorithms. | |
| UTF_16BE | back to summary |
|---|---|
| public static final String UTF_16BE The character encoding scheme string for UTF-16BE. | |
| UTF_8 | back to summary |
|---|---|
| public static final String UTF_8 The character encoding scheme string for UTF-8. | |
| getAttributeValueMapMemoryLimit | back to summary |
|---|---|
| public int getAttributeValueMapMemoryLimit() Gets the limit on the memory size of Map of attribute values that will be indexed.
| |
| getCharacterContentChunkMapMemoryLimit | back to summary |
|---|---|
| public int getCharacterContentChunkMapMemoryLimit() Gets the limit on the memory size, allocated for indexed character content chunks.
| |
| getCharacterEncodingScheme | back to summary |
|---|---|
| public String getCharacterEncodingScheme() Gets the character encoding scheme.
| |
| getIgnoreComments | back to summary |
|---|---|
| public boolean getIgnoreComments() Get the
| |
| getIgnoreDTD | back to summary |
|---|---|
| public boolean getIgnoreDTD() Get the
| |
| getIgnoreProcesingInstructions | back to summary |
|---|---|
| public boolean getIgnoreProcesingInstructions() Get the
| |
| getIgnoreWhiteSpaceTextContent | back to summary |
|---|---|
| public boolean getIgnoreWhiteSpaceTextContent() Get the
| |
| getMaxAttributeValueSize | back to summary |
|---|---|
| public int getMaxAttributeValueSize() Gets the maximum size of attribute values that will be indexed.
| |
| getMaxCharacterContentChunkSize | back to summary |
|---|---|
| public int getMaxCharacterContentChunkSize() Gets the maximum size of character content chunks that might be indexed.
| |
| getMinAttributeValueSize | back to summary |
|---|---|
| public int getMinAttributeValueSize() Gets the minimum size of attribute values that will be indexed.
| |
| getMinCharacterContentChunkSize | back to summary |
|---|---|
| public int getMinCharacterContentChunkSize() Gets the minimum size of character content chunks that will be indexed.
| |
| getRegisteredEncodingAlgorithms | back to summary |
|---|---|
| public Map Gets the set of registered encoding algorithms.
| |
| getVocabularyApplicationData | back to summary |
|---|---|
| public VocabularyApplicationData getVocabularyApplicationData() Get the application data associated with the serializer vocabulary.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the serializer for reuse serializing another XML infoset. | |
| setAttributeValueMapMemoryLimit | back to summary |
|---|---|
| public void setAttributeValueMapMemoryLimit(int size) Sets the limit on the memory size of Map of attribute values that will be indexed.
| |
| setCharacterContentChunkMapMemoryLimit | back to summary |
|---|---|
| public void setCharacterContentChunkMapMemoryLimit(int size) Sets the limit on the memory size, allocated for indexed character content chunks.
| |
| setCharacterEncodingScheme | back to summary |
|---|---|
| public void setCharacterEncodingScheme(String characterEncodingScheme) Sets the character encoding scheme. The character encoding can be either UTF-8 or UTF-16BE for the the encoding of chunks of CIIs, the [normalized value] property of attribute information items, comment information items and processing instruction information items.
| |
| setExternalVocabulary | back to summary |
|---|---|
| public void setExternalVocabulary(ExternalVocabulary v) Set the external vocabulary that shall be used when serializing.
| |
| setIgnoreComments | back to summary |
|---|---|
| public void setIgnoreComments(boolean ignoreComments) Set the
| |
| setIgnoreDTD | back to summary |
|---|---|
| public void setIgnoreDTD(boolean ignoreDTD) Set the
| |
| setIgnoreProcesingInstructions | back to summary |
|---|---|
| public void setIgnoreProcesingInstructions(boolean ignoreProcesingInstructions) Set the
| |
| setIgnoreWhiteSpaceTextContent | back to summary |
|---|---|
| public void setIgnoreWhiteSpaceTextContent(boolean ignoreWhiteSpaceTextContent) Set the
| |
| setMaxAttributeValueSize | back to summary |
|---|---|
| public void setMaxAttributeValueSize(int size) Sets the maximum size of attribute values that will be indexed.
| |
| setMaxCharacterContentChunkSize | back to summary |
|---|---|
| public void setMaxCharacterContentChunkSize(int size) Sets the maximum size of character content chunks that might be indexed.
| |
| setMinAttributeValueSize | back to summary |
|---|---|
| public void setMinAttributeValueSize(int size) Sets the minimum size of attribute values that will be indexed.
| |
| setMinCharacterContentChunkSize | back to summary |
|---|---|
| public void setMinCharacterContentChunkSize(int size) Sets the minimum size of character content chunks that will be indexed.
| |
| setOutputStream | back to summary |
|---|---|
| public void setOutputStream(OutputStream s) Set the OutputStream to serialize the XML infoset to a fast infoset document.
| |
| setRegisteredEncodingAlgorithms | back to summary |
|---|---|
| public void setRegisteredEncodingAlgorithms(Map<String, EncodingAlgorithm> algorithms) Sets the set of registered encoding algorithms.
| |
| setVocabularyApplicationData | back to summary |
|---|---|
| public void setVocabularyApplicationData(VocabularyApplicationData data) Set the application data to be associated with the serializer vocabulary.
| |