Class Namespace


  • public class Namespace
    extends Object
    A namespace.
    Since:
    9.0RC1
    Version:
    $Id: b2f4b783c85354b67255e08cb220cf0292210839 $
    • Field Detail

      • ROOT

        public static final Namespace ROOT
        Root namespace.
        Since:
        9.7RC1
    • Constructor Detail

      • Namespace

        public Namespace​(String type,
                         String value)
        Parameters:
        type - the optional type
        value - the value
    • Method Detail

      • getType

        public String getType()
        Returns:
        the namespace type (can be null)
      • getValue

        public String getValue()
        Returns:
        the namespace value
      • hashCode

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

        public String serialize()
        Returns:
        String version of the namespace
        Since:
        9.5