Class Type

    • Field Detail

      • WRITE

        public static final Type WRITE
    • Method Detail

      • hashCode

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

        public boolean equals​(Object obj)
        Returns true if this Type is equal to the given one.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
      • createFromXml

        public static Type createFromXml​(Element lockType)
        Create a Type object from the given Xml element.
        Parameters:
        lockType -
        Returns:
        Type object.
      • create

        public static Type create​(String localName,
                                  Namespace namespace)
        Create a Type object from the given localName and namespace.
        Parameters:
        localName -
        namespace -
        Returns:
        Type object.