|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.relaxng.Pattern
public abstract class Pattern
Abstract superclass for patterns.
Field Summary | |
---|---|
protected Origin |
origin
Origin of this pattern. |
Constructor Summary | |
---|---|
Pattern(Origin origin)
Constructs a new pattern. |
Method Summary | ||
---|---|---|
Origin |
getOrigin()
Returns the source information. |
|
abstract
|
process(PatternProcessor<T> v)
Applies the given pattern processor on this pattern. |
|
void |
setOrigin(Origin origin)
Sets the source information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Origin origin
Constructor Detail |
---|
public Pattern(Origin origin)
origin
- source information (null if not applicable)Method Detail |
---|
public Origin getOrigin()
public abstract <T> T process(PatternProcessor<T> v)
T
- return typev
- pattern processor
public void setOrigin(Origin origin)
origin
- source information (null if not applicable)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |