com.sun.msv.grammar.xmlschema

Class XPath

public class XPath extends Object implements Serializable

internal representation of XPath ('aaa/bbb/ccc/ ... /eee'). Note that 'A|B' is repsented by using two Path instances.

Author: Kohsuke KAWAGUCHI

Field Summary
NameClassattributeStep
optional attribute step that can only appear as the last child.
booleanisAnyDescendant
this field is true if the XPath starts with '//' operator.
NameClass[]steps
each name class represents each step.

Field Detail

attributeStep

public NameClass attributeStep
optional attribute step that can only appear as the last child. Null if not present.

isAnyDescendant

public boolean isAnyDescendant
this field is true if the XPath starts with '//' operator.

steps

public NameClass[] steps
each name class represents each step.