|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeProxy
Used by the AttributeFactory to create new attributes.
Typically a new proxy class is created which in turn knows how to create
a specific kind of attribute, and then this proxy class is installed in
the AttributeFactory.
| 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. |
| Method Detail |
|---|
AttributeValue getInstance(Node root)
throws Exception
AttributeValue based on the given
DOM root node.
root - the DOM root of some attribute data
AttributeValue representing the given data
Exception - if the data couldn't be used (the exception is
typically wrapping some other exception)
AttributeValue getInstance(String value)
throws Exception
AttributeValue based on the given
String data.
value - the text form of some attribute data
AttributeValue representing the given data
Exception - if the data couldn't be used (the exception is
typically wrapping some other exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||