public class RFC822NameAttributeProxy extends AbstractAttributeProxy
| Constructor and Description |
|---|
RFC822NameAttributeProxy() |
| 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. |
getInstancepublic AttributeValue getInstance(Node root) throws Exception
AttributeProxyAttributeValue based on the given DOM root node.root - the DOM root of some attribute dataAttributeValue representing the given dataException - if the data couldn't be used (the exception is typically wrapping some
other exception)public AttributeValue getInstance(String value) throws Exception
AbstractAttributeProxyAttributeValue based on the given String data.getInstance in class AbstractAttributeProxyvalue - the text form of some attribute dataAttributeValue representing the given dataException - if the data couldn't be used (the exception is typically wrapping some
other exception)Copyright © 2019 WSO2. All rights reserved.