|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.util.template.TokenAncestor
public class TokenAncestor
Title: AncestorDefinition
Description: Helper class for definitions of ancestors.
Constructor Summary | |
---|---|
TokenAncestor(String token)
Constructs a AncestorDefinition instance with specific attributes. |
|
TokenAncestor(String token,
boolean optional)
Constructs a AncestorDefinition instance with specific attributes. |
|
TokenAncestor(String token,
boolean optional,
boolean multiple)
Constructs a AncestorDefinition instance with specific attributes. |
Method Summary | |
---|---|
String |
getToken()
Gets the ancestor token. |
boolean |
isMultiple()
Gets the multiple flag. |
boolean |
isOptional()
Gets the optional flag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenAncestor(String token)
token
- The statement token.public TokenAncestor(String token, boolean optional)
token
- The statement token.optional
- The optional flag.public TokenAncestor(String token, boolean optional, boolean multiple)
token
- The statement token.optional
- The optional flag.multiple
- The multiple flag.Method Detail |
---|
public String getToken()
public boolean isOptional()
public boolean isMultiple()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |