Class URI


  • public class URI
    extends AbstractXJdfType<java.lang.String,​URI>
    Implementation of the XJDF URI data type.
    • Constructor Summary

      Constructors 
      Constructor Description
      URI()
      Default Constructor.
      URI​(java.lang.String uri)
      Custom Constructor.
      URI​(java.net.URI uri)
      Custom Constructor.
    • Constructor Detail

      • URI

        public URI()
        Default Constructor.
      • URI

        public URI​(java.lang.String uri)
            throws java.net.URISyntaxException
        Custom 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:
        marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​URI>
      • unmarshal

        public final URI unmarshal​(java.lang.String value)
                            throws java.lang.Exception
        Specified by:
        unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​URI>
        Throws:
        java.lang.Exception
      • toString

        public final java.lang.String toString()
        Specified by:
        toString in class AbstractXJdfType<java.lang.String,​URI>
        See Also:
        Object.toString()