The standard property keys supported are: "method", "version", "encoding",
"omit-xml-declaration", "standalone", doctype-public",
"doctype-system", "cdata-section-elements", "indent", "media-type".
These property keys and their values are described in the XSLT recommendation,
see href="http://www.
The value of the "cdata-section-elements" property key is a whitespace separated list of elements. If the element is in a namespace then value is passed in this format: {uri}localName
The non-standard property keys supported are defined in OutputPropertiesFactory.
OutputPropertiesFactory, Method, Serializer
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Serializer | Returns: A suitable serializer.The output format, minimally the "method" property must be set. format)Returns a serializer for the specified output method. |
| SerializerFactory | back to summary |
|---|---|
| private SerializerFactory() This constructor is private just to prevent the creation of such an object. | |
| getSerializer | back to summary |
|---|---|
| public static Serializer getSerializer(Properties format) Returns a serializer for the specified output method. The output method
is specified by the value of the property associated with the "method" key.
If no implementation exists that supports the specified output method
an exception of some type will be thrown.
For a list of the output "method" key values see
| |