Class DValuePattern
- java.lang.Object
-
- org.kohsuke.rngom.rngparser.digested.DPattern
-
- org.kohsuke.rngom.rngparser.digested.DValuePattern
-
- All Implemented Interfaces:
ParsedPattern
public class DValuePattern extends DPattern
-
-
Constructor Summary
Constructors Constructor Description DValuePattern(java.lang.String datatypeLibrary, java.lang.String type, java.lang.String value, Context context, java.lang.String ns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(DPatternVisitor visitor)
Context
getContext()
java.lang.String
getDatatypeLibrary()
java.lang.String
getNs()
java.lang.String
getType()
java.lang.String
getValue()
boolean
isNullable()
Returns true if this pattern is nullable.-
Methods inherited from class org.kohsuke.rngom.rngparser.digested.DPattern
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNext
-
-
-
-
Constructor Detail
-
DValuePattern
public DValuePattern(java.lang.String datatypeLibrary, java.lang.String type, java.lang.String value, Context context, java.lang.String ns)
-
-
Method Detail
-
getDatatypeLibrary
public java.lang.String getDatatypeLibrary()
-
getType
public java.lang.String getType()
-
getValue
public java.lang.String getValue()
-
getContext
public Context getContext()
-
getNs
public java.lang.String getNs()
-
isNullable
public boolean isNullable()
Description copied from class:DPattern
Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.- Specified by:
isNullable
in classDPattern
-
accept
public java.lang.Object accept(DPatternVisitor visitor)
-
-