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