MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.update.store.llImpl
Class LLRefToken

java.lang.Object
  extended by ch.ethz.mxquery.update.store.llImpl.LLToken
      extended by ch.ethz.mxquery.update.store.llImpl.LLRefToken

public class LLRefToken
extends LLToken

Represents a reference from the corresponding SimpleSource to an element of another SimpleSource.
Important: A reference token must not point to another reference token!!


Constructor Summary
LLRefToken(LLToken reference)
          SimpleToken on which this reference points.
 
Method Summary
 LLToken copy()
           
 int getEventType()
           
 Identifier getId()
           
 LLToken getRef()
          Returns the SimpleToken on which this reference points.
 void setDepth(int depth)
           
 void setNext(LLToken next)
           
 void setPrev(LLToken prev)
           
 
Methods inherited from class ch.ethz.mxquery.update.store.llImpl.LLToken
deleteMe, getDepth, getEndEl, getLocal, getName, getNext, getNS, getParent, getPrev, getSibling, getValueAsString, insertAfter, insertAfter, insertBefore, insertBefore, isAttribute, setEndEl, setName, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLRefToken

public LLRefToken(LLToken reference)
           throws MXQueryException
SimpleToken on which this reference points.

Parameters:
reference -
Throws:
MXQueryException
Method Detail

getRef

public LLToken getRef()
Returns the SimpleToken on which this reference points.

Returns:
reference (SimpleToken)

getId

public Identifier getId()
Overrides:
getId in class LLToken

setDepth

public void setDepth(int depth)
Overrides:
setDepth in class LLToken

setNext

public void setNext(LLToken next)
Specified by:
setNext in class LLToken

setPrev

public void setPrev(LLToken prev)
Specified by:
setPrev in class LLToken

getEventType

public int getEventType()

copy

public LLToken copy()
             throws MXQueryException
Specified by:
copy in class LLToken
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich