|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.ws.security.wss4j.CryptoCoverageChecker.XPathExpression
public static class CryptoCoverageChecker.XPathExpression
A simple wrapper for an XPath expression and coverage type / scope indicating how the XPath expression should be enforced as a cryptographic coverage requirement.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
enforce
NullPointerException
- 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
Method Detail |
---|
public String getXPath()
public CryptoCoverageUtil.CoverageType getType()
public CryptoCoverageUtil.CoverageScope getScope()
public boolean equals(Object xpathObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |