Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.msv.grammar.xmlschema
Class XPath

    java.lang.Object
      com.sun.msv.grammar.xmlschema.XPath

All Implemented Interfaces:
  java.io.Serializable

public class XPath
extends java.lang.Object
implements java.io.Serializable

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

Author:
  Kohsuke KAWAGUCHI
See Also:
  Serialized Form

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

Constructor Summary
`XPath()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### isAnyDescendant

    public boolean isAnyDescendant

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

### steps

    public NameClass[] steps

  each name class represents each step.

### attributeStep

    public NameClass attributeStep

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

Constructor Detail

### XPath

    public XPath()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD