org.apache.xml.security.transforms.params
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
the ds:XPath
Element. It implements the Element
interface
and can be used directly in a DOM tree.
- Author:
- Christian Geuer-Pollmann
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathContainer
public XPathContainer(Document doc)
- Constructor XPathContainer
- Parameters:
doc
-
setXPath
public void setXPath(String xpath)
- Sets the TEXT value of the
ds:XPath
Element.
- Parameters:
xpath
-
getXPath
public String getXPath()
- Returns the TEXT value of the
ds:XPath
Element.
- Returns:
- the TEXT value of the
ds:XPath
Element.
getBaseLocalName
public String getBaseLocalName()
- Description copied from class:
ElementProxy
- Returns the localname of the Elements of the sub-class.
- Specified by:
getBaseLocalName
in class ElementProxy
- Returns:
- the localname of the Elements of the sub-class.
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.