|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.validation.internal.reference.URIReference
public class URIReference
Represents an URI as specified by the grammer:
http://www.ietf.org/rfc/rfc3986.txt
| Constructor Summary | |
|---|---|
URIReference(java.lang.String reference)
Constructor. |
|
| Method Summary | |
|---|---|
protected java.net.URI |
getBase()
|
java.lang.String |
getDocumentReference()
The document reference is basically the |
java.lang.String |
getFragment()
Retuns the query string of the URI |
protected java.net.URI |
getReference()
|
boolean |
isTransformed()
Returns true if this reference has already been transformed; false otherwise. |
org.w3c.dom.Node |
retrieveDocumentDOM()
Retrieves the document node and returns the result |
protected void |
setBase(java.net.URI base)
|
protected void |
setReference(java.net.URI reference)
|
void |
transform()
The transformation will be based on [RFC 3986]: http://www.ietf.org/rfc/rfc3986.txt. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIReference(java.lang.String reference)
throws java.net.URISyntaxException
reference - The string representing the XPointer expression
java.net.URISyntaxException - If the URI has an incorrect syntax| Method Detail |
|---|
public java.lang.String getDocumentReference()
throws java.net.URISyntaxException
getDocumentReference in interface IReferenceExpressionjava.net.URISyntaxException
public java.lang.String getFragment()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic boolean isTransformed()
IReferenceExpression
isTransformed in interface IReferenceExpressionIReferenceExpression.isTransformed()
public void transform()
throws java.net.URISyntaxException
http://www.ietf.org/rfc/rfc3986.txt.
See section 5 for more details.
transform in interface IReferenceExpressionjava.net.URISyntaxException - If the base URI is invalidIReferenceExpression.transform()
public org.w3c.dom.Node retrieveDocumentDOM()
throws java.net.URISyntaxException,
SMLValidatorUtil.RemoteRetrievalException
java.net.URISyntaxException
SMLValidatorUtil.RemoteRetrievalExceptionprotected java.net.URI getReference()
protected void setReference(java.net.URI reference)
reference - the reference to setprotected java.net.URI getBase()
protected void setBase(java.net.URI base)
base - the base to set
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||