|
||||||||||
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.RFC822NameAttribute
public class RFC822NameAttribute
Representation of an rfc822Name (ie, an email address).
Field Summary | |
---|---|
static String |
identifier
Official name of this type |
Constructor Summary | |
---|---|
RFC822NameAttribute(String value)
Creates a new RFC822NameAttribute that represents the
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 RFC822NameAttribute |
getInstance(Node root)
Returns a new RFC822NameAttribute that represents
the email address at a particular DOM node. |
static RFC822NameAttribute |
getInstance(String value)
Returns a new RFC822NameAttribute that represents
the email address value indicated by the string provided. |
String |
getValue()
Returns the name value represented by this object |
int |
hashCode()
Returns the hashcode value used to index and compare this object with others of the same type. |
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, toString, wait, wait, wait |
Field Detail |
---|
public static final String identifier
Constructor Detail |
---|
public RFC822NameAttribute(String value)
RFC822NameAttribute
that represents the
value supplied.
value
- the email address to be representedMethod Detail |
---|
public static RFC822NameAttribute getInstance(Node root)
RFC822NameAttribute
that represents
the email address at a particular DOM node.
root
- the Node
that contains the desired value
RFC822NameAttribute
representing the
appropriate valuepublic static RFC822NameAttribute getInstance(String value)
RFC822NameAttribute
that represents
the email address value indicated by the string provided.
value
- a string representing the desired value
RFC822NameAttribute
representing the
appropriate valuepublic String getValue()
public boolean equals(Object o)
equals
in class Object
o
- the object to compare
public int hashCode()
hashCode
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 |