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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name class of this element/attribute.final boolean
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 Details
-
DXmlTokenPattern
-
-
Method Details
-
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
-