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 Object
- implements ParsedPattern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 Object apply(PatternFunction f)
Copyright © 2011. All Rights Reserved.