Class URIFactory<T,​P>


  • public class URIFactory<T,​P>
    extends java.lang.Object
    • Constructor Detail

      • URIFactory

        public URIFactory()
    • Method Detail

      • getDefaultURI

        public java.net.URI getDefaultURI()
      • setDefaultURI

        public void setDefaultURI​(java.net.URI uri)
      • registerSchema

        public void registerSchema​(URISchema<T,​P> schemaFactory)
      • removeSchema

        public void removeSchema​(java.lang.String schemaName)
      • expandURI

        public java.net.URI expandURI​(java.lang.String uriString)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • newObject

        public T newObject​(java.net.URI uri,
                           P param)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • newObject

        public T newObject​(java.net.URI uri,
                           java.util.Map<java.lang.String,​java.lang.String> overrides,
                           P param)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • newObject

        public T newObject​(java.lang.String uri,
                           P param)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • populateObject

        public void populateObject​(java.net.URI uri,
                                   T bean)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • populateObject

        public void populateObject​(java.lang.String uri,
                                   T bean)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createSchema

        public java.net.URI createSchema​(java.lang.String scheme,
                                         T bean)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception