com.smallx.xml.infoset.memory
Class MemoryTextDataItem

java.lang.Object
  extended bycom.smallx.xml.infoset.memory.MemoryItem
      extended bycom.smallx.xml.infoset.memory.MemoryTextDataItem
All Implemented Interfaces:
Data, Item, Text
Direct Known Subclasses:
MemoryAttribute, MemoryCharacters, MemoryComment, MemoryProcessingInstruction

public abstract class MemoryTextDataItem
extends MemoryItem
implements Data, Text


Field Summary
 
Fields inherited from class com.smallx.xml.infoset.memory.MemoryItem
infoset, origin, ranking
 
Fields inherited from interface com.smallx.xml.infoset.Item
ANCESTOR_AXIS, ANCESTOR_OR_SELF_AXIS, ATTRIBUTE, ATTRIBUTE_AXIS, CHARACTERS, CHILD_AXIS, COMMENT, DESCENDANT_AXIS, DESCENDANT_OR_SELF_AXIS, DOCUMENT, DOCUMENT_END, ELEMENT, ELEMENT_END, FOLLOWING_AXIS, FOLLOWING_SIBLING_AXIS, N_TYPES, NAMESPACE, NAMESPACE_AXIS, PARENT_AXIS, PRECEDING_AXIS, PRECEDING_SIBLING_AXIS, PROCESSING_INSTRUCTION, SELF_AXIS
 
Constructor Summary
MemoryTextDataItem(Infoset infoset, Parent origin)
          Creates a new instance of MemoryDataItem
 
Method Summary
 java.lang.String getNormalizedText()
           
 java.lang.String getText()
           
 java.lang.Object getTypedValue()
          Returns the data object value associated with this node.
 void setText(java.lang.String textValue)
           
 void setTypedValue(java.lang.Object dataValue)
          Sets the data object value associated with this node.
 
Methods inherited from class com.smallx.xml.infoset.memory.MemoryItem
compareTo, getAxis, getDocument, getGeneratedId, getInfoset, getOrigin, setIndex, setRank
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.smallx.xml.infoset.Item
getType
 

Constructor Detail

MemoryTextDataItem

public MemoryTextDataItem(Infoset infoset,
                          Parent origin)
Creates a new instance of MemoryDataItem

Method Detail

getTypedValue

public java.lang.Object getTypedValue()
Description copied from interface: Data
Returns the data object value associated with this node.

Specified by:
getTypedValue in interface Data
Returns:
The data object value.

setTypedValue

public void setTypedValue(java.lang.Object dataValue)
Description copied from interface: Data
Sets the data object value associated with this node.

Specified by:
setTypedValue in interface Data
Parameters:
dataValue - The data object value to set.

getNormalizedText

public java.lang.String getNormalizedText()
Specified by:
getNormalizedText in interface Text

getText

public java.lang.String getText()
Specified by:
getText in interface Text

setText

public void setText(java.lang.String textValue)
Specified by:
setText in interface Text