org.wso2.balana.attr.proxy
Class StringAttributeProxy

java.lang.Object
  extended by org.wso2.balana.attr.proxy.AbstractAttributeProxy
      extended by org.wso2.balana.attr.proxy.StringAttributeProxy
All Implemented Interfaces:
AttributeProxy

public class StringAttributeProxy
extends AbstractAttributeProxy

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

Since:
1.2
Author:
Seth Proctor

Constructor Summary
StringAttributeProxy()
           
 
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 org.wso2.balana.attr.proxy.AbstractAttributeProxy
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringAttributeProxy

public StringAttributeProxy()
Method Detail

getInstance

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

Parameters:
root - the DOM root of some attribute data
Returns:
an AttributeValue representing the given data

getInstance

public AttributeValue getInstance(String value)
Description copied from class: AbstractAttributeProxy
Tries to create a new AttributeValue based on the given String data.

Specified by:
getInstance in class AbstractAttributeProxy
Parameters:
value - the text form of some attribute data
Returns:
an AttributeValue representing the given data


Copyright © 2015 WSO2. All rights reserved.