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 ElementToken

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

Direct Known Subclasses:
  AnyElementToken

public class ElementToken
extends Token

a token that represents an XML element.

Author:
  Kohsuke KAWAGUCHI

Constructor Summary
`ElementToken(ElementExp[] acceptedPatterns)`

Method Summary
`boolean` | `match(ElementExp exp)` returns true if the given ElementExp can consume this token
`java.lang.String` | `toString()`

Methods inherited from class com.sun.msv.verifier.regexp.Token
`match, match, match, match, matchAnyString`

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

Constructor Detail

### ElementToken

    public ElementToken(ElementExp[] acceptedPatterns)

Method Detail

### match

    public boolean match(ElementExp exp)

  Description copied from class: `Token`
  returns true if the given ElementExp can consume this token

  Overrides:
    `match` in class `Token`

### toString

    public java.lang.String toString()

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