|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.serialize.OutputFormat | +--org.apache.xalan.templates.OutputFormatExtended
This class extends OutputFormat to act as a bean that has methods that match the algorithmically generated method signatures of the processor. It also has flags that tell if a given method has been set or not by the stylesheet.
Constructor Summary | |
OutputFormatExtended()
Constructs a new output format with the default values. |
Method Summary | |
boolean |
cdataElementsHasBeenSet()
|
boolean |
doctypePublicHasBeenSet()
|
boolean |
doctypeSystemHasBeenSet()
|
boolean |
encodingHasBeenSet()
|
boolean |
indentHasBeenSet()
|
boolean |
mediaTypeHasBeenSet()
|
boolean |
methodHasBeenSet()
|
boolean |
nonEscapingElementsHasBeenSet()
|
boolean |
omitXmlDeclarationHasBeenSet()
|
void |
setCdataSectionElements(QName[] elements)
The cdata-section-elements attribute. |
void |
setCdataSectionElements(java.util.Vector elements)
The cdata-section-elements attribute. |
void |
setDoctypePublic(java.lang.String publicId)
The doctype-public attribute. |
void |
setDoctypeSystem(java.lang.String systemId)
The doctype-system attribute. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding for this output method. |
void |
setIndent(boolean indent)
Sets the indentation on and off. |
void |
setMediaType(java.lang.String mediaType)
Sets the media type. |
void |
setMethod(QName method)
Sets the method for this output format. |
void |
setMethod(java.lang.String method)
Sets the method for this output format. |
void |
setNonEscapingElements(QName[] nonEscapingElements)
Sets the list of elements for which text node children should be output unescaped (no character references). |
void |
setOmitXmlDeclaration(boolean omit)
The omit-xml-declaration attribute. |
void |
setOmitXMLDeclaration(boolean omit)
Sets XML declaration omitting on and off. |
void |
setStandalone(boolean standalone)
Sets document DTD standalone. |
void |
setVersion(java.lang.String version)
Sets the version for this output method. |
boolean |
standaloneHasBeenSet()
|
boolean |
versionHasBeenSet()
|
Methods inherited from class org.apache.serialize.OutputFormat |
getCDataElements,
getDoctypePublicId,
getDoctypeSystemId,
getEncoding,
getIndent,
getIndentAmount,
getMediaType,
getMethod,
getNonEscapingElements,
getOmitXMLDeclaration,
getPreserveSpace,
getStandalone,
getVersion,
setCDataElements,
setDoctypePublicId,
setDoctypeSystemId,
setIndentAmount,
setPreserveSpace |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public OutputFormatExtended()
Method Detail |
public boolean methodHasBeenSet()
public boolean versionHasBeenSet()
public boolean indentHasBeenSet()
public boolean encodingHasBeenSet()
public boolean mediaTypeHasBeenSet()
public boolean doctypeSystemHasBeenSet()
public boolean doctypePublicHasBeenSet()
public boolean omitXmlDeclarationHasBeenSet()
public boolean standaloneHasBeenSet()
public boolean cdataElementsHasBeenSet()
public boolean nonEscapingElementsHasBeenSet()
public void setDoctypePublic(java.lang.String publicId)
public void setDoctypeSystem(java.lang.String systemId)
public void setOmitXmlDeclaration(boolean omit)
public void setCdataSectionElements(java.util.Vector elements)
public void setCdataSectionElements(QName[] elements)
public void setMethod(java.lang.String method)
method
- The output method, or nullOutputFormat.getMethod()
public void setMethod(QName method)
method
- The output method, or nullOutputFormat.getMethod()
public void setVersion(java.lang.String version)
version
- The output method version, or nullOutputFormat.getVersion()
public void setIndent(boolean indent)
#DEFAULT_INDENT
and #DEFAULT_LINE_WIDTH
).
To specify a different indentation level or line wrapping,
use setIndent(boolean)
and #setLineWidth
.
This method signature is required by the getSetterMethodName method. See also the XSLTSchema class.
on
- True if indentation should be onpublic void setEncoding(java.lang.String encoding)
Writer
.encoding
- The encoding, or nullOutputFormat.getEncoding()
public void setMediaType(java.lang.String mediaType)
mediaType
- The specified media typeOutputFormat.getMediaType()
public void setOmitXMLDeclaration(boolean omit)
omit
- True if XML declaration should be ommitedpublic void setStandalone(boolean standalone)
standalone
- True if document DTD is standalonepublic void setNonEscapingElements(QName[] nonEscapingElements)
nonEscapingElements
- List of unescaped element tag names
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |