Package org.apache.wss4j.policy.model
Class AbstractSecuredParts
- java.lang.Object
-
- org.apache.wss4j.policy.model.AbstractSecurityAssertion
-
- org.apache.wss4j.policy.model.RequiredParts
-
- org.apache.wss4j.policy.model.AbstractSecuredParts
-
- All Implemented Interfaces:
org.apache.neethi.Assertion,org.apache.neethi.PolicyComponent
- Direct Known Subclasses:
EncryptedParts,SignedParts
public abstract class AbstractSecuredParts extends RequiredParts
-
-
Constructor Summary
Constructors Constructor Description AbstractSecuredParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)AttachmentsgetAttachments()QNamegetName()inthashCode()booleanisBody()voidserialize(XMLStreamWriter writer)protected voidsetAttachments(Attachments attachments)protected voidsetBody(boolean body)-
Methods inherited from class org.apache.wss4j.policy.model.RequiredParts
addHeader, cloneAssertion, getHeaders
-
Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, normalize, serialize, setIgnorable, setOptional
-
-
-
-
Constructor Detail
-
AbstractSecuredParts
public AbstractSecuredParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers)
-
-
Method Detail
-
getName
public QName getName()
- Specified by:
getNamein interfaceorg.apache.neethi.Assertion- Overrides:
getNamein classRequiredParts
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classRequiredParts
-
hashCode
public int hashCode()
- Overrides:
hashCodein classRequiredParts
-
serialize
public void serialize(XMLStreamWriter writer) throws XMLStreamException
- Specified by:
serializein interfaceorg.apache.neethi.Assertion- Specified by:
serializein interfaceorg.apache.neethi.PolicyComponent- Overrides:
serializein classRequiredParts- Throws:
XMLStreamException
-
isBody
public boolean isBody()
-
setBody
protected void setBody(boolean body)
-
getAttachments
public Attachments getAttachments()
-
setAttachments
protected void setAttachments(Attachments attachments)
-
-