|
||||||||||
| 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.util.RDFResourceTag
Title: RDFResourceTag
Description: A place holder class used by the parser for generating instances.
Copyright: Copyright (c) 2002
Company: MINDSWAP
| 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 | |
RDFResourceTag()
|
|
| Method Summary | |
org.mindswap.n3.ntriples.NTripleList |
getNTriples(Namespaces ns)
Return a list of NTriples that are equivalent to this resource. |
org.mindswap.n3.ntriples.NTripleList |
getNTriples(java.lang.String subject,
Namespaces ns)
Return a list of NTriples that are equivalent to this resource. |
XMLTag |
getTag()
Returns the tag (XMLTag) that represents this object |
java.lang.String |
getType()
Returns the type of this object as a string. |
void |
setTag(XMLTag xt)
Sets the tag that describes this instance of a resource. |
java.lang.String |
toRDF(Namespaces ns,
int indent)
Returns the RDF representation of this class as a String |
| Methods inherited from class org.mindswap.rdfparser.rdf.RDFResource |
addAttribute, addAttributes, addEquivalentTo, addNode, addNodes, clone, equals, getAttributeByName, getAttributes, getComment, getEquivalentTos, getFriendlyId, getFriendlyType, getId, getLabel, getNodes, getNTriples, getResourceByType, getTriples, getTriples, 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 RDFResourceTag()
| Method Detail |
public void setTag(XMLTag xt)
xt - The tag that represents this objectXMLTagpublic XMLTag getTag()
XMLTag
public java.lang.String toRDF(Namespaces ns,
int indent)
toRDF in class RDFResourcepublic org.mindswap.n3.ntriples.NTripleList getNTriples(Namespaces ns)
getNTriples in class RDFResourcegetNTriples(String, org.mindswap.xmlparser.Namespaces)
public org.mindswap.n3.ntriples.NTripleList getNTriples(java.lang.String subject,
Namespaces ns)
getNTriples in class RDFResourcegetNTriples(org.mindswap.xmlparser.Namespaces)public java.lang.String getType()
getType in class RDFResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||