public interface XPathEnabled<E>
| Modifier and Type | Method and Description |
|---|---|
E |
createBinderAndJaxbElement(E source)
Set the JAXBElement for this part, and a corresponding
binder, based on the object provided.
|
Binder<Node> |
getBinder()
Enables synchronization between XML infoset nodes and JAXB objects
representing same XML document.
|
List<JAXBAssociation> |
getJAXBAssociationsForXPath(Object someJaxbElement,
String xpathExpr,
boolean refreshXmlFirst)
Fetch DOM node / JAXB object pairs matching an XPath (for example ".//w:p" - note the dot,
which is necessary for this sort of relative path).
|
List<JAXBAssociation> |
getJAXBAssociationsForXPath(String xpathExpr,
boolean refreshXmlFirst)
Fetch DOM node / JAXB object pairs matching an XPath (for example "//w:p").
|
List<Object> |
getJAXBNodesViaXPath(String xpathExpr,
boolean refreshXmlFirst)
Fetch JAXB Nodes matching an XPath (for example "//w:p").
|
List<Object> |
getJAXBNodesViaXPath(String xpathExpr,
Object someJaxbElement,
boolean refreshXmlFirst)
Fetch JAXB Nodes matching an XPath (for example ".//w:p" - note the dot,
which is necessary for this sort of relative path).
|
Binder<Node> getBinder()
E createBinderAndJaxbElement(E source) throws JAXBException
source - JAXBExceptionList<Object> getJAXBNodesViaXPath(String xpathExpr, boolean refreshXmlFirst) throws JAXBException, XPathBinderAssociationIsPartialException
xpathExpr - refreshXmlFirst - JAXBExceptionXPathBinderAssociationIsPartialExceptionList<Object> getJAXBNodesViaXPath(String xpathExpr, Object someJaxbElement, boolean refreshXmlFirst) throws JAXBException, XPathBinderAssociationIsPartialException
xpathExpr - someJaxbElement - refreshXmlFirst - JAXBExceptionXPathBinderAssociationIsPartialExceptionList<JAXBAssociation> getJAXBAssociationsForXPath(String xpathExpr, boolean refreshXmlFirst) throws JAXBException, XPathBinderAssociationIsPartialException
binder - jaxbElement - xpathExpr - refreshXmlFirst - JAXBExceptionXPathBinderAssociationIsPartialExceptionList<JAXBAssociation> getJAXBAssociationsForXPath(Object someJaxbElement, String xpathExpr, boolean refreshXmlFirst) throws JAXBException, XPathBinderAssociationIsPartialException
binder - jaxbElement - xpathExpr - refreshXmlFirst - JAXBExceptionXPathBinderAssociationIsPartialExceptionCopyright © 2007-2022. All Rights Reserved.