public class SerialParameters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SerialParameters.Standalone |
class |
SerialParameters.UseChar |
| Constructor and Description |
|---|
SerialParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCdataSectionElements(java.lang.Iterable<javax.xml.namespace.QName> v)
Set the output property
cdata-section-elements. |
void |
addCdataSectionElements(java.lang.String v,
Element scope)
Set the output property
cdata-section-elements. |
void |
addSuppressIndentation(java.lang.Iterable<javax.xml.namespace.QName> v)
Set the output property
suppress-indentation. |
void |
addSuppressIndentation(java.lang.String v,
Element scope)
Set the output property
suppress-indentation. |
void |
addUseCharacterMaps(java.lang.Iterable<SerialParameters.UseChar> v)
Set the output property
use-character-maps. |
void |
addUseCharacterMaps(java.lang.String v,
Element scope)
Set the output property
use-character-maps. |
java.lang.Boolean |
getByteOrderMark()
Get the output property
byte-order-mark. |
java.lang.Iterable<javax.xml.namespace.QName> |
getCdataSectionElements()
Get the output property
cdata-section-elements. |
java.lang.String |
getDoctypePublic()
Get the output property
doctype-public. |
java.lang.String |
getDoctypeSystem()
Get the output property
doctype-system. |
java.lang.String |
getEncoding()
Get the output property
encoding. |
java.lang.Boolean |
getEscapeUriAttributes()
Get the output property
escape-uri-attributes. |
java.lang.String |
getExtension(javax.xml.namespace.QName n)
Get an extension output property.
|
java.lang.Double |
getHtmlVersion()
Get the output property
html-version. |
java.lang.Boolean |
getIncludeContentType()
Get the output property
include-content-type. |
java.lang.Boolean |
getIndent()
Get the output property
indent. |
java.lang.String |
getItemSeparator()
Get the output property
item-separator. |
java.lang.String |
getMediaType()
Get the output property
media-type. |
javax.xml.namespace.QName |
getMethod()
Get the output property
method. |
java.lang.String |
getNormalizationForm()
Get the output property
normalization-form. |
java.lang.Boolean |
getOmitXmlDeclaration()
Get the output property
omit-xml-declaration. |
SerialParameters.Standalone |
getStandalone()
Get the output property
standalone. |
java.lang.Iterable<javax.xml.namespace.QName> |
getSuppressIndentation()
Get the output property
suppress-indentation. |
java.lang.Boolean |
getUndeclarePrefixes()
Get the output property
undeclare-prefixes. |
java.lang.Iterable<SerialParameters.UseChar> |
getUseCharacterMaps()
Get the output property
use-character-maps. |
java.lang.String |
getVersion()
Get the output property
version. |
static SerialParameters |
parse(Element elem) |
void |
setByteOrderMark(java.lang.Boolean v)
Set the output property
byte-order-mark. |
void |
setByteOrderMark(java.lang.String v)
Set the output property
byte-order-mark. |
void |
setDoctypePublic(java.lang.String v)
Set the output property
doctype-public. |
void |
setDoctypeSystem(java.lang.String v)
Set the output property
doctype-system. |
void |
setEncoding(java.lang.String v)
Set the output property
encoding. |
void |
setEscapeUriAttributes(java.lang.Boolean v)
Set the output property
escape-uri-attributes. |
void |
setEscapeUriAttributes(java.lang.String v)
Set the output property
escape-uri-attributes. |
void |
setExtension(javax.xml.namespace.QName n,
java.lang.String v)
Set an extension output property.
|
void |
setExtensionHandler(ExtensionHandler handler)
Set an extension handler.
|
void |
setHtmlVersion(java.lang.Double v)
Set the output property
html-version. |
void |
setHtmlVersion(java.lang.String v)
Set the output property
html-version. |
void |
setIncludeContentType(java.lang.Boolean v)
Set the output property
include-content-type. |
void |
setIncludeContentType(java.lang.String v)
Set the output property
include-content-type. |
void |
setIndent(java.lang.Boolean v)
Set the output property
indent. |
void |
setIndent(java.lang.String v)
Set the output property
indent. |
void |
setItemSeparator(java.lang.String v)
Set the output property
item-separator. |
void |
setMediaType(java.lang.String v)
Set the output property
media-type. |
void |
setMethod(javax.xml.namespace.QName v)
Set the output property
method. |
void |
setNormalizationForm(java.lang.String v)
Set the output property
normalization-form. |
void |
setOmitXmlDeclaration(java.lang.Boolean v)
Set the output property
omit-xml-declaration. |
void |
setOmitXmlDeclaration(java.lang.String v)
Set the output property
omit-xml-declaration. |
void |
setStandalone(SerialParameters.Standalone v)
Set the output property
standalone. |
void |
setStandalone(java.lang.String v)
Set the output property
standalone. |
void |
setUndeclarePrefixes(java.lang.Boolean v)
Set the output property
undeclare-prefixes. |
void |
setUndeclarePrefixes(java.lang.String v)
Set the output property
undeclare-prefixes. |
void |
setVersion(java.lang.String v)
Set the output property
version. |
public static SerialParameters parse(Element elem) throws ToolsException
ToolsExceptionpublic void setExtensionHandler(ExtensionHandler handler) throws ToolsException
ToolsExceptionpublic java.lang.String getExtension(javax.xml.namespace.QName n)
throws ToolsException
ToolsExceptionpublic void setExtension(javax.xml.namespace.QName n,
java.lang.String v)
throws ToolsException
ToolsExceptionpublic java.lang.Boolean getByteOrderMark()
byte-order-mark.public void setByteOrderMark(java.lang.Boolean v)
byte-order-mark.public void setByteOrderMark(java.lang.String v)
throws ToolsException
byte-order-mark.ToolsExceptionpublic java.lang.Iterable<javax.xml.namespace.QName> getCdataSectionElements()
cdata-section-elements.public void addCdataSectionElements(java.lang.Iterable<javax.xml.namespace.QName> v)
cdata-section-elements.public void addCdataSectionElements(java.lang.String v,
Element scope)
throws ToolsException
cdata-section-elements.ToolsExceptionpublic java.lang.String getDoctypePublic()
doctype-public.public void setDoctypePublic(java.lang.String v)
doctype-public.public java.lang.String getDoctypeSystem()
doctype-system.public void setDoctypeSystem(java.lang.String v)
doctype-system.public java.lang.String getEncoding()
encoding.public void setEncoding(java.lang.String v)
encoding.public java.lang.Boolean getEscapeUriAttributes()
escape-uri-attributes.public void setEscapeUriAttributes(java.lang.Boolean v)
escape-uri-attributes.public void setEscapeUriAttributes(java.lang.String v)
throws ToolsException
escape-uri-attributes.ToolsExceptionpublic java.lang.Double getHtmlVersion()
html-version.public void setHtmlVersion(java.lang.Double v)
html-version.public void setHtmlVersion(java.lang.String v)
throws ToolsException
html-version.ToolsExceptionpublic java.lang.Boolean getIncludeContentType()
include-content-type.public void setIncludeContentType(java.lang.Boolean v)
include-content-type.public void setIncludeContentType(java.lang.String v)
throws ToolsException
include-content-type.ToolsExceptionpublic java.lang.Boolean getIndent()
indent.public void setIndent(java.lang.Boolean v)
indent.public void setIndent(java.lang.String v)
throws ToolsException
indent.ToolsExceptionpublic java.lang.String getItemSeparator()
item-separator.public void setItemSeparator(java.lang.String v)
item-separator.public java.lang.String getMediaType()
media-type.public void setMediaType(java.lang.String v)
media-type.public javax.xml.namespace.QName getMethod()
method.public void setMethod(javax.xml.namespace.QName v)
method.public java.lang.String getNormalizationForm()
normalization-form.public void setNormalizationForm(java.lang.String v)
normalization-form.public java.lang.Boolean getOmitXmlDeclaration()
omit-xml-declaration.public void setOmitXmlDeclaration(java.lang.Boolean v)
omit-xml-declaration.public void setOmitXmlDeclaration(java.lang.String v)
throws ToolsException
omit-xml-declaration.ToolsExceptionpublic SerialParameters.Standalone getStandalone()
standalone.public void setStandalone(SerialParameters.Standalone v)
standalone.public void setStandalone(java.lang.String v)
throws ToolsException
standalone.ToolsExceptionpublic java.lang.Iterable<javax.xml.namespace.QName> getSuppressIndentation()
suppress-indentation.public void addSuppressIndentation(java.lang.Iterable<javax.xml.namespace.QName> v)
suppress-indentation.public void addSuppressIndentation(java.lang.String v,
Element scope)
throws ToolsException
suppress-indentation.ToolsExceptionpublic java.lang.Boolean getUndeclarePrefixes()
undeclare-prefixes.public void setUndeclarePrefixes(java.lang.Boolean v)
undeclare-prefixes.public void setUndeclarePrefixes(java.lang.String v)
throws ToolsException
undeclare-prefixes.ToolsExceptionpublic java.lang.Iterable<SerialParameters.UseChar> getUseCharacterMaps()
use-character-maps.public void addUseCharacterMaps(java.lang.Iterable<SerialParameters.UseChar> v)
use-character-maps.public void addUseCharacterMaps(java.lang.String v,
Element scope)
throws ToolsException
use-character-maps.ToolsExceptionpublic java.lang.String getVersion()
version.public void setVersion(java.lang.String v)
version.Copyright © 2015-2019 EXPath. All Rights Reserved