BaseXercesOutputFormat
, WeblogicXercesOutputFormat
, XercesJDK5OutputFormat
, XercesOutputFormat
public interface OutputFormat
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
XML |
Default serialization method, being XML
|
Modifier and Type | Method | 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.
|
static final java.lang.String XML
void setMethod(java.lang.String method)
method
- Required serialization method.void setIndenting(boolean indent)
indent
- true if XML output should be intended.void setPreserveSpace(boolean preserveSpace)
preserveSpace
- True if white space should be preservedjava.lang.Object getFormat()
void setDoctype(java.lang.String type1, java.lang.String type2)
type1
- Public DOC type.type2
- System doc type.void setOmitXMLDeclaration(boolean omitXMLDeclaration)
omitXMLDeclaration
- True if XMl declaration should be omitted.void setOmitDocumentType(boolean omitDocumentType)
omitDocumentType
- True if DOCTYPE definition should be omitted.void setEncoding(java.lang.String encoding)
encoding
- The encoding to use.void setVersion(java.lang.String version)
encoding
- The XML document version to be used.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com