- 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
public abstract class DXmlTokenPattern extends DUnaryPattern
- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
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 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 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
-
-