Package com.sun.tools.rngom.binary
Class Pattern
java.lang.Object
com.sun.tools.rngom.binary.Pattern
- All Implemented Interfaces:
ParsedPattern
- Direct Known Subclasses:
AttributePattern,BinaryPattern,DataPattern,ElementPattern,EmptyPattern,ErrorPattern,ListPattern,NotAllowedPattern,OneOrMorePattern,RefPattern,TextPattern,ValuePattern
-
Method Summary
Modifier and TypeMethodDescriptionabstract voidaccept(PatternVisitor visitor) abstract Objectfinal booleanReturns true if the pattern is nullable.
-
Method Details
-
isNullable
public final boolean isNullable()Returns true if the pattern is nullable.A pattern is nullable when it can match the empty sequence.
-
accept
-
apply
-