com.ibm.commons.xsd.xml
Class XmlDefinition
java.lang.Object
com.ibm.commons.xsd.xml.XmlDefinition
public class XmlDefinition
- extends java.lang.Object
A wrapper class that is used to describe the data that published to the JSF data model by a tag.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlDefinition
public XmlDefinition()
- Default constructor
XmlDefinition
public XmlDefinition(com.ibm.commons.xml.NamespaceContext namespaceContext,
java.lang.String currentXpath,
XSDSchemaSet schemaSet)
getCurrentXpath
public java.lang.String getCurrentXpath()
setCurrentXpath
public void setCurrentXpath(java.lang.String currentXpath)
- Parameters:
currentXpath
- An XPath that sets a node within the XSDSchemaSet
as the root
of the current XMLDefinition. When the data tooling is calculating which
node in the XSDSchemaSet to set as the root node this property will first be queried.
getNamespaceContext
public com.ibm.commons.xml.NamespaceContext getNamespaceContext()
setNamespaceContext
public void setNamespaceContext(com.ibm.commons.xml.NamespaceContext namespaceContext)
getSchemaSet
public XSDSchemaSet getSchemaSet()
setSchemaSet
public void setSchemaSet(XSDSchemaSet schemaSet)
- Sets the
XSDSchemaSet
that is to be used to define the
data that is published to the JSF data model by the entity that this XmlDefinition represents.
- Parameters:
schemaSet
- - See Also:
XSDSchemaSet
trimXPath
public java.lang.String trimXPath(java.lang.String originalXpath)