public class XPathAwareCloner extends Object
| Constructor and Description |
|---|
XPathAwareCloner() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepCopy(Object o)
Clone this JAXB object, using default JAXBContext.
|
Object |
deepCopy(Object o,
JAXBContext jc)
Clone this JAXB object
|
Binder<Node> |
getBinder()
Enables synchronization between XML infoset nodes and JAXB objects
representing same XML document.
|
List<Object> |
getJAXBNodesViaXPath(String xpathExpr,
boolean refreshXmlFirst)
Fetch JAXB Nodes matching an XPath (for example "//w:p").
|
static void |
main(String[] args) |
public Object deepCopy(Object o, JAXBContext jc)
value - jc - public Binder<Node> getBinder()
public List<Object> getJAXBNodesViaXPath(String xpathExpr, boolean refreshXmlFirst) throws JAXBException, XPathBinderAssociationIsPartialException
xpathExpr - refreshXmlFirst - JAXBExceptionXPathBinderAssociationIsPartialExceptionpublic static void main(String[] args) throws JAXBException, XPathBinderAssociationIsPartialException
args - JAXBExceptionXPathBinderAssociationIsPartialExceptionCopyright © 2007-2020. All Rights Reserved.