Class XPathContainer
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.SignatureElementProxy
-
- org.apache.xml.security.transforms.params.XPathContainer
-
- All Implemented Interfaces:
TransformParam
public class XPathContainer extends SignatureElementProxy implements TransformParam
This Object serves both as namespace prefix resolver and as container for theds:XPath
Element. It implements theElement
interface and can be used directly in a DOM tree.
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description XPathContainer(org.w3c.dom.Document doc)
Constructor XPathContainer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseLocalName()
Returns the localname of the Elements of the sub-class.java.lang.String
getXPath()
Returns the TEXT value of theds:XPath
Element.void
setXPath(java.lang.String xpath)
Sets the TEXT value of theds:XPath
Element.-
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
-
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
-
-
-
Method Detail
-
setXPath
public void setXPath(java.lang.String xpath)
Sets the TEXT value of theds:XPath
Element.- Parameters:
xpath
-
-
getXPath
public java.lang.String getXPath()
Returns the TEXT value of theds:XPath
Element.- Returns:
- the TEXT value of the
ds:XPath
Element.
-
getBaseLocalName
public java.lang.String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-
-