Package com.tailf.conf
Class ConfTag
Object
com.tailf.conf.ConfObject
com.tailf.conf.ConfTag
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
ConfTagDefault
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:
-
Field Summary
Fields inherited from class com.tailf.conf.ConfObject
J_BINARY, J_BIT32, J_BIT64, J_BITBIG, J_BOOL, J_BUF, J_CDBBEGIN, J_DATE, J_DATETIME, J_DECIMAL64, J_DEFAULT, J_DOUBLE, J_DQUAD, J_DURATION, J_ENUMERATION, J_HEXSTR, J_IDENTITYREF, J_INSTANCE_IDENTIFIER, J_INT16, J_INT32, J_INT64, J_INT8, J_IPV4, J_IPV4_AND_PLEN, J_IPV4PREFIX, J_IPV6, J_IPV6_AND_PLEN, J_IPV6PREFIX, J_LIST, J_NOEXISTS, J_OBJECTREF, J_OID, J_PTR, J_QNAME, J_STR, J_SYMBOL, J_TIME, J_UINT16, J_UINT32, J_UINT64, J_UINT8, J_UNION, J_XMLBEGIN, J_XMLBEGINDEL, J_XMLEND, J_XMLMOVEAFTER, J_XMLMOVEFIRST, J_XMLTAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode()
boolean
Determine if two ConfTags are equal.int
getTag()
int
getURI()
int
hashCode()
boolean
void
setConfNamespace
(ConfNamespace ns_obj) void
setLenient
(boolean lenient) toString()
Methods inherited from class com.tailf.conf.ConfObject
clone, decode
-
Constructor Details
-
ConfTag
-
ConfTag
-
ConfTag
public ConfTag(int ns, int tag) -
ConfTag
-
ConfTag
-
ConfTag
- Throws:
ConfException
-
ConfTag
-
ConfTag
-
-
Method Details
-
getTagHash
public int getTagHash() -
getNSHash
public int getNSHash() -
getTag
-
getURI
-
getPrefix
-
getConfNamespace
-
isLenient
public boolean isLenient() -
setLenient
public void setLenient(boolean lenient) -
setConfNamespace
-
equals
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 classConfObject
- Parameters:
o
- ConfObjectRef that is to be compared to.- Returns:
- true if the objects are identical.
-
hashCode
public int hashCode()- Specified by:
hashCode
in classConfObject
-
toString
- Specified by:
toString
in classConfObject
- Returns:
- the printable representation of the object.
-
encode
- Specified by:
encode
in classConfObject
-
encodeIKP
-