| 
SunTM's XACML Implementation for JavaTM | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xacml.attr.AttributeValue
com.sun.xacml.attr.Base64BinaryAttribute
Representation of an xsi:base64Binary value. This class supports parsing xsi:base64Binary values. All objects of this class are immutable and all methods of the class are thread-safe.
| Field Summary | |
static String | 
identifier
Official name of this type  | 
| Constructor Summary | |
Base64BinaryAttribute(byte[] value)
Creates a new Base64BinaryAttribute that represents
 the byte [] 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 Base64BinaryAttribute | 
getInstance(Node root)
Returns a new Base64BinaryAttribute that represents
 the xsi:base64Binary at a particular DOM node. | 
static Base64BinaryAttribute | 
getInstance(String value)
Returns a new Base64BinaryAttribute that represents
 the xsi:base64Binary value indicated by the string provided. | 
 byte[] | 
getValue()
Returns the byte [] 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()
Returns a String representation.  | 
| Methods inherited from class com.sun.xacml.attr.AttributeValue | 
encode, encode, encodeWithTags, evaluate, evaluatesToBag, getChildren, getType, isBag | 
| 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 Base64BinaryAttribute(byte[] value)
Base64BinaryAttribute that represents
 the byte [] value supplied.
value - the byte [] value to be represented| Method Detail | 
public static Base64BinaryAttribute getInstance(Node root)
                                         throws ParsingException
Base64BinaryAttribute that represents
 the xsi:base64Binary at a particular DOM node.
root - the Node that contains the desired value
Base64BinaryAttribute representing the
         appropriate value
ParsingException - if a parsing error occurs
public static Base64BinaryAttribute getInstance(String value)
                                         throws ParsingException
Base64BinaryAttribute that represents
 the xsi:base64Binary value indicated by the string provided.
value - a string representing the desired value
Base64BinaryAttribute representing the
         desired value
ParsingException - if a parsing error occurspublic byte[] getValue()
byte [] value represented by this object.
 Note that this value is cloned before returning to prevent
 unauthorized modifications.
byte [] valuepublic boolean equals(Object o)
o - the object to compare
public int hashCode()
public String toString()
public String encode()
AttributeValue
encode in class AttributeValueString form of the value
  | 
Sun's XACML Implementation Version 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.