|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.util.TypeConversions
public class TypeConversions
A collection of utility methods related to type conversions.
| Method Summary | |
|---|---|
static boolean |
booleanValue(TriplePatternComponent term)
Extract native boolean value from a literal with type boolean. |
static boolean |
effectiveBooleanValue(TriplePatternComponent term)
Extract native boolean value from a literal by using the SPARQL effective boolean value. |
static boolean |
isNumeric(TriplePatternComponent term)
|
static boolean |
isSimpleLiteral(TriplePatternComponent term)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean booleanValue(TriplePatternComponent term)
throws IncompatibleTypeException
term - TriplePatternComponent to convert
IncompatibleTypeException
public static boolean effectiveBooleanValue(TriplePatternComponent term)
throws IncompatibleTypeException
term - TriplePatternComponent to convert
IncompatibleTypeExceptionpublic static boolean isSimpleLiteral(TriplePatternComponent term)
term -
public static boolean isNumeric(TriplePatternComponent term)
term -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||