org.mindswap.rdfparser.rdf
Class RDFBag

java.lang.Object
  |
  +--org.mindswap.rdfparser.rdf.RDFResource
        |
        +--org.mindswap.rdfparser.rdf.RDFClass
              |
              +--org.mindswap.rdfparser.rdf.RDFBag
All Implemented Interfaces:
java.lang.Cloneable, RDFConsts, java.io.Serializable

public class RDFBag
extends RDFClass

See Also:
Serialized Form

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
RDFBag()
           
RDFBag(java.lang.String s)
           
 
Method Summary
 void addNode(RDFResource res)
          Adds a single resource node.

 java.lang.String getType()
          Returns the type of this object as a string.

 
Methods inherited from class org.mindswap.rdfparser.rdf.RDFClass
clone, createInstance, equals, getNTriples, getNTriples, getProperties, getPropertyById, getPropertyByType, getPropertyByType, getSameClasses, getSuperClasses, hasAncestor, hasAncestor, hasSuperClass, listProperties, merge, setProperty, toRDF, validate
 
Methods inherited from class org.mindswap.rdfparser.rdf.RDFResource
addAttribute, addAttributes, addEquivalentTo, addNodes, 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

RDFBag

public RDFBag()

RDFBag

public RDFBag(java.lang.String s)
Method Detail

addNode

public void addNode(RDFResource res)
Description copied from class: RDFResource
Adds a single resource node.

Overrides:
addNode in class RDFClass
Following copied from class: org.mindswap.rdfparser.rdf.RDFResource
Parameters:
r - Resource to add

getType

public java.lang.String getType()
Description copied from class: RDFResource
Returns the type of this object as a string.

Overrides:
getType in class RDFClass
Following copied from class: org.mindswap.rdfparser.rdf.RDFResource
Returns:
the object's type
See Also:
XMLConsts, RDFConsts, DAMLConsts, OWLConsts