Class Template

    • Constructor Detail

      • Template

        public Template​(String pattern)
        Deprecated.
        Parameters:
        pattern - A URI Template
    • Method Detail

      • getPattern

        public String getPattern()
        Deprecated.
        Return the URI Template pattern
      • getPatternForDisplay

        public String getPatternForDisplay()
        Deprecated.
        IRI Templates that contain bidirectional characters will typically not display properly in unicode enabled environments. This method return the Template with appropriate bidi control characters to ensure that the Template can be rendered properly for display
      • getVariables

        public String[] getVariables()
        Deprecated.
        Return the array of template variables
      • expand

        public String expand​(Context context)
        Deprecated.
        Expand the URI Template using the specified Context.
        Parameters:
        context - The Context impl used to resolve variable values
        Returns:
        An expanded URI
      • expand

        public String expand​(Object object)
        Deprecated.
        Expand the URI Template using the non-private fields and methods of the specified object to resolve the template tokens
      • expand

        public String expand​(Object object,
                             boolean isiri)
        Deprecated.
        Expand the template using the non-private fields and methods of the specified object to resolve the template tokens. If isiri is true, IRI escaping rules will be used.
      • clone

        public Template clone()
        Deprecated.
        Clone this Template instance
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • explain

        public String explain()
        Deprecated.
      • expand

        public static String expand​(String pattern,
                                    Object object,
                                    boolean isiri)
        Deprecated.
      • expandAnnotated

        public static String expandAnnotated​(Object object)
        Deprecated.
        Use an Object annotated with the URITemplate annotation to expand a template
      • explain

        public static String explain​(String pattern)
        Deprecated.