public class BaseXercesOutputFormat extends java.lang.Object implements OutputFormat
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
_outputFormat |
XML| Constructor and Description |
|---|
BaseXercesOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getFormat()
Returns the (underlying) OutputFormat instance
|
void |
setDoctype(java.lang.String type1,
java.lang.String type2)
Defines the doc types to use.
|
void |
setEncoding(java.lang.String encoding)
Sets the encoding to use.
|
void |
setIndenting(boolean indent)
Specify whether indentation is required
|
void |
setMethod(java.lang.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(java.lang.String version)
Defines the XML document version to be output.
|
public java.lang.Object getFormat()
OutputFormatgetFormat in interface OutputFormatpublic void setMethod(java.lang.String method)
OutputFormatsetMethod in interface OutputFormatmethod - Required serialization method.public void setIndenting(boolean indent)
OutputFormatsetIndenting in interface OutputFormatindent - true if XML output should be intended.public void setPreserveSpace(boolean preserveSpace)
OutputFormatsetPreserveSpace in interface OutputFormatpreserveSpace - True if white space should be preservedpublic void setDoctype(java.lang.String type1,
java.lang.String type2)
OutputFormatsetDoctype in interface OutputFormattype1 - Public DOC type.type2 - System doc type.public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
OutputFormatsetOmitXMLDeclaration in interface OutputFormatomitXMLDeclaration - True if XMl declaration should be omitted.public void setOmitDocumentType(boolean omitDocumentType)
OutputFormatsetOmitDocumentType in interface OutputFormatomitDocumentType - True if DOCTYPE definition should be omitted.public void setEncoding(java.lang.String encoding)
OutputFormatsetEncoding in interface OutputFormatencoding - The encoding to use.public void setVersion(java.lang.String version)
OutputFormatsetVersion in interface OutputFormatIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com