|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.rdbms.rules.Component
Description: Represents a component of a triple template used in a rule. It can be a resource URI, variable name or a regular expression.
| Field Summary | |
static int |
REGEXP
|
static int |
URI
|
static int |
VAR
|
| Constructor Summary | |
Component(String value,
int type)
The constructor |
|
| Method Summary | |
int |
compareTo(Object obj)
|
boolean |
equals(Object o)
|
int |
getType()
Returns the type of this component. |
int |
hashCode()
|
boolean |
isRegExp()
Returns true when this component has type REGEXP. |
boolean |
isUri()
Returns true when this component has type URI. |
boolean |
isVar()
Returns true when this component has type VAR or REGEXP. |
void |
setRegExpTemplate(String template,
String escape)
|
String |
value()
Returns the value of this component. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int VAR
public static final int URI
public static final int REGEXP
| Constructor Detail |
public Component(String value,
int type)
value - of the componenttype - - one of the URI, VAR or REGEXP constants| Method Detail |
public boolean isVar()
public boolean isUri()
public boolean isRegExp()
public int getType()
public String value()
public int compareTo(Object obj)
compareTo in interface Comparablepublic boolean equals(Object o)
public int hashCode()
public void setRegExpTemplate(String template,
String escape)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||