com.smallx.xml.infoset.memory
Class MemoryElementEnd
java.lang.Object
com.smallx.xml.infoset.memory.MemoryItem
com.smallx.xml.infoset.memory.MemoryElementEnd
- All Implemented Interfaces:
- ElementEnd, Item, Location, Named
- public class MemoryElementEnd
- extends MemoryItem
- implements ElementEnd
Fields inherited from interface com.smallx.xml.infoset.ElementEnd |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryElementEnd
public MemoryElementEnd(Infoset infoset,
Name name,
NamespaceScope scope)
- Creates a new instance of MemoryElementEnd
getName
public Name getName()
- Description copied from interface:
Named
- Return the name of the object.
- Specified by:
getName
in interface Named
setName
public void setName(Name name)
- Description copied from interface:
Named
- Sets the name of the object.
- Specified by:
setName
in interface Named
- Parameters:
name
- The name to set.
setName
public void setName(java.lang.String localName)
- Description copied from interface:
Named
- Sets the name of the object.
- Specified by:
setName
in interface Named
- Parameters:
localName
- The local name to use and the namespace name is assumed to be URI.NO_NAMESPACE
setName
public void setName(java.net.URI namespaceName,
java.lang.String localName)
- Description copied from interface:
Named
- Sets the name of the object.
- Specified by:
setName
in interface Named
- Parameters:
namespaceName
- The namespace name to use.localName
- The local name to use.
getType
public byte getType()
- Returns the type of type node.
- Specified by:
getType
in interface Item
setIndex
protected void setIndex(int i)
- Specified by:
setIndex
in class MemoryItem
getNamespaceScope
public NamespaceScope getNamespaceScope()
- Specified by:
getNamespaceScope
in interface ElementEnd
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