|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.kmr.scam.rdf.util.LOM
Helper for Learning Object Model (LOM) structures.
Title:
Description:
Copyright: Copyright (c) 2002
Company:
Field Summary | |
protected static org.apache.log4j.Category |
LOG
Log4j-logger |
Constructor Summary | |
LOM()
|
Method Summary | |
static RDFNode |
getItemLangValue(Resource res,
Property prop,
String lang)
Same as getLangValue(...), BUT if not found: the object pointed to by IMSCP.content will be examined similarly. |
static RDFNode |
getItemTypeValue(Resource res,
Property prop)
Same as getTypeValue(...), BUT if not found: the object pointed to by IMSCP.content will be examined similarly. |
static RDFNode |
getLangValue(Resource res,
Property prop,
String lang)
Return the LOM-value Literal with given language. |
static RDFNode |
getTypeValue(Resource res,
Property prop)
Return the LOM-type value (RDF.value). |
static List |
listLangValues(Resource res,
Property prop,
String lang)
|
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Category LOG
Constructor Detail |
public LOM()
Method Detail |
public static RDFNode getLangValue(Resource res, Property prop, String lang) throws RDFException
res
- Resourceprop
- Propertylang
- Language - can be null
(will return first value)
null
if none.
RDFException
public static List listLangValues(Resource res, Property prop, String lang) throws RDFException
RDFException
public static RDFNode getItemLangValue(Resource res, Property prop, String lang) throws RDFException
res
- Resourceprop
- Propertylang
- Language - can be null
(will return first value)
null
if none.
RDFException
getLangValue(Resource, Property, String)
public static RDFNode getTypeValue(Resource res, Property prop) throws RDFException
res
- Resourceprop
- Property
null
if none.
RDFException
public static RDFNode getItemTypeValue(Resource res, Property prop) throws RDFException
res
- Resourceprop
- Property
null
if none.
RDFException
getTypeValue(Resource, Property)
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |