org.rddl.helpers
Class RDDLURL

java.lang.Object
  |
  +--org.rddl.helpers.RDDLURL

public class RDDLURL
extends java.lang.Object


Field Summary
protected  java.lang.String arcrole
           
protected  java.lang.String contentType
           
protected  java.lang.String namespaceURI
           
protected  java.lang.String role
           
 
Constructor Summary
RDDLURL(java.lang.String namespaceURL)
           
RDDLURL(java.lang.String namespaceURL, java.lang.String roleURI, java.lang.String arcroleURI)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
static Namespace getNamespace(java.lang.String url)
           
 java.lang.String getNature()
           
 java.lang.String getPurpose()
           
 java.net.URLConnection openConnection()
           
 void setContentType(java.lang.String ct)
           
 void setNature(java.lang.String ar)
           
 void setPurpose(java.lang.String ar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespaceURI

protected java.lang.String namespaceURI

arcrole

protected java.lang.String arcrole

role

protected java.lang.String role

contentType

protected java.lang.String contentType
Constructor Detail

RDDLURL

public RDDLURL(java.lang.String namespaceURL)

RDDLURL

public RDDLURL(java.lang.String namespaceURL,
               java.lang.String roleURI,
               java.lang.String arcroleURI)
Method Detail

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String ct)

setPurpose

public void setPurpose(java.lang.String ar)

getPurpose

public java.lang.String getPurpose()

setNature

public void setNature(java.lang.String ar)

getNature

public java.lang.String getNature()

openConnection

public java.net.URLConnection openConnection()
                                      throws java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException

getNamespace

public static Namespace getNamespace(java.lang.String url)
                              throws java.io.IOException,
                                     org.xml.sax.SAXException