|
||||||||||
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(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(Class<T> type)
Returns the typed parent element of this configuration element. |
Method Detail |
---|
@DuckTyped ConfigBeanProxy getParent()
@DuckTyped <T extends ConfigBeanProxy> T getParent(Class<T> type)
type
- parent's type
@DuckTyped <T extends ConfigBeanProxy> T createChild(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 |