public class StringAttributeProxy extends AbstractAttributeProxy
Constructor and Description |
---|
StringAttributeProxy() |
Modifier and Type | Method and Description |
---|---|
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. |
getInstance
public AttributeValue getInstance(Node root)
AttributeProxy
AttributeValue
based on the given DOM root node.root
- the DOM root of some attribute dataAttributeValue
representing the given datapublic AttributeValue getInstance(String value)
AbstractAttributeProxy
AttributeValue
based on the given String data.getInstance
in class AbstractAttributeProxy
value
- the text form of some attribute dataAttributeValue
representing the given dataCopyright © 2018 WSO2. All rights reserved.