com.ldodds.foaf.thinlet.model
Class Resource

java.lang.Object
  |
  +--com.ldodds.foaf.thinlet.model.Property
        |
        +--com.ldodds.foaf.thinlet.model.Resource
All Implemented Interfaces:
Exportable

public class Resource
extends Property

An RDF Resource

This code is Public Domain

Author:
ccslrd

Fields inherited from class com.ldodds.foaf.thinlet.model.Property
_localname, _namespaceuri, _prefix
 
Constructor Summary
Resource(java.lang.String prefix, java.lang.String localname, java.lang.String namespaceuri, java.lang.String uri)
           
 
Method Summary
 void export(Exporter exporter)
          Indicates the object should export itself using the given Exporter.
 java.lang.String getURI()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ldodds.foaf.thinlet.model.Property
getLocalName, getNamespaceURI, getPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource(java.lang.String prefix,
                java.lang.String localname,
                java.lang.String namespaceuri,
                java.lang.String uri)
Method Detail

export

public void export(Exporter exporter)
            throws java.io.IOException
Description copied from interface: Exportable
Indicates the object should export itself using the given Exporter.
Overrides:
export in class Property
See Also:
com.ldodds.foaf.thinlet.Exportable#export(Exporter)

getURI

public java.lang.String getURI()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object