Package org.cip4.lib.xjdf.type
Class URI
- java.lang.Object
-
- jakarta.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
-
- org.cip4.lib.xjdf.type.AbstractXJdfType<java.lang.String,URI>
-
- org.cip4.lib.xjdf.type.URI
-
public class URI extends AbstractXJdfType<java.lang.String,URI>
Implementation of the XJDF URI data type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URIgetUri()Get the source uri.java.lang.Stringmarshal(URI v)java.lang.StringtoString()URIunmarshal(java.lang.String value)-
Methods inherited from class org.cip4.lib.xjdf.type.AbstractXJdfType
equals, hashCode
-
-
-
-
Constructor Detail
-
URI
public URI()
Default Constructor.
-
URI
public URI(java.lang.String uri) throws java.net.URISyntaxExceptionCustom Constructor. Using this constructor will not package the file.- Parameters:
uri- The uri of the file.- Throws:
java.net.URISyntaxException
-
URI
public URI(java.net.URI uri)
Custom Constructor. Using this constructor will not package the file.- Parameters:
uri- Source uri of the file.
-
-
Method Detail
-
getUri
public final java.net.URI getUri()
Get the source uri.- Returns:
- Source uri.
-
marshal
public final java.lang.String marshal(URI v)
- Specified by:
marshalin classjakarta.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,URI>
-
unmarshal
public final URI unmarshal(java.lang.String value) throws java.lang.Exception
- Specified by:
unmarshalin classjakarta.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,URI>- Throws:
java.lang.Exception
-
toString
public final java.lang.String toString()
- Specified by:
toStringin classAbstractXJdfType<java.lang.String,URI>- See Also:
Object.toString()
-
-