public class WeblogicXercesOutputFormat extends WeblogicXercesImplementation implements OutputFormat
XML
Constructor and Description |
---|
WeblogicXercesOutputFormat()
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Object |
getFormat()
Returns the (underlying) OutputFormat instance
|
void |
setDoctype(String type1,
String type2)
Defines the doc types to use.
|
void |
setEncoding(String encoding)
Sets the encoding to use.
|
void |
setIndenting(boolean indent)
Specify whether indentation is required
|
void |
setMethod(String method)
Set serialization method.
|
void |
setOmitDocumentType(boolean omitDocumentType)
Indicates whether to omit DOCTYPE definition.
|
void |
setOmitXMLDeclaration(boolean omitXMLDeclaration)
Indicates whether to omit XML declaration.
|
void |
setPreserveSpace(boolean preserveSpace)
Indicate whether white space should be preserved.
|
void |
setVersion(String version)
Defines the XML document version to be output.
|
getMethod, handleMethodInvokeException, handleMethodInvokeException, handleStaticInitException, handleStaticInitException, invoke
public WeblogicXercesOutputFormat()
public void setMethod(String method)
OutputFormat
setMethod
in interface OutputFormat
method
- Required serialization method.public Object getFormat()
OutputFormat
getFormat
in interface OutputFormat
public void setIndenting(boolean indent)
OutputFormat
setIndenting
in interface OutputFormat
indent
- true if XML output should be intended.public void setPreserveSpace(boolean preserveSpace)
OutputFormat
setPreserveSpace
in interface OutputFormat
preserveSpace
- True if white space should be preservedpublic void setDoctype(String type1, String type2)
OutputFormat
setDoctype
in interface OutputFormat
type1
- Public DOC type.type2
- System doc type.public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
OutputFormat
setOmitXMLDeclaration
in interface OutputFormat
omitXMLDeclaration
- True if XMl declaration should be omitted.public void setOmitDocumentType(boolean omitDocumentType)
OutputFormat
setOmitDocumentType
in interface OutputFormat
omitDocumentType
- True if DOCTYPE definition should be omitted.public void setEncoding(String encoding)
OutputFormat
setEncoding
in interface OutputFormat
encoding
- The encoding to use.public void setVersion(String version)
OutputFormat
setVersion
in interface OutputFormat
Copyright © 2017. All rights reserved.