Module org.apache.santuario.xmlsec
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:XPathElement. It implements theElementinterface 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(Document doc)Constructor XPathContainer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseLocalName()Returns the localname of the Elements of the sub-class.StringgetXPath()Returns the TEXT value of theds:XPathElement.voidsetXPath(String xpath)Sets the TEXT value of theds:XPathElement.-
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
-
-
-
-
Constructor Detail
-
XPathContainer
public XPathContainer(Document doc)
Constructor XPathContainer- Parameters:
doc-
-
-
Method Detail
-
setXPath
public void setXPath(String xpath)
Sets the TEXT value of theds:XPathElement.- Parameters:
xpath-
-
getXPath
public String getXPath()
Returns the TEXT value of theds:XPathElement.- Returns:
- the TEXT value of the
ds:XPathElement.
-
getBaseLocalName
public String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
-