org.apache.axiom.om
Class OMOutputFormat
java.lang.Object
org.apache.axiom.om.OMOutputFormat
public class OMOutputFormat
- extends java.lang.Object
Formats options for OM Output.
Setting of all the properties in a OMOutputFormat should be done before
calling the getContentType() method. It is advised to set all the properties
at the creation time of the OMOutputFormat and not to change them later.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHAR_SET_ENCODING
public static final java.lang.String DEFAULT_CHAR_SET_ENCODING
- Field DEFAULT_CHAR_SET_ENCODING. Specifies the default
character encoding scheme to be used.
- See Also:
- Constant Field Values
OMOutputFormat
public OMOutputFormat()
isOptimized
public boolean isOptimized()
getContentType
public java.lang.String getContentType()
getMimeBoundary
public java.lang.String getMimeBoundary()
getRootContentId
public java.lang.String getRootContentId()
getNextContentId
public java.lang.String getNextContentId()
getCharSetEncoding
public java.lang.String getCharSetEncoding()
- Returns the character set encoding scheme. If the value of the
charSetEncoding is not set then the default will be returned.
- Returns:
- Returns encoding string.
setCharSetEncoding
public void setCharSetEncoding(java.lang.String charSetEncoding)
getXmlVersion
public java.lang.String getXmlVersion()
setXmlVersion
public void setXmlVersion(java.lang.String xmlVersion)
setSOAP11
public void setSOAP11(boolean b)
isSOAP11
public boolean isSOAP11()
isIgnoreXMLDeclaration
public boolean isIgnoreXMLDeclaration()
setIgnoreXMLDeclaration
public void setIgnoreXMLDeclaration(boolean ignoreXMLDeclaration)
setDoOptimize
public void setDoOptimize(boolean b)
isDoingSWA
public boolean isDoingSWA()
setDoingSWA
public void setDoingSWA(boolean doingSWA)
getContentTypeForMTOM
public java.lang.String getContentTypeForMTOM(java.lang.String SOAPContentType)
getContentTypeForSwA
public java.lang.String getContentTypeForSwA(java.lang.String SOAPContentType)