Java Doc for OutputPropertiesFactory.java in  » XML » xalan » org » apache » xml » serializer » 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 » XML » xalan » org.apache.xml.serializer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xml.serializer.OutputPropertiesFactory

OutputPropertiesFactory
final public class OutputPropertiesFactory (Code)
This class is a factory to generate a set of default properties of key/value pairs that are used to create a serializer through the factory SerializerFactory SerilizerFactory . The properties generated by this factory may be modified to non-default values before the SerializerFactory is used to create a Serializer.

The given output types supported are "xml", "text", and "html". These type strings can be obtained from the Method Method class in this package.

Other constants defined in this class are the non-standard property keys that can be used to set non-standard property values on a java.util.Properties object that is used to create or configure a serializer. Here are the non-standard keys:

  • S_KEY_INDENT_AMOUNT - The non-standard property key to use to set the indentation amount. The "indent" key needs to have a value of "yes", and this properties value is a the number of whitespaces to indent by per indentation level.
  • S_KEY_CONTENT_HANDLER - This non-standard property key is used to set the name of the fully qualified Java class that implements the ContentHandler interface. The output of the serializer will be SAX events sent to this an object of this class.
  • S_KEY_ENTITIES - This non-standard property key is used to specify the name of the property file that specifies character to entity reference mappings. A line in such a file is has the name of the entity and the numeric (base 10) value of the corresponding character, like this one:
    quot=34
  • S_USE_URL_ESCAPING - This non-standard property key is used to set a value of "yes" if the href values for HTML serialization should use %xx escaping.
  • S_OMIT_META_TAG - This non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would otherwise be supplied.

See Also:   SerializerFactory
See Also:   Method
See Also:   Serializer


Field Summary
final public static  StringS_BUILTIN_EXTENSIONS_UNIVERSAL
     This is not a public API.
final public static  StringS_BUILTIN_OLD_EXTENSIONS_UNIVERSAL
     The old built-in extension namespace, this is not a public API.
final public static  intS_BUILTIN_OLD_EXTENSIONS_UNIVERSAL_LEN
     This is not a public API, it is only public because it is used by outside of this package, it is the length of the old built-in extension namespace.
final public static  StringS_KEY_CONTENT_HANDLER
     This non-standard property key is used to set the name of the fully qualified Java class that implements the ContentHandler interface.
final public static  StringS_KEY_ENTITIES
     This non-standard property key is used to specify the name of the property file that specifies character to entity reference mappings.
final public static  StringS_KEY_INDENT_AMOUNT
     The non-standard property key to use to set the number of whitepaces to indent by, per indentation level, if indent="yes".
final public static  StringS_KEY_LINE_SEPARATOR
     The non-standard property key to use to set the number of whitepaces to indent by, per indentation level, if indent="yes".
final public static  StringS_OMIT_META_TAG
     This non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would otherwise be supplied.
final public static  StringS_USE_URL_ESCAPING
     This non-standard property key is used to set a value of "yes" if the href values for HTML serialization should use %xx escaping.


Method Summary
final public static  PropertiesgetDefaultMethodProperties(String method)
     Creates an empty OutputProperties with the property key/value defaults specified by a property file.

Field Detail
S_BUILTIN_EXTENSIONS_UNIVERSAL
final public static String S_BUILTIN_EXTENSIONS_UNIVERSAL(Code)
This is not a public API. This is the built-in extensions namespace, reexpressed in {namespaceURI} syntax suitable for prepending to a localname to produce a "universal name".



S_BUILTIN_OLD_EXTENSIONS_UNIVERSAL
final public static String S_BUILTIN_OLD_EXTENSIONS_UNIVERSAL(Code)
The old built-in extension namespace, this is not a public API.



S_BUILTIN_OLD_EXTENSIONS_UNIVERSAL_LEN
final public static int S_BUILTIN_OLD_EXTENSIONS_UNIVERSAL_LEN(Code)
This is not a public API, it is only public because it is used by outside of this package, it is the length of the old built-in extension namespace.



S_KEY_CONTENT_HANDLER
final public static String S_KEY_CONTENT_HANDLER(Code)
This non-standard property key is used to set the name of the fully qualified Java class that implements the ContentHandler interface. Fully qualified name of class with a default constructor that implements the ContentHandler interface, where the result tree events will be sent to.



S_KEY_ENTITIES
final public static String S_KEY_ENTITIES(Code)
This non-standard property key is used to specify the name of the property file that specifies character to entity reference mappings.



S_KEY_INDENT_AMOUNT
final public static String S_KEY_INDENT_AMOUNT(Code)
The non-standard property key to use to set the number of whitepaces to indent by, per indentation level, if indent="yes".



S_KEY_LINE_SEPARATOR
final public static String S_KEY_LINE_SEPARATOR(Code)
The non-standard property key to use to set the number of whitepaces to indent by, per indentation level, if indent="yes".



S_OMIT_META_TAG
final public static String S_OMIT_META_TAG(Code)
This non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would otherwise be supplied.



S_USE_URL_ESCAPING
final public static String S_USE_URL_ESCAPING(Code)
This non-standard property key is used to set a value of "yes" if the href values for HTML serialization should use %xx escaping.





Method Detail
getDefaultMethodProperties
final public static Properties getDefaultMethodProperties(String method)(Code)
Creates an empty OutputProperties with the property key/value defaults specified by a property file. The method argument is used to construct a string of the form output_[method].properties (for instance, output_html.properties). The output_xml.properties file is always used as the base.

Anything other than 'text', 'xml', and 'html', will use the output_xml.properties file.


Parameters:
  method - non-null reference to method name. Properties object that holds the defaults for the given method.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.