org.rddl.helpers
Class RDDLURL
java.lang.Object
|
+--org.rddl.helpers.RDDLURL
- public class RDDLURL
- extends java.lang.Object
Constructor Summary |
RDDLURL(java.lang.String namespaceURL)
|
RDDLURL(java.lang.String namespaceURL,
java.lang.String roleURI,
java.lang.String arcroleURI)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namespaceURI
protected java.lang.String namespaceURI
arcrole
protected java.lang.String arcrole
role
protected java.lang.String role
contentType
protected java.lang.String contentType
RDDLURL
public RDDLURL(java.lang.String namespaceURL)
RDDLURL
public RDDLURL(java.lang.String namespaceURL,
java.lang.String roleURI,
java.lang.String arcroleURI)
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