Class DXmlTokenPattern
- java.lang.Object
-
- org.kohsuke.rngom.rngparser.digested.DPattern
-
- org.kohsuke.rngom.rngparser.digested.DUnaryPattern
-
- org.kohsuke.rngom.rngparser.digested.DXmlTokenPattern
-
- All Implemented Interfaces:
ParsedPattern
- Direct Known Subclasses:
DAttributePattern
,DElementPattern
public abstract class DXmlTokenPattern extends DUnaryPattern
-
-
Constructor Summary
Constructors Constructor Description DXmlTokenPattern(NameClass name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameClass
getName()
Gets the name class of this element/attribute.boolean
isNullable()
Returns true if this pattern is nullable.-
Methods inherited from class org.kohsuke.rngom.rngparser.digested.DUnaryPattern
getChild, setChild
-
Methods inherited from class org.kohsuke.rngom.rngparser.digested.DPattern
accept, createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNext
-
-
-
-
Constructor Detail
-
DXmlTokenPattern
public DXmlTokenPattern(NameClass name)
-
-
Method Detail
-
getName
public NameClass getName()
Gets the name class of this element/attribute.
-
isNullable
public final 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
-
-