public static class CryptoCoverageChecker.XPathExpression extends Object
Constructor and Description |
---|
CryptoCoverageChecker.XPathExpression(String xPath,
CryptoCoverageUtil.CoverageType type)
Create a new expression indicating a cryptographic coverage
requirement with
scope CryptoCoverageUtil.CoverageScope.ELEMENT . |
CryptoCoverageChecker.XPathExpression(String xPath,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope)
Create a new expression indicating a cryptographic coverage
requirement.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object xpathObject) |
CryptoCoverageUtil.CoverageScope |
getScope()
Returns the coverage scope.
|
CryptoCoverageUtil.CoverageType |
getType()
Returns the coverage type.
|
String |
getXPath()
Returns the XPath expression.
|
int |
hashCode() |
public CryptoCoverageChecker.XPathExpression(String xPath, CryptoCoverageUtil.CoverageType type)
scope
CryptoCoverageUtil.CoverageScope.ELEMENT
.xPath
- the XPath expressiontype
- the type of coverage that the expression is meant to
enforceNullPointerException
- if xPath
or type
is null
public CryptoCoverageChecker.XPathExpression(String xPath, CryptoCoverageUtil.CoverageType type, CryptoCoverageUtil.CoverageScope scope)
type
is CryptoCoverageUtil.CoverageType.SIGNED
, the
scope
CryptoCoverageUtil.CoverageScope.CONTENT
does not represent a
configuration supported in WS-Security.xPath
- the XPath expressiontype
- the type of coverage that the expression is meant to
enforcescope
- the scope of coverage that the expression is meant to
enforce, defaults to CryptoCoverageUtil.CoverageScope.ELEMENT
NullPointerException
- if xPath
or type
is null
public String getXPath()
public CryptoCoverageUtil.CoverageType getType()
public CryptoCoverageUtil.CoverageScope getScope()
Apache CXF