Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class org.apache.xml.security.utils.ElementProxy
`baseURI, constructionElement, doc, log`

Constructor Summary
`XPathContainer(org.w3c.dom.Document doc)` Constructor XPathContainer

Method Summary
`java.lang.String` | `getBaseLocalName()` Returns the localname of the Elements of the sub-class.
`java.lang.String` | `getXPath()` Returns the TEXT value of the `ds:XPath` Element.
`void` | `setXPath(java.lang.String xpath)` Sets the TEXT value of the `ds: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, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XPathContainer

    public XPathContainer(org.w3c.dom.Document doc)

  Constructor XPathContainer

  Parameters:
    `doc` -

Method Detail

### setXPath

    public void setXPath(java.lang.String xpath)

  Sets the TEXT value of the `ds:XPath` Element.

  Parameters:
    `xpath` -

### getXPath

    public java.lang.String getXPath()

  Returns the TEXT value of the `ds: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 class `ElementProxy`
  Returns:
    the localname of the Elements of the sub-class.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD