Package org.glassfish.hk2.xml.internal
Class XmlRootCopyImpl<T>
java.lang.Object
org.glassfish.hk2.xml.internal.XmlRootCopyImpl<T>
- All Implemented Interfaces:
XmlRootCopy<T>
- Author:
- jwells
-
Method Summary
-
Method Details
-
getParent
Description copied from interface:XmlRootCopyGets the XmlRootHandle from which this copy was created- Specified by:
getParentin interfaceXmlRootCopy<T>- Returns:
-
getChildRoot
Description copied from interface:XmlRootCopyGets the root of the JavaBean tree- Specified by:
getChildRootin interfaceXmlRootCopy<T>- Returns:
- The root of the JavaBean tree. Will only return null if the tree has not yet been created
-
isMergeable
public boolean isMergeable()Description copied from interface:XmlRootCopyReturns true if this child copy can still have merge called on it succesfully- Specified by:
isMergeablein interfaceXmlRootCopy<T>- Returns:
- true if it is still possible to call merge (i.e., there has not been a change to the parent tree since this copy was made)
-
merge
public void merge()Description copied from interface:XmlRootCopyMerges the changes made to this tree into the parent tree- Specified by:
mergein interfaceXmlRootCopy<T>
-
toString
-