JBoss port of sunxacml 2.0.8.Final-redhat-1

org.jboss.security.xacml.sunxacml.attr.proxy
Class IPAddressAttributeProxy

java.lang.Object
  extended by org.jboss.security.xacml.sunxacml.attr.proxy.IPAddressAttributeProxy
All Implemented Interfaces:
AttributeProxy

public class IPAddressAttributeProxy
extends Object
implements AttributeProxy

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

Since:
2.0
Author:
Seth Proctor

Constructor Summary
IPAddressAttributeProxy()
           
 
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

IPAddressAttributeProxy

public IPAddressAttributeProxy()
Method Detail

getInstance

public AttributeValue getInstance(Node root)
                           throws ParsingException
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:
ParsingException

getInstance

public AttributeValue getInstance(String value)
                           throws ParsingException
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:
ParsingException

JBoss port of sunxacml 2.0.8.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.