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.- Author:
- Christian Geuer-Pollmann
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
-
-
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, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, 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()
Description copied from class:ElementProxy
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.
-
-