|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mindswap.rdfparser.rdf.RDFResource | +--org.mindswap.rdfparser.rdf.RDFClass | +--org.mindswap.damlparser.daml.DAMLClass | +--org.mindswap.damlparser.daml.DAMLList
Title:
Description:
Copyright: Copyright (c) 2002
Company:
Fields inherited from interface org.mindswap.rdfparser.consts.RDFConsts |
OLD_DAMLURL, RDF, RDF_About, RDF_AboutEach, RDF_AboutEachPrefix, RDF_Alt, RDF_Bag, RDF_BagID, RDF_Class, RDF_Comment, RDF_ConstraintProperty, RDF_Description, RDF_Domain, RDF_First, RDF_ID, RDF_IsDefinedBy, RDF_Label, RDF_Li, RDF_Nil, RDF_NodeID, RDF_Object, RDF_ParseType, RDF_Predicate, RDF_Property, RDF_Range, RDF_Resource, RDF_Rest, RDF_SeeAlso, RDF_Seq, RDF_SubClass, RDF_Subject, RDF_SubProperty, RDF_TERMS, RDF_Type, RDF_Value, RDFSURL, RDFURL |
Constructor Summary | |
DAMLList()
|
|
DAMLList(java.lang.String s)
|
Method Summary | |
void |
addElement(RDFResource r)
|
void |
addNode(RDFResource r)
Adds a single resource node. |
RDFResourceList |
getList()
|
org.mindswap.n3.ntriples.NTripleList |
getNTriples(java.lang.String subj,
Namespaces ns)
Return a list of NTriples that are equivalent to this resource. |
java.util.Vector |
getTriples(Namespaces ns)
Return a list of generic Triples that are equivalent to this resource. |
java.util.Vector |
getTriples(java.lang.String subj,
Namespaces ns)
Return a list of generic Triples that are equivalent to this resource. |
java.lang.String |
getType()
Returns the type of this object as a string. |
boolean |
hasInRange(RDFResource ri)
|
void |
removeElement(RDFResource r)
|
void |
setList(RDFResourceList r)
|
java.lang.String |
toRDF(Namespaces ns,
int indnt)
Returns the RDF representation of this class as a String |
void |
validate(java.util.Hashtable classes,
java.util.Hashtable props)
|
Methods inherited from class org.mindswap.rdfparser.rdf.RDFClass |
clone, createInstance, equals, getNTriples, getProperties, getPropertyById, getPropertyByType, getPropertyByType, getSameClasses, getSuperClasses, hasAncestor, hasAncestor, hasSuperClass, listProperties, merge, setProperty |
Methods inherited from class org.mindswap.rdfparser.rdf.RDFResource |
addAttribute, addAttributes, addEquivalentTo, addNodes, getAttributeByName, getAttributes, getComment, getEquivalentTos, getFriendlyId, getFriendlyType, getId, getLabel, getNodes, getNTriples, getResourceByType, getURI, removeEquivalentTo, setAttributes, setComment, setEquivalentTos, setId, setLabel, toRDF, toRDF, toString |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DAMLList()
public DAMLList(java.lang.String s)
Method Detail |
public java.lang.String getType()
RDFResource
getType
in class DAMLClass
org.mindswap.rdfparser.rdf.RDFResource
XMLConsts
,
RDFConsts
,
DAMLConsts
,
OWLConsts
public void addNode(RDFResource r)
RDFResource
addNode
in class RDFClass
org.mindswap.rdfparser.rdf.RDFResource
r
- Resource to addpublic RDFResourceList getList()
public void setList(RDFResourceList r)
public void addElement(RDFResource r)
public void removeElement(RDFResource r)
public void validate(java.util.Hashtable classes, java.util.Hashtable props)
validate
in class RDFClass
public java.lang.String toRDF(Namespaces ns, int indnt)
RDFResource
toRDF
in class RDFClass
org.mindswap.rdfparser.rdf.RDFResource
RDFResource.toRDF()
,
RDFResource.toRDF(org.mindswap.xmlparser.Namespaces)
public java.util.Vector getTriples(Namespaces ns)
RDFResource
getTriples
in class RDFResource
org.mindswap.rdfparser.rdf.RDFResource
RDFResource.getTriples(String, org.mindswap.xmlparser.Namespaces)
public java.util.Vector getTriples(java.lang.String subj, Namespaces ns)
RDFResource
getTriples
in class RDFResource
org.mindswap.rdfparser.rdf.RDFResource
RDFResource.getTriples(org.mindswap.xmlparser.Namespaces)
public org.mindswap.n3.ntriples.NTripleList getNTriples(java.lang.String subj, Namespaces ns)
RDFResource
getNTriples
in class RDFClass
org.mindswap.rdfparser.rdf.RDFResource
RDFResource.getNTriples()
,
RDFResource.getNTriples(org.mindswap.xmlparser.Namespaces)
public boolean hasInRange(RDFResource ri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |