|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Output format contract for XML serialization.
| Field Summary | |
static java.lang.String |
XML
Default serialization method, being XML |
| Method Summary | |
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. |
| Field Detail |
public static final java.lang.String XML
| Method Detail |
public void setMethod(java.lang.String method)
method - Required serialization method.public void setIndenting(boolean indent)
indent - true if XML output should be intended.public void setPreserveSpace(boolean preserveSpace)
preserveSpace - True if white space should be preservedpublic java.lang.Object getFormat()
public void setDoctype(java.lang.String type1,
java.lang.String type2)
type1 - Public DOC type.type2 - System doc type.public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
omitXMLDeclaration - True if XMl declaration should be omitted.public void setOmitDocumentType(boolean omitDocumentType)
omitDocumentType - True if DOCTYPE definition should be omitted.public void setEncoding(java.lang.String encoding)
encoding - The encoding to use.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||