public abstract class AbstractAttributeProxy extends Object implements AttributeProxy
AttributeProxy
introduces simple method when there is no
additional parameters to create the instanceConstructor and Description |
---|
AbstractAttributeProxy() |
Modifier and Type | Method and Description |
---|---|
abstract AttributeValue |
getInstance(String value)
Tries to create a new
AttributeValue based on the given String data. |
AttributeValue |
getInstance(String value,
String[] params)
Tries to create a new
AttributeValue based on the given String data. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance
public abstract AttributeValue getInstance(String value) throws Exception
AttributeValue
based on the given String data.value
- 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)public AttributeValue getInstance(String value, String[] params) throws Exception
AttributeProxy
AttributeValue
based on the given String data.getInstance
in interface AttributeProxy
value
- the text form of some attribute dataparams
- additional parameters that need to creates a valueAttributeValue
representing the given dataException
- if the data couldn't be used (the exception is typically wrapping some
other exception)Copyright © 2021 WSO2. All rights reserved.