org.exolab.castor.xml.wls8

Class WeblogicXercesOutputFormat

Implemented Interfaces:
OutputFormat

public class WeblogicXercesOutputFormat
extends WeblogicXercesImplementation
implements OutputFormat

"Weblogic's refactored Xerces"-specific OutputFormat instance. Uses reflection to get the class and methods to avoid having dependencies towards Weblogic when Castor is not used in a Weblogic server.
Author:
Thierry Guerin

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

XML

Constructor Summary

WeblogicXercesOutputFormat()
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 org.exolab.castor.xml.wls8.WeblogicXercesImplementation

getMethod, handleMethodInvokeException, handleMethodInvokeException, handleStaticInitException, handleStaticInitException, invoke

Constructor Details

WeblogicXercesOutputFormat

public WeblogicXercesOutputFormat()
Creates an instance of this class.

Method Details

getFormat

public Object getFormat()
Specified by:
getFormat in interface OutputFormat

setDoctype

public void setDoctype(String type1,
                       String type2)
Specified by:
setDoctype in interface OutputFormat

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface OutputFormat

setIndenting

public void setIndenting(boolean indent)
Specified by:
setIndenting in interface OutputFormat

setMethod

public void setMethod(String method)
Specified by:
setMethod in interface OutputFormat

setOmitDocumentType

public void setOmitDocumentType(boolean omitDocumentType)
Specified by:
setOmitDocumentType in interface OutputFormat

setOmitXMLDeclaration

public void setOmitXMLDeclaration(boolean omitXMLDeclaration)
Specified by:
setOmitXMLDeclaration in interface OutputFormat

setPreserveSpace

public void setPreserveSpace(boolean preserveSpace)
Specified by:
setPreserveSpace in interface OutputFormat

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