|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OMText
Interface OMText.
OMText can contain data as a String, char[] or a DataHandler.
Field Summary |
---|
Fields inherited from interface org.apache.axiom.om.OMNode |
---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Method Summary | |
---|---|
String |
getContentID()
Gets the content id. |
Object |
getDataHandler()
Gets the datahandler. |
OMNamespace |
getNamespace()
Deprecated. This API is going away. Please use getTextAsQName() instead. |
String |
getText()
Returns the text value of this node. |
javax.xml.namespace.QName |
getTextAsQName()
|
char[] |
getTextCharacters()
|
boolean |
isBinary()
|
boolean |
isCharacters()
|
boolean |
isOptimized()
|
void |
setBinary(boolean value)
Sets the isBinary flag. |
void |
setContentID(String cid)
Set a specific content id |
void |
setOptimize(boolean value)
Sets the optimize flag. |
Methods inherited from interface org.apache.axiom.om.OMNode |
---|
build, buildWithAttachments, close, detach, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Method Detail |
---|
String getText()
char[] getTextCharacters()
boolean isCharacters()
javax.xml.namespace.QName getTextAsQName()
OMNamespace getNamespace()
Object getDataHandler()
boolean isOptimized()
void setOptimize(boolean value)
value
- true to optimize binary content (usually w/MTOM)boolean isBinary()
void setBinary(boolean value)
value
- true if the content is binaryString getContentID()
void setContentID(String cid)
cid
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |