@Customizer(value=ConfigBeanProxyCustomizer.class) public interface ConfigBeanProxy
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
Modifier and Type | Interface and Description |
---|---|
static class |
ConfigBeanProxy.Duck |
Modifier and Type | Method and Description |
---|---|
<T extends ConfigBeanProxy> |
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.
|
<T extends ConfigBeanProxy> |
getParent(Class<T> type)
Returns the typed parent element of this configuration element.
|
@DuckTyped @Customize ConfigBeanProxy getParent()
@DuckTyped @Customize <T extends ConfigBeanProxy> T getParent(Class<T> type)
type
- parent's type@DuckTyped @Customize <T extends ConfigBeanProxy> T createChild(Class<T> type) throws TransactionFailure
type
- the child element typeTransactionFailure
- when called outside the boundaries of a transaction@DuckTyped @Customize ConfigBeanProxy deepCopy(ConfigBeanProxy parent) throws TransactionFailure
parent
- the writable copy of the parentTransactionFailure
- if the transaction cannot be completed.Copyright © 2020. All rights reserved.