org.exolab.castor.xml

Class XercesJDK5OutputFormat

Implemented Interfaces:
OutputFormat

public class XercesJDK5OutputFormat
extends java.lang.Object
implements OutputFormat

Xerces-specific OutputFormat instance, used with JDK 5.0 only.
Version:
$Revision: 6216 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttmann

Fields inherited from interface org.exolab.castor.xml.OutputFormat

XML

Constructor Summary

XercesJDK5OutputFormat()
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)

Constructor Details

XercesJDK5OutputFormat

public XercesJDK5OutputFormat()
Creates an instance of this class.

Method Details

getFormat

public Object getFormat()
Specified by:
getFormat in interface OutputFormat
See Also:
{@inheritDoc}

setDoctype

public void setDoctype(String type1,
                       String type2)
Specified by:
setDoctype in interface OutputFormat
See Also:
{@inheritDoc}

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface OutputFormat
See Also:
{@inheritDoc}

setIndenting

public void setIndenting(boolean indent)
Specified by:
setIndenting in interface OutputFormat
See Also:
{@inheritDoc}

setMethod

public void setMethod(String method)
Specified by:
setMethod in interface OutputFormat
See Also:
{@inheritDoc}

setOmitDocumentType

public void setOmitDocumentType(boolean omitDocumentType)
Specified by:
setOmitDocumentType in interface OutputFormat
See Also:
{@inheritDoc}

setOmitXMLDeclaration

public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
Specified by:
setOmitXMLDeclaration in interface OutputFormat
See Also:
{@inheritDoc}

setPreserveSpace

public void setPreserveSpace(boolean preserveSpace)
Specified by:
setPreserveSpace in interface OutputFormat
See Also:
{@inheritDoc}

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com