|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.OMOutputFormat
public class 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 | |
---|---|
static String |
ACTION_PROPERTY
|
static String |
DEFAULT_CHAR_SET_ENCODING
Field DEFAULT_CHAR_SET_ENCODING. |
static String |
USE_CTE_BASE64_FOR_NON_TEXTUAL_ATTACHMENTS
|
Constructor Summary | |
---|---|
OMOutputFormat()
|
Method Summary | |
---|---|
boolean |
containsKey(String key)
|
String |
getCharSetEncoding()
Returns the character set encoding scheme. |
String |
getContentType()
Return the content-type value that should be written with the message. |
String |
getContentTypeForMTOM(String SOAPContentType)
Generates a Content-Type value for MTOM messages. |
String |
getContentTypeForSwA(String SOAPContentType)
|
String |
getMimeBoundary()
|
String |
getNextContentId()
|
int |
getOptimizedThreshold()
|
Object |
getProperty(String key)
|
String |
getRootContentId()
|
String |
getXmlVersion()
|
boolean |
isAutoCloseWriter()
|
boolean |
isDoingSWA()
|
boolean |
isIgnoreXMLDeclaration()
|
boolean |
isOptimized()
|
boolean |
isSOAP11()
|
void |
setAutoCloseWriter(boolean autoCloseWriter)
|
void |
setCharSetEncoding(String charSetEncoding)
|
void |
setContentType(String c)
Set a raw content-type (i.e. |
void |
setDoingSWA(boolean doingSWA)
|
void |
setDoOptimize(boolean b)
|
void |
setIgnoreXMLDeclaration(boolean ignoreXMLDeclaration)
|
void |
setMimeBoundary(String mimeBoundary)
|
void |
setOptimizedThreshold(int optimizedThreshold)
|
Object |
setProperty(String key,
Object value)
|
void |
setRootContentId(String rootContentId)
|
void |
setSOAP11(boolean b)
|
void |
setXmlVersion(String xmlVersion)
|
String |
toString()
Use toString for logging state of the OMOutputFormat |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_CHAR_SET_ENCODING
public static final String ACTION_PROPERTY
public static final String USE_CTE_BASE64_FOR_NON_TEXTUAL_ATTACHMENTS
Constructor Detail |
---|
public OMOutputFormat()
Method Detail |
---|
public Object getProperty(String key)
key
- String
public Object setProperty(String key, Object value)
key
- Stringvalue
- Object
public boolean containsKey(String key)
key
-
public boolean isOptimized()
public String getContentType()
public void setContentType(String c)
c
- public String getMimeBoundary()
public String getRootContentId()
public String getNextContentId()
public String getCharSetEncoding()
public void setCharSetEncoding(String charSetEncoding)
public String getXmlVersion()
public void setXmlVersion(String xmlVersion)
public void setSOAP11(boolean b)
public boolean isSOAP11()
public boolean isIgnoreXMLDeclaration()
public void setIgnoreXMLDeclaration(boolean ignoreXMLDeclaration)
public void setDoOptimize(boolean b)
public boolean isDoingSWA()
public void setDoingSWA(boolean doingSWA)
public String getContentTypeForMTOM(String SOAPContentType)
SOAPContentType
-
public String getContentTypeForSwA(String SOAPContentType)
public boolean isAutoCloseWriter()
public void setAutoCloseWriter(boolean autoCloseWriter)
public void setMimeBoundary(String mimeBoundary)
public void setRootContentId(String rootContentId)
public String toString()
toString
in class Object
public void setOptimizedThreshold(int optimizedThreshold)
public int getOptimizedThreshold()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |