Package com.sun.tools.rngom.digested
Class DXmlTokenPattern
java.lang.Object
com.sun.tools.rngom.digested.DPattern
com.sun.tools.rngom.digested.DUnaryPattern
com.sun.tools.rngom.digested.DXmlTokenPattern
- All Implemented Interfaces:
ParsedPattern
- Direct Known Subclasses:
DAttributePattern
,DElementPattern
- Author:
- Kohsuke Kawaguchi ([email protected])
-
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 com.sun.tools.rngom.digested.DUnaryPattern
getChild, setChild
Methods inherited from class com.sun.tools.rngom.digested.DPattern
accept, createParseable, getAnnotation, getLocation, isAttribute, isElement
-
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
-