|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.security.xacml.sunxacml.attr.AttributeValue
org.jboss.security.xacml.sunxacml.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.jboss.security.xacml.sunxacml.attr.AttributeValue |
|---|
encode, 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 represented| Method 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
URISyntaxExceptionpublic URI getValue()
URI value represented by this object.
URI valuepublic boolean equals(Object o)
equals in class Objecto - the object to compare
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String encode()
AttributeValue
encode in class AttributeValueString form of the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||