public class XmlMapping
extends java.lang.Object
implements java.lang.Cloneable
To learn more, visit the Structured Document Tags or Content Control documentation article.
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes mapping of the parent structured document to XML data.
|
CustomXmlPart |
getCustomXmlPart()
Returns the custom XML data part to which the parent structured document tag is mapped.
|
java.lang.String |
getPrefixMappings()
Returns XML namespace prefix mappings to evaluate the
getXPath(). |
java.lang.String |
getStoreItemId()
Specifies the custom XML data identifier for the custom XML data part which shall be used to evaluate the
getXPath() expression. |
java.lang.String |
getXPath()
Returns the XPath expression, which is evaluated to find the custom XML node that is mapped to the parent structured document tag.
|
boolean |
isMapped()
Returns true if the parent structured document tag is successfully mapped to XML data.
|
protected java.lang.Object |
memberwiseClone() |
boolean |
setMapping(CustomXmlPart customXmlPart,
java.lang.String xPath,
java.lang.String prefixMapping)
Sets a mapping between the parent structured document tag and an XML node of a custom XML data part.
|
public boolean setMapping(CustomXmlPart customXmlPart, java.lang.String xPath, java.lang.String prefixMapping) throws java.lang.Exception
customXmlPart - A custom XML data part to map to.xPath - An XPath expression to find the XML node.prefixMapping - XML namespace prefix mappings to evaluate the XPath.java.lang.Exceptionpublic void delete()
public java.lang.String getPrefixMappings()
getXPath().
Specifies the set of prefix mappings, which shall be used to interpret the XPath expression when the XPath expression is evaluated against the custom XML data parts in the document.getXPath().public java.lang.String getXPath()
public CustomXmlPart getCustomXmlPart()
public boolean isMapped()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getStoreItemId()
getXPath() expression.String value.protected java.lang.Object memberwiseClone()