|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getContentID()
Gets the content id. |
java.lang.Object |
getDataHandler()
Gets the datahandler. |
OMNamespace |
getNamespace()
Deprecated. This API is going away. Please use getTextAsQName() instead. |
java.lang.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 |
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 |
|---|
java.lang.String getText()
char[] getTextCharacters()
boolean isCharacters()
javax.xml.namespace.QName getTextAsQName()
OMNamespace getNamespace()
java.lang.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 binaryjava.lang.String getContentID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||