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

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xml » com.sun.xml.internal.org.jvnet.fastinfoset 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.internal.org.jvnet.fastinfoset.FastInfosetSerializer

All known Subclasses:   com.sun.xml.internal.fastinfoset.Encoder,
FastInfosetSerializer
public interface FastInfosetSerializer (Code)
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



Field Summary
final public static  intATTRIBUTE_VALUE_SIZE_CONSTRAINT
     The default value for the limit on the size of attribute values that will be indexed.
final public static  StringBUFFER_SIZE_PROPERTY
     The property name to be used for getting and setting the buffer size of a parser.
final public static  intCHARACTER_CONTENT_CHUNK_SIZE_CONSTRAINT
     The default value for the limit on the size of character content chunks that will be indexed.
final public static  StringEXTERNAL_VOCABULARIES_PROPERTY
     The property name to be used for getting and setting the Map containing external vocabularies.
final public static  StringIGNORE_COMMENTS_FEATURE
     The feature to ignore comments.

The default value is false.

final public static  StringIGNORE_PROCESSING_INSTRUCTIONS_FEATURE
     The feature to ignore processing instructions.

The default value is false.

final public static  StringIGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE
     The feature to ignore text content that consists completely of white space characters.

The default value is false.

final public static  StringREGISTERED_ENCODING_ALGORITHMS_PROPERTY
     The property name to be used for getting and setting the Map containing encoding algorithms.
final public static  StringUTF_16BE
     The character encoding scheme string for UTF-16BE.
final public static  StringUTF_8
     The character encoding scheme string for UTF-8.


Method Summary
public  intgetAttributeValueSizeLimit()
     Gets the limit on the size of attribute values that will be indexed.
public  intgetCharacterContentChunkSizeLimit()
     Gets the limit on the size of character content chunks that will be indexed.
public  StringgetCharacterEncodingScheme()
     Gets the character encoding scheme.
public  booleangetIgnoreComments()
     Get the FastInfosetSerializer.IGNORE_COMMENTS_FEATURE .
public  booleangetIgnoreProcesingInstructions()
     Get the FastInfosetSerializer.IGNORE_PROCESSING_INSTRUCTIONS_FEATURE .
public  booleangetIgnoreWhiteSpaceTextContent()
     Get the FastInfosetSerializer.IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE .
public  MapgetRegisteredEncodingAlgorithms()
     Gets the set of registered encoding algorithms.
public  voidreset()
     Reset the serializer for reuse serializing another XML infoset.
public  voidsetAttributeValueSizeLimit(int size)
     Sets the limit on the size of attribute values that will be indexed.
Parameters:
  size - The attribute value size limit.
public  voidsetCharacterContentChunkSizeLimit(int size)
     Sets the limit on the size of character content chunks that will be indexed.
Parameters:
  size - The character content chunk size limit.
public  voidsetCharacterEncodingScheme(String characterEncodingScheme)
     Sets the character encoding scheme.
public  voidsetExternalVocabulary(ExternalVocabulary v)
     Set the external vocabulary that shall be used when serializing.
Parameters:
  v - the vocabulary.
public  voidsetIgnoreComments(boolean ignoreComments)
     Set the FastInfosetSerializer.IGNORE_COMMENTS_FEATURE .
public  voidsetIgnoreProcesingInstructions(boolean ignoreProcesingInstructions)
     Set the FastInfosetSerializer.IGNORE_PROCESSING_INSTRUCTIONS_FEATURE .
public  voidsetIgnoreWhiteSpaceTextContent(boolean ignoreWhiteSpaceTextContent)
     Set the FastInfosetSerializer.IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE .
public  voidsetOutputStream(OutputStream s)
     Set the OutputStream to serialize the XML infoset to a fast infoset document.
public  voidsetRegisteredEncodingAlgorithms(Map algorithms)
     Sets the set of registered encoding algorithms.

Field Detail
ATTRIBUTE_VALUE_SIZE_CONSTRAINT
final public static int ATTRIBUTE_VALUE_SIZE_CONSTRAINT(Code)
The default value for the limit on the size of attribute values that will be indexed.



BUFFER_SIZE_PROPERTY
final public static String BUFFER_SIZE_PROPERTY(Code)
The property name to be used for getting and setting the buffer size of a parser.



CHARACTER_CONTENT_CHUNK_SIZE_CONSTRAINT
final public static int CHARACTER_CONTENT_CHUNK_SIZE_CONSTRAINT(Code)
The default value for the limit on the size of character content chunks that will be indexed.



EXTERNAL_VOCABULARIES_PROPERTY
final public static String EXTERNAL_VOCABULARIES_PROPERTY(Code)
The property name to be used for getting and setting the Map containing external vocabularies.



IGNORE_COMMENTS_FEATURE
final public static String IGNORE_COMMENTS_FEATURE(Code)
The feature to ignore comments.

The default value is false. If true a serializer shall ignore comments and shall not serialize them.




IGNORE_PROCESSING_INSTRUCTIONS_FEATURE
final public static String IGNORE_PROCESSING_INSTRUCTIONS_FEATURE(Code)
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
final public static String IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE(Code)
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.




REGISTERED_ENCODING_ALGORITHMS_PROPERTY
final public static String REGISTERED_ENCODING_ALGORITHMS_PROPERTY(Code)
The property name to be used for getting and setting the Map containing encoding algorithms.



UTF_16BE
final public static String UTF_16BE(Code)
The character encoding scheme string for UTF-16BE.



UTF_8
final public static String UTF_8(Code)
The character encoding scheme string for UTF-8.





Method Detail
getAttributeValueSizeLimit
public int getAttributeValueSizeLimit()(Code)
Gets the limit on the size of attribute values that will be indexed. The attribute value size limit.



getCharacterContentChunkSizeLimit
public int getCharacterContentChunkSizeLimit()(Code)
Gets the limit on the size of character content chunks that will be indexed. The character content chunk size limit.



getCharacterEncodingScheme
public String getCharacterEncodingScheme()(Code)
Gets the character encoding scheme. The character encoding scheme.



getIgnoreComments
public boolean getIgnoreComments()(Code)
Get the FastInfosetSerializer.IGNORE_COMMENTS_FEATURE . true if the feature is ignored, false otherwise.



getIgnoreProcesingInstructions
public boolean getIgnoreProcesingInstructions()(Code)
Get the FastInfosetSerializer.IGNORE_PROCESSING_INSTRUCTIONS_FEATURE . true if the feature is ignored, false otherwise.



getIgnoreWhiteSpaceTextContent
public boolean getIgnoreWhiteSpaceTextContent()(Code)
Get the FastInfosetSerializer.IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE . true if the feature is ignored, false otherwise.



getRegisteredEncodingAlgorithms
public Map getRegisteredEncodingAlgorithms()(Code)
Gets the set of registered encoding algorithms. The set of registered algorithms.



reset
public void reset()(Code)
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.



setExternalVocabulary
public void setExternalVocabulary(ExternalVocabulary v)(Code)
Set the external vocabulary that shall be used when serializing.
Parameters:
  v - the vocabulary.



setIgnoreComments
public void setIgnoreComments(boolean ignoreComments)(Code)
Set the FastInfosetSerializer.IGNORE_COMMENTS_FEATURE .
Parameters:
  ignoreComments - true if the feature shall be ignored.



setIgnoreProcesingInstructions
public void setIgnoreProcesingInstructions(boolean ignoreProcesingInstructions)(Code)
Set the FastInfosetSerializer.IGNORE_PROCESSING_INSTRUCTIONS_FEATURE .
Parameters:
  ignoreProcesingInstructions - true if the feature shall be ignored.



setIgnoreWhiteSpaceTextContent
public void setIgnoreWhiteSpaceTextContent(boolean ignoreWhiteSpaceTextContent)(Code)
Set the FastInfosetSerializer.IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE .
Parameters:
  ignoreWhiteSpaceTextContent - true if the feature shall be ignored.



setOutputStream
public void setOutputStream(OutputStream s)(Code)
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.



w__w_w.__j___av_a2s_._com_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.