|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigBeanProxy
Marker interface that signifies that the interface
is meant to be used as a strongly-typed proxy to
Dom.
To obtain the Dom object, use Dom.unwrap(ConfigBeanProxy).
This design allows the interfaces to be implemented by other code
outside DOM more easily.
Dom.unwrap(ConfigBeanProxy),
DuckTyped,
Element,
Attribute| Nested Class Summary | |
|---|---|
static class |
ConfigBeanProxy.Duck
|
| Method Summary | ||
|---|---|---|
|
createChild(java.lang.Class<T> type)
Creates a child element of this configuration element |
|
ConfigBeanProxy |
deepCopy(ConfigBeanProxy parent)
Performs a deep copy of this configuration element and returns it. |
|
ConfigBeanProxy |
getParent()
Returns the parent element of this configuration element. |
|
|
getParent(java.lang.Class<T> type)
Returns the typed parent element of this configuration element. |
|
| Method Detail |
|---|
@DuckTyped ConfigBeanProxy getParent()
@DuckTyped <T extends ConfigBeanProxy> T getParent(java.lang.Class<T> type)
type - parent's type
@DuckTyped
<T extends ConfigBeanProxy> T createChild(java.lang.Class<T> type)
throws TransactionFailure
type - the child element type
TransactionFailure - when called outside the boundaries of a transaction
@DuckTyped
ConfigBeanProxy deepCopy(ConfigBeanProxy parent)
throws TransactionFailure
parent - the writable copy of the parent
TransactionFailure - if the transaction cannot be completed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||