ParsedPatternDContainerPattern, DDataPattern, DEmptyPattern, DGrammarPattern, DNotAllowedPattern, DRefPattern, DTextPattern, DUnaryPattern, DValuePatternpublic abstract class DPattern extends java.lang.Object implements ParsedPattern
| Constructor | Description |
|---|---|
DPattern() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract <V> V |
accept(DPatternVisitor<V> visitor) |
|
Parseable |
createParseable() |
Creates a
Parseable object that reparses this pattern. |
DAnnotation |
getAnnotation() |
Returns the annotation associated with it.
|
org.xml.sax.Locator |
getLocation() |
Returns where the pattern is defined in the source code.
|
boolean |
isAttribute() |
Returns true if this is
DAttributePattern. |
boolean |
isElement() |
Returns true if this is
DElementPattern. |
abstract boolean |
isNullable() |
Returns true if this pattern is nullable.
|
public org.xml.sax.Locator getLocation()
public DAnnotation getAnnotation()
public abstract boolean isNullable()
public abstract <V> V accept(DPatternVisitor<V> visitor)
public Parseable createParseable()
Parseable object that reparses this pattern.public final boolean isElement()
DElementPattern.public final boolean isAttribute()
DAttributePattern.Copyright © 2017 Oracle Corporation. All rights reserved.