org.apache.axis2.om
Interface OMText

All Superinterfaces:
OMNode
All Known Implementing Classes:
OMTextImpl, TextImpl

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
 String getContentID()
          Gets the content id.
 Object getDataHandler()
          Gets the datahandler.
 String getText()
          Returns the text value of this node.
 boolean isOptimized()
           
 void setOptimize(boolean value)
          Sets the optimize flag.
 
Methods inherited from interface org.apache.axis2.om.OMNode
build, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 

Method Detail

getText

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

Returns:
Returns String.

getDataHandler

public Object getDataHandler()
Gets the datahandler.

Returns:
Returns datahandler.

isOptimized

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

setOptimize

public void setOptimize(boolean value)
Sets the optimize flag.

Parameters:
value -

getContentID

public String getContentID()
Gets the content id.

Returns:
Returns String.