Home » axiom-1.2.8-src » org.apache.axiom.om » [javadoc | source]
org.apache.axiom.om
public class: OMOutputFormat [javadoc | source]
java.lang.Object
   org.apache.axiom.om.OMOutputFormat
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.
Field Summary
public static final  String DEFAULT_CHAR_SET_ENCODING    Field DEFAULT_CHAR_SET_ENCODING. Specifies the default character encoding scheme to be used. 
public static final  String ACTION_PROPERTY     
public static final  String USE_CTE_BASE64_FOR_NON_TEXTUAL_ATTACHMENTS     
 HashMap map     
Constructor:
 public OMOutputFormat() 
Method from org.apache.axiom.om.OMOutputFormat Summary:
containsKey,   getCharSetEncoding,   getContentType,   getContentTypeForMTOM,   getContentTypeForSwA,   getMimeBoundary,   getNextContentId,   getOptimizedThreshold,   getProperty,   getRootContentId,   getXmlVersion,   isAutoCloseWriter,   isDoingSWA,   isIgnoreXMLDeclaration,   isOptimized,   isSOAP11,   setAutoCloseWriter,   setCharSetEncoding,   setContentType,   setDoOptimize,   setDoingSWA,   setIgnoreXMLDeclaration,   setMimeBoundary,   setOptimizedThreshold,   setProperty,   setRootContentId,   setSOAP11,   setXmlVersion,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axiom.om.OMOutputFormat Detail:
 public boolean containsKey(String key) 
 public String getCharSetEncoding() 
    Returns the character set encoding scheme. If the value of the charSetEncoding is not set then the default will be returned.
 public String getContentType() 
    Return the content-type value that should be written with the message. (i.e. if optimized, then a multipart/related content-type is returned).
 public String getContentTypeForMTOM(String SOAPContentType) 
    Generates a Content-Type value for MTOM messages. This is a MIME Multipart/Related Content-Type value as defined by RFC 2387 and the XOP specification. The generated header will look like the following: Content-Type: multipart/related; boundary=[MIME BOUNDARY VALUE]; type="application/xop+xml"; start="[MESSAGE CONTENT ID]"; start-info="[MESSAGE CONTENT TYPE]";
 public String getContentTypeForSwA(String SOAPContentType) 
 public String getMimeBoundary() 
 public String getNextContentId() 
 public int getOptimizedThreshold() 
 public Object getProperty(String key) 
 public String getRootContentId() 
 public String getXmlVersion() 
 public boolean isAutoCloseWriter() 
 public boolean isDoingSWA() 
 public boolean isIgnoreXMLDeclaration() 
 public boolean isOptimized() 
 public boolean isSOAP11() 
 public  void setAutoCloseWriter(boolean autoCloseWriter) 
 public  void setCharSetEncoding(String charSetEncoding) 
 public  void setContentType(String c) 
    Set a raw content-type (i.e. "text/xml" (SOAP 1.1) or "application/xml" (REST)) If this method is not invoked, OMOutputFormat will choose a content-type value consistent with the soap version.
 public  void setDoOptimize(boolean b) 
 public  void setDoingSWA(boolean doingSWA) 
 public  void setIgnoreXMLDeclaration(boolean ignoreXMLDeclaration) 
 public  void setMimeBoundary(String mimeBoundary) 
 public  void setOptimizedThreshold(int optimizedThreshold) 
 public Object setProperty(String key,
    Object value) 
 public  void setRootContentId(String rootContentId) 
 public  void setSOAP11(boolean b) 
 public  void setXmlVersion(String xmlVersion) 
 public String toString() 
    Use toString for logging state of the OMOutputFormat