@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface DefaultChild
When getting a read-only copy of the tree (see
XmlRootHandle.getReadOnlyRoot(boolean)
)
where defaults are not represented this default bean will NOT be returned.
If any value in this bean is modified then this will no longer be
considered the default child bean and hence will show up
when getting the read-only version of this bean
Cycles of Default children bean are not supported and will cause the system to fail at runtime
Modifier and Type | Optional Element and Description |
---|---|
String[] |
value
Each string in this array must be of
the form "name[=value]"
where name is the xml name of the non-child element
to set and value is the string representation (that will
be transformed if necessary) of the value.
|
public abstract String[] value
Copyright © 2009–2015 Oracle Corporation. All rights reserved.