org.exist.storage
Class NodePath

java.lang.Object
  extended by org.exist.storage.NodePath

public class NodePath
extends Object

Author:
wolf

Field Summary
static QName WILDCARD
          (Illegal) QName used as a marker for arbitrary path steps.
 
Constructor Summary
NodePath()
           
NodePath(Map namespaces, String path)
           
NodePath(Map namespaces, String path, boolean includeDescendants)
           
NodePath(NodePath other)
           
 
Method Summary
 void addComponent(QName component)
           
 void addComponentAtStart(QName component)
           
 QName getComponent(int at)
           
 int length()
           
 boolean match(NodePath other)
           
 void removeLastComponent()
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WILDCARD

public static final QName WILDCARD
(Illegal) QName used as a marker for arbitrary path steps.

Constructor Detail

NodePath

public NodePath()

NodePath

public NodePath(NodePath other)

NodePath

public NodePath(Map namespaces,
                String path)

NodePath

public NodePath(Map namespaces,
                String path,
                boolean includeDescendants)
Method Detail

addComponent

public void addComponent(QName component)

addComponentAtStart

public void addComponentAtStart(QName component)

removeLastComponent

public void removeLastComponent()

length

public int length()

getComponent

public QName getComponent(int at)

match

public final boolean match(NodePath other)

reset

public void reset()

toString

public String toString()
Overrides:
toString in class Object


Copyright (C) Wolfgang Meier. All rights reserved.