org.planx.xmlstore.nodes
Class AbstractNode
java.lang.Object
org.planx.xmlstore.nodes.AbstractNode
- All Implemented Interfaces:
- EquivalenceClassDiscriminable, Node, SystemNode
- Direct Known Subclasses:
- DVMNode, NodeProxy
public abstract class AbstractNode
- extends Object
- implements SystemNode
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
visitToken
protected Object visitToken
eqCls
protected EquivalenceClass eqCls
ref
protected Reference ref
AbstractNode
protected AbstractNode()
getVisitToken
public Object getVisitToken()
- Specified by:
getVisitToken in interface SystemNode
setVisitToken
public void setVisitToken(Object token)
- Specified by:
setVisitToken in interface SystemNode
getReference
public Reference getReference()
- Specified by:
getReference in interface SystemNode
setReference
public void setReference(Reference ref)
- Specified by:
setReference in interface SystemNode
getEquivalenceClass
public EquivalenceClass getEquivalenceClass()
- Description copied from interface:
EquivalenceClassDiscriminable
- Returns the
EquivalenceClass that this object belongs to.
- Specified by:
getEquivalenceClass in interface EquivalenceClassDiscriminable
setEquivalenceClass
public void setEquivalenceClass(EquivalenceClass eqCls)
- Description copied from interface:
EquivalenceClassDiscriminable
- Changes the
EquivalenceClass of this object to the
specified EquivalenceClass (optional operation).
If this operation is not supported an
UnsupportedOperationException will be thrown.
- Specified by:
setEquivalenceClass in interface EquivalenceClassDiscriminable
get
public SystemNode get()
- Description copied from interface:
SystemNode
- Resolves the node if it is a proxy and guarantees to return a 'real' node.
- Specified by:
get in interface SystemNode
isMutable
public boolean isMutable()
- Description copied from interface:
Node
- Returns
true if this Node is mutable,
false otherwise.
- Specified by:
isMutable in interface Node
- Returns:
true if mutable, false if immutable.
Copyright © 2010. All Rights Reserved.