Java Doc for FastInfosetSerializer.java in » 6.0-JDK-Modules-com.sun » xml » com » sun » xml » internal » org » jvnet » fastinfoset » Java Source Code / Java DocumentationJava Source Code and Java Documentation
A general interface for serializers of fast infoset documents.
This interface contains common methods that are not specific to any
API associated with the serialization of XML Infoset to fast infoset
documents.
author: Paul.Sandoz@Sun.Com
reset() Reset the serializer for reuse serializing another XML infoset.
public void
setAttributeValueSizeLimit(int size) Sets the limit on the size of attribute values
that will be indexed.
Parameters: size - The attribute value size limit.
public void
setCharacterContentChunkSizeLimit(int size) Sets the limit on the size of character content chunks
that will be indexed.
Parameters: size - The character content chunk size limit.
Reset the serializer for reuse serializing another XML infoset.
setAttributeValueSizeLimit
public void setAttributeValueSizeLimit(int size)(Code)
Sets the limit on the size of attribute values
that will be indexed.
Parameters: size - The attribute value size limit. Any value lessthat a length of size limit will be indexed.
setCharacterContentChunkSizeLimit
public void setCharacterContentChunkSizeLimit(int size)(Code)
Sets the limit on the size of character content chunks
that will be indexed.
Parameters: size - The character content chunk size limit. Any chunk lessthat a length of size limit will be indexed.
setCharacterEncodingScheme
public void setCharacterEncodingScheme(String characterEncodingScheme)(Code)
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.
Parameters: characterEncodingScheme - The set of registered algorithms.
Set the OutputStream to serialize the XML infoset to a
fast infoset document.
Parameters: s - the OutputStream where the fast infoset document is written to.
setRegisteredEncodingAlgorithms
public void setRegisteredEncodingAlgorithms(Map algorithms)(Code)
Sets the set of registered encoding algorithms.
Parameters: algorithms - The set of registered algorithms.