|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.attr.AttributeValue
org.wso2.balana.attr.AnyURIAttribute
public class AnyURIAttribute
Representation of an xs:anyURI value. This class supports parsing xs:anyURI values.
Field Summary | |
---|---|
static String |
identifier
Official name of this type |
Constructor Summary | |
---|---|
AnyURIAttribute(URI value)
Creates a new AnyURIAttribute that represents the URI value supplied. |
Method Summary | |
---|---|
String |
encode()
Encodes the value in a form suitable for including in XML data like a request or an obligation. |
boolean |
equals(Object o)
Returns true if the input is an instance of this class and if its value equals the value contained in this class. |
static AnyURIAttribute |
getInstance(Node root)
Returns a new AnyURIAttribute that represents the xs:anyURI at a particular DOM
node. |
static AnyURIAttribute |
getInstance(String value)
Returns a new AnyURIAttribute that represents the xs:anyURI value indicated by
the String provided. |
URI |
getValue()
Returns the URI value represented by this object. |
int |
hashCode()
Returns the hashcode value used to index and compare this object with others of the same type. |
String |
toString()
Converts to a String representation. |
Methods inherited from class org.wso2.balana.attr.AttributeValue |
---|
encode, encodeWithTags, evaluate, evaluatesToBag, getChildren, getType, isBag, returnsBag |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String identifier
Constructor Detail |
---|
public AnyURIAttribute(URI value)
AnyURIAttribute
that represents the URI value supplied.
value
- the URI
value to be representedMethod Detail |
---|
public static AnyURIAttribute getInstance(Node root) throws URISyntaxException
AnyURIAttribute
that represents the xs:anyURI at a particular DOM
node.
root
- the Node
that contains the desired value
AnyURIAttribute
representing the appropriate value (null if there
is a parsing error)
URISyntaxException
public static AnyURIAttribute getInstance(String value) throws URISyntaxException
AnyURIAttribute
that represents the xs:anyURI value indicated by
the String
provided.
value
- a string representing the desired value
AnyURIAttribute
representing the appropriate value
URISyntaxException
public URI getValue()
URI
value represented by this object.
URI
valuepublic boolean equals(Object o)
equals
in class Object
o
- the object to compare
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String encode()
AttributeValue
encode
in class AttributeValue
String
form of the value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |