Class ConfTag

Object
com.tailf.conf.ConfObject
com.tailf.conf.ConfTag
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
ConfTagDefault

public class ConfTag extends ConfObject implements Cloneable, Serializable
Class representing an element in a model. This class is used e.g when an instance path is represented as an array of ConfTag/ConfKey values.
See Also:
  • Constructor Details

  • Method Details

    • getTagHash

      public int getTagHash()
    • getNSHash

      public int getNSHash()
    • getTag

      public String getTag()
    • getURI

      public String getURI()
    • getPrefix

      public String getPrefix()
    • getConfNamespace

      public ConfNamespace getConfNamespace()
    • isLenient

      public boolean isLenient()
    • setLenient

      public void setLenient(boolean lenient)
    • setConfNamespace

      public void setConfNamespace(ConfNamespace ns_obj)
    • equals

      public boolean equals(Object o)
      Determine if two ConfTags are equal. Two ConfTag are equals if their tagname and nsUri are equals. or if tag values and ns values are the same.
      Specified by:
      equals in class ConfObject
      Parameters:
      o - ConfObjectRef that is to be compared to.
      Returns:
      true if the objects are identical.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class ConfObject
    • toString

      public String toString()
      Specified by:
      toString in class ConfObject
      Returns:
      the printable representation of the object.
    • encode

      public ConfEObject encode()
      Specified by:
      encode in class ConfObject
    • encodeIKP

      public ConfEObject encodeIKP()