Class XPathFilterCHGPContainer
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.transforms.params.XPathFilterCHGPContainer
- All Implemented Interfaces:
TransformParam
Implements the parameters for a custom Transform which has a better performance
thatn the xfilter2.
- Author:
- $Author$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringField _ATT_INCLUDESLASHstatic final StringField _TAG_XPATHCHGPstatic final booleanField ExcludeSlashstatic final booleanField IncludeSlashFields 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 -
Method Summary
Modifier and TypeMethodDescriptionfinal StringMethod getBaseLocalNamefinal StringMethod getBaseNamespaceMethod getExcludeMethod getExcludeButSearchMethod getHereContextNodeExcludeMethod getHereContextNodeExcludeButSearchMethod getHereContextNodeIncludeButSearchMethod getIncludeButSearchbooleanMethod getIncludeSlashPolicystatic XPathFilterCHGPContainergetInstance(Document doc, boolean includeSlashPolicy, String includeButSearch, String excludeButSearch, String exclude) Creates a new XPathFilterCHGPContainer; needed for generation.static XPathFilterCHGPContainergetInstance(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, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
-
Field Details
-
_TAG_XPATHCHGP
Field _TAG_XPATHCHGP- See Also:
-
_ATT_INCLUDESLASH
Field _ATT_INCLUDESLASH- See Also:
-
IncludeSlash
public static final boolean IncludeSlashField IncludeSlash- See Also:
-
ExcludeSlash
public static final boolean ExcludeSlashField ExcludeSlash- See Also:
-
-
Method Details
-
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
Method getIncludeButSearch- Returns:
- the string
-
getExcludeButSearch
Method getExcludeButSearch- Returns:
- the string
-
getExclude
Method getExclude- Returns:
- the string
-
getIncludeSlashPolicy
public boolean getIncludeSlashPolicy()Method getIncludeSlashPolicy- Returns:
- the string
-
getHereContextNodeIncludeButSearch
Method getHereContextNodeIncludeButSearch- Returns:
- the string
-
getHereContextNodeExcludeButSearch
Method getHereContextNodeExcludeButSearch- Returns:
- the string
-
getHereContextNodeExclude
Method getHereContextNodeExclude- Returns:
- the string
-
getBaseLocalName
Method getBaseLocalName- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
getBaseNamespace
Method getBaseNamespace- Specified by:
getBaseNamespacein classElementProxy- Returns:
- the namespace of the Elements of the sub-class.
-