org.norther.tammi.root.castor.xml
Class JDKOutputFormat

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.exolab.castor.xml.OutputFormat
XML
 
Constructor Summary
JDKOutputFormat()
          Creates an instance of this class.
 
Method Summary
 Object getFormat()
           
 void setDoctype(String type1, String type2)
           
 void setEncoding(String encoding)
           
 void setIndenting(boolean indent)
           
 void setMethod(String method)
           
 void setOmitDocumentType(boolean omitDocumentType)
           
 void setOmitXMLDeclaration(boolean omitXMLDeclaration)
           
 void setPreserveSpace(boolean preserveSpace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKOutputFormat

public JDKOutputFormat()
Creates an instance of this class.

Method Detail

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.