org.apache.axis2.om
Interface OMText

All Superinterfaces:
OMNode
All Known Implementing Classes:
OMTextImpl

public interface OMText
extends OMNode

Interface OMText


Field Summary
 
Fields inherited from interface org.apache.axis2.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()
          get the content id
 java.lang.Object getDataHandler()
          get the datahandler
 java.lang.String getText()
          Returns the text value of this node
 boolean isOptimized()
           
 void setOptimize(boolean value)
          set the optimize flag
 
Methods inherited from interface org.apache.axis2.om.OMNode
build, detach, discard, getNextSibling, getParent, getPreviousSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serializeWithCache
 

Method Detail

getText

public java.lang.String getText()
Returns the text value of this node

Returns:
string

getDataHandler

public java.lang.Object getDataHandler()
get the datahandler

Returns:
datahandler

isOptimized

public boolean isOptimized()
Returns:
boolean flag saying whether the node contains an optimized text or not

setOptimize

public void setOptimize(boolean value)
set the optimize flag

Parameters:
value -

getContentID

public java.lang.String getContentID()
get the content id

Returns:
string