|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xsl.result.SerializerOptions
A class to hold XSLT serializer options that correspond to the xsl:output element attributes
Constructor Summary | |
SerializerOptions()
|
Method Summary | |
Collection |
getCdataSectionElements()
Get the list of element tag names whose text content should be output as CDATA sections. |
boolean |
getDeclaration()
Get whether an xml-declaration should be output or not |
String |
getDoctypePublic()
Get the DOCTYPE PUBLIC string |
String |
getDoctypeSystem()
Get the DOCTYPE SYSTEM string |
String |
getEncoding()
Get the character encoding string |
boolean |
getIndent()
Get the indent=yes|no value |
String |
getMediaType()
Get the media type string |
ExpandedQName |
getMethod()
Get the method string |
boolean |
getStandalone()
Get whether an xml standalone=yes declaration should be output or not |
String |
getVersion()
Get the version string |
void |
merge(SerializerOptions rhs)
Merge the options in this object with options in another SerializerOptions object. |
void |
setCdataSectionElements(Collection cdataSectionElements)
Set the list of element tag names whose text content should be output as CDATA sections. |
void |
setDeclaration(boolean declaration)
Set whether an xml-declaration should be output or not |
void |
setDoctypePublic(String doctypePublic)
Set the DOCTYPE PUBLIC string |
void |
setDoctypeSystem(String doctypeSystem)
Set the DOCTYPE SYSTEM string |
void |
setEncoding(String encoding)
Set the character encoding string |
void |
setIndent(boolean indent)
Set whether output indenting is allowed or not |
void |
setMediaType(String mediaType)
Set the media type string |
void |
setMethod(ExpandedQName method)
Set the method string |
void |
setStandalone(boolean standalone)
Set whether an xml standalone=yes declaration should be output or not |
void |
setVersion(String version)
Set the version string. |
boolean |
wasDeclarationSet()
Return if declaration value was explicitly set |
boolean |
wasIndentSet()
Return if indent value was explicitly set |
boolean |
wasStandaloneSet()
Return if standalone value was explicitly set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SerializerOptions()
Method Detail |
public ExpandedQName getMethod()
public void setMethod(ExpandedQName method)
method
- The method stringpublic String getVersion()
public void setVersion(String version)
version
- The version string.public boolean getIndent()
public void setIndent(boolean indent)
indent
- True if indenting is allowed.public boolean wasIndentSet()
public String getEncoding()
public void setEncoding(String encoding)
encoding
- The character encoding stringpublic String getMediaType()
public void setMediaType(String mediaType)
mediaType
- The media type stringpublic String getDoctypeSystem()
public void setDoctypeSystem(String doctypeSystem)
doctypeSystem
- The DOCTYPE SYSTEM stringpublic String getDoctypePublic()
public void setDoctypePublic(String doctypePublic)
doctypePublic
- The DOCTYPE PUBLIC stringpublic boolean getDeclaration()
public void setDeclaration(boolean declaration)
declaration
- True if an xml-declaration should be outputpublic boolean wasDeclarationSet()
public boolean getStandalone()
public void setStandalone(boolean standalone)
standalone
- true
if an xml standalone=yes declaration should be outputpublic boolean wasStandaloneSet()
public Collection getCdataSectionElements()
public void setCdataSectionElements(Collection cdataSectionElements)
cdataSectionElements
- A Collection of ExpandedQName objects, each
of which represents an element tag name.public void merge(SerializerOptions rhs)
rhs
- The other object with which to merge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |