|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.BaseXercesOutputFormat
public class BaseXercesOutputFormat
Xerces-specific OutputFormat instance.
| Field Summary | |
|---|---|
protected Object |
_outputFormat
|
| Fields inherited from interface org.exolab.castor.xml.OutputFormat |
|---|
XML |
| Constructor Summary | |
|---|---|
BaseXercesOutputFormat()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Object _outputFormat
| Constructor Detail |
|---|
public BaseXercesOutputFormat()
| Method Detail |
|---|
public Object getFormat()
OutputFormat
getFormat in interface OutputFormatpublic void setMethod(String method)
OutputFormat
setMethod in interface OutputFormatmethod - Required serialization method.public void setIndenting(boolean indent)
OutputFormat
setIndenting in interface OutputFormatindent - true if XML output should be intended.public void setPreserveSpace(boolean preserveSpace)
OutputFormat
setPreserveSpace in interface OutputFormatpreserveSpace - True if white space should be preserved
public void setDoctype(String type1,
String type2)
OutputFormat
setDoctype in interface OutputFormattype1 - Public DOC type.type2 - System doc type.public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
OutputFormat
setOmitXMLDeclaration in interface OutputFormatomitXMLDeclaration - True if XMl declaration should be omitted.public void setOmitDocumentType(boolean omitDocumentType)
OutputFormat
setOmitDocumentType in interface OutputFormatomitDocumentType - True if DOCTYPE definition should be omitted.public void setEncoding(String encoding)
OutputFormat
setEncoding in interface OutputFormatencoding - The encoding to use.public void setVersion(String version)
OutputFormat
setVersion in interface OutputFormat
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||