org.norther.tammi.root.castor.xml
Class JDKOutputFormat
java.lang.Object
org.norther.tammi.root.castor.xml.JDKOutputFormat
- All Implemented Interfaces:
- org.exolab.castor.xml.OutputFormat
public class JDKOutputFormat
- extends Object
- implements org.exolab.castor.xml.OutputFormat
Sun JDK-1.5 specific OutputFormat instance.
- Author:
- Ilkka Priha, Werner Guttmann
| Fields inherited from interface org.exolab.castor.xml.OutputFormat |
XML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDKOutputFormat
public JDKOutputFormat()
- Creates an instance of this class.
setMethod
public void setMethod(String method)
- Specified by:
setMethod in interface org.exolab.castor.xml.OutputFormat
setIndenting
public void setIndenting(boolean indent)
- Specified by:
setIndenting in interface org.exolab.castor.xml.OutputFormat
setPreserveSpace
public void setPreserveSpace(boolean preserveSpace)
- Specified by:
setPreserveSpace in interface org.exolab.castor.xml.OutputFormat
getFormat
public Object getFormat()
- Specified by:
getFormat in interface org.exolab.castor.xml.OutputFormat
setDoctype
public void setDoctype(String type1,
String type2)
- Specified by:
setDoctype in interface org.exolab.castor.xml.OutputFormat
setOmitXMLDeclaration
public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
- Specified by:
setOmitXMLDeclaration in interface org.exolab.castor.xml.OutputFormat
setOmitDocumentType
public void setOmitDocumentType(boolean omitDocumentType)
- Specified by:
setOmitDocumentType in interface org.exolab.castor.xml.OutputFormat
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncoding in interface org.exolab.castor.xml.OutputFormat
Copyright © 2004 The Norther Organization. All rights reserved.