com.smallx.xml.infoset.memory
Class MemoryCharacters
java.lang.Object
com.smallx.xml.infoset.memory.MemoryItem
com.smallx.xml.infoset.memory.MemoryTextDataItem
com.smallx.xml.infoset.memory.MemoryCharacters
- All Implemented Interfaces:
- Characters, Child, Data, Item, Location, Text
- public class MemoryCharacters
- extends MemoryTextDataItem
- implements Characters
Fields inherited from interface com.smallx.xml.infoset.Characters |
TYPE |
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 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryCharacters
public MemoryCharacters(Infoset infoset,
Parent origin,
java.lang.String textValue,
java.lang.Object typedValue)
setIndex
protected void setIndex(int index)
- Specified by:
setIndex
in class MemoryItem
getType
public byte getType()
- Description copied from interface:
Item
- Returns the type of type node.
- Specified by:
getType
in interface Item
getParent
public Parent getParent()
- Description copied from interface:
Child
- Returns the origin of this node. This is either the element on which
the attribute is declared or the parent of the node.
- Specified by:
getParent
in interface Child
getFollowingSibling
public Child getFollowingSibling()
- Description copied from interface:
Child
- Returns the following sibling of this node.
- Specified by:
getFollowingSibling
in interface Child
- Returns:
- An instance of Item or null.
getPrecedingSibling
public Child getPrecedingSibling()
- Description copied from interface:
Child
- Returns the preceeding sibling to this node.
- Specified by:
getPrecedingSibling
in interface Child
clone
public java.lang.Object clone()
getAxis
public java.util.Iterator getAxis(byte axis)
- Specified by:
getAxis
in interface Item
- Overrides:
getAxis
in class MemoryItem
getFollowingSiblings
public java.util.Iterator getFollowingSiblings()
- Specified by:
getFollowingSiblings
in interface Child
getPrecedingSiblings
public java.util.Iterator getPrecedingSiblings()
- Specified by:
getPrecedingSiblings
in interface Child
getColumn
public int getColumn()
- Specified by:
getColumn
in interface Location
getLine
public int getLine()
- Specified by:
getLine
in interface Location
setColumn
public void setColumn(int column)
- Specified by:
setColumn
in interface Location
setLine
public void setLine(int line)
- Specified by:
setLine
in interface Location