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.verifier.regexp
Class Token

    java.lang.Object
      com.sun.msv.verifier.regexp.Token

Direct Known Subclasses:
  AttributeToken, ElementToken, StringToken

public abstract class Token
extends java.lang.Object

primitive unit of XML instance. this object is fed to expression.

Author:
  Kohsuke KAWAGUCHI

Constructor Summary
`Token()`

Method Summary
`boolean` | `match(AttributeExp p)`
`boolean` | `match(DataExp p)` returns true if the given DataExp can consume this token
`boolean` | `match(ElementExp p)` returns true if the given ElementExp can consume this token
`boolean` | `match(ListExp p)` returns true if the given ListExp can consume this token
`boolean` | `match(ValueExp p)`
`boolean` | `matchAnyString()` returns true if anyString pattern can consume this token

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

Constructor Detail

### Token

    public Token()

Method Detail

### match

    public boolean match(ElementExp p)

  returns true if the given ElementExp can consume this token

### match

    public boolean match(AttributeExp p)

### match

    public boolean match(DataExp p)

  returns true if the given DataExp can consume this token

### match

    public boolean match(ValueExp p)

### match

    public boolean match(ListExp p)

  returns true if the given ListExp can consume this token

### matchAnyString

    public boolean matchAnyString()

  returns true if anyString pattern can consume this token

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