SunTM's XACML Implementation for JavaTM

com.sun.xacml.attr.proxy
Class HexBinaryAttributeProxy

java.lang.Object
  extended bycom.sun.xacml.attr.proxy.HexBinaryAttributeProxy
All Implemented Interfaces:
AttributeProxy

public class HexBinaryAttributeProxy
extends Object
implements AttributeProxy

A proxy class that is provided mainly for the run-time configuration code to use.

Since:
1.2

Constructor Summary
HexBinaryAttributeProxy()
           
 
Method Summary
 AttributeValue getInstance(Node root)
          Tries to create a new AttributeValue based on the given DOM root node.
 AttributeValue getInstance(String value)
          Tries to create a new AttributeValue based on the given String data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexBinaryAttributeProxy

public HexBinaryAttributeProxy()
Method Detail

getInstance

public AttributeValue getInstance(Node root)
                           throws Exception
Description copied from interface: AttributeProxy
Tries to create a new AttributeValue based on the given DOM root node.

Specified by:
getInstance in interface AttributeProxy
Parameters:
root - the DOM root of some attribute data
Returns:
an AttributeValue representing the given data
Throws:
Exception - if the data couldn't be used (the exception is typically wrapping some other exception)

getInstance

public AttributeValue getInstance(String value)
                           throws Exception
Description copied from interface: AttributeProxy
Tries to create a new AttributeValue based on the given String data.

Specified by:
getInstance in interface AttributeProxy
Parameters:
value - the text form of some attribute data
Returns:
an AttributeValue representing the given data
Throws:
Exception - if the data couldn't be used (the exception is typically wrapping some other exception)

Sun's XACML Implementation Version 1.2

Copyright 2003-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.