|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.rngom.digested.DPattern
public abstract class DPattern
Base class of all the patterns.
Constructor Summary | |
---|---|
DPattern()
|
Method Summary | ||
---|---|---|
abstract
|
accept(DPatternVisitor<V> visitor)
|
|
Parseable |
createParseable()
Creates a Parseable object that reparses this pattern. |
|
DAnnotation |
getAnnotation()
Returns the annotation associated with it. |
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DPattern()
Method Detail |
---|
public 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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |