public class URI extends AbstractXJdfType<java.lang.String,URI>
| Constructor and Description |
|---|
URI()
Constructor.
|
URI(java.net.URI sourceUri)
Constructor.
|
URI(java.net.URI sourceUri,
java.lang.String destPath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
complete()
Completes this URI in order to marshal the correct file reference.
|
java.lang.String |
getDestinationPath()
Get the destination path.
|
java.net.URI |
getSourceUri()
Get the source uri.
|
java.lang.String |
marshal(URI v) |
java.lang.String |
toString() |
URI |
unmarshal(java.lang.String v) |
equals, hashCodepublic URI()
public URI(java.net.URI sourceUri)
sourceUri - Source uri of the file.public URI(java.net.URI sourceUri,
java.lang.String destPath)
throws java.net.URISyntaxException
sourceUri - Source uri.destPath - Destination path. Should be given in case the file has to be packaged.java.net.URISyntaxExceptionpublic final java.net.URI getSourceUri()
public final java.lang.String getDestinationPath()
public final URI complete()
public final java.lang.String marshal(URI v)
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,URI>public final URI unmarshal(java.lang.String v) throws java.lang.Exception
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,URI>java.lang.Exceptionpublic final java.lang.String toString()
toString in class AbstractXJdfType<java.lang.String,URI>Object.toString()