org.apache.xml.security.transforms.params
Class XPathFilterCHGPContainer

java.lang.Object
  extended by org.apache.xml.security.utils.ElementProxy
      extended by org.apache.xml.security.transforms.params.XPathFilterCHGPContainer
All Implemented Interfaces:
TransformParam

public class XPathFilterCHGPContainer
extends ElementProxy
implements TransformParam

Implements the parameters for a custom Transform which has a better performance than the xfilter2.

Author:
$Author: coheigea $

Field Summary
static String _ATT_INCLUDESLASH
          Field _ATT_INCLUDESLASH
static String _TAG_XPATHCHGP
          Field _TAG_XPATHCHGP
static boolean ExcludeSlash
          Field ExcludeSlash
static boolean IncludeSlash
          Field IncludeSlash
static String TRANSFORM_XPATHFILTERCHGP
           
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, log
 
Method Summary
 String getBaseLocalName()
          Method getBaseLocalName
 String getBaseNamespace()
          Method getBaseNamespace
 String getExclude()
          Method getExclude
 String getExcludeButSearch()
          Method getExcludeButSearch
 Node getHereContextNodeExclude()
          Method getHereContextNodeExclude
 Node getHereContextNodeExcludeButSearch()
          Method getHereContextNodeExcludeButSearch
 Node getHereContextNodeIncludeButSearch()
          Method getHereContextNodeIncludeButSearch
 String getIncludeButSearch()
          Method getIncludeButSearch
 boolean getIncludeSlashPolicy()
          Method getIncludeSlashPolicy
static XPathFilterCHGPContainer getInstance(Document doc, boolean includeSlashPolicy, String includeButSearch, String excludeButSearch, String exclude)
          Creates a new XPathFilterCHGPContainer; needed for generation.
static XPathFilterCHGPContainer getInstance(Element element, String BaseURI)
          Creates a XPathFilterCHGPContainer from an existing Element; needed for verification.
 
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
 

Field Detail

TRANSFORM_XPATHFILTERCHGP

public static final String TRANSFORM_XPATHFILTERCHGP
See Also:
Constant Field Values

_TAG_XPATHCHGP

public static final String _TAG_XPATHCHGP
Field _TAG_XPATHCHGP

See Also:
Constant Field Values

_ATT_INCLUDESLASH

public static final String _ATT_INCLUDESLASH
Field _ATT_INCLUDESLASH

See Also:
Constant Field Values

IncludeSlash

public static final boolean IncludeSlash
Field IncludeSlash

See Also:
Constant Field Values

ExcludeSlash

public static final boolean ExcludeSlash
Field ExcludeSlash

See Also:
Constant Field Values
Method Detail

getInstance

public static XPathFilterCHGPContainer getInstance(Document doc,
                                                   boolean includeSlashPolicy,
                                                   String includeButSearch,
                                                   String excludeButSearch,
                                                   String exclude)
Creates a new XPathFilterCHGPContainer; needed for generation.

Parameters:
doc -
includeSlashPolicy -
includeButSearch -
excludeButSearch -
exclude -
Returns:
the created object

getInstance

public static XPathFilterCHGPContainer getInstance(Element element,
                                                   String BaseURI)
                                            throws XMLSecurityException
Creates a XPathFilterCHGPContainer from an existing Element; needed for verification.

Parameters:
element -
BaseURI -
Returns:
the created object.
Throws:
XMLSecurityException

getIncludeButSearch

public String getIncludeButSearch()
Method getIncludeButSearch

Returns:
the string

getExcludeButSearch

public String getExcludeButSearch()
Method getExcludeButSearch

Returns:
the string

getExclude

public String getExclude()
Method getExclude

Returns:
the string

getIncludeSlashPolicy

public boolean getIncludeSlashPolicy()
Method getIncludeSlashPolicy

Returns:
the string

getHereContextNodeIncludeButSearch

public Node getHereContextNodeIncludeButSearch()
Method getHereContextNodeIncludeButSearch

Returns:
the string

getHereContextNodeExcludeButSearch

public Node getHereContextNodeExcludeButSearch()
Method getHereContextNodeExcludeButSearch

Returns:
the string

getHereContextNodeExclude

public Node getHereContextNodeExclude()
Method getHereContextNodeExclude

Returns:
the string

getBaseLocalName

public final String getBaseLocalName()
Method getBaseLocalName

Specified by:
getBaseLocalName in class ElementProxy
Returns:
the localname of the Elements of the sub-class.

getBaseNamespace

public final String getBaseNamespace()
Method getBaseNamespace

Specified by:
getBaseNamespace in class ElementProxy
Returns:
the namespace of the Elements of the sub-class.


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.