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

## org.kohsuke.rngom.binary
Class Pattern

    java.lang.Object
      org.kohsuke.rngom.binary.Pattern

All Implemented Interfaces:
  ParsedPattern

Direct Known Subclasses:
  AttributePattern, BinaryPattern, DataPattern, ElementPattern, EmptyPattern, ErrorPattern, ListPattern, NotAllowedPattern, OneOrMorePattern, RefPattern, TextPattern, ValuePattern

    public abstract class Pattern

extends java.lang.Object
implements ParsedPattern

Method Summary
`abstract void` | `accept(PatternVisitor visitor)`
`abstract java.lang.Object` | `apply(PatternFunction f)`
`boolean` | `isNullable()` Returns true if the pattern is nullable.

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

Method Detail

### isNullable

    public final boolean isNullable()

  Returns true if the pattern is nullable.

  A pattern is nullable when it can match the empty sequence.

### accept

    public abstract void accept(PatternVisitor visitor)

### apply

    public abstract java.lang.Object apply(PatternFunction f)

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