org.apache.ws.secpolicy.model
Class SignedEncryptedParts

java.lang.Object
  extended byorg.apache.ws.secpolicy.model.AbstractSecurityAssertion
      extended byorg.apache.ws.secpolicy.model.SignedEncryptedParts
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class SignedEncryptedParts
extends AbstractSecurityAssertion


Constructor Summary
SignedEncryptedParts(boolean signedParts)
           
 
Method Summary
 void addHeader(Header header)
           
 ArrayList getHeaders()
           
 QName getName()
           
 boolean isBody()
           
 boolean isSignedParts()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(XMLStreamWriter writer)
           
 void setBody(boolean body)
           
 
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, isNormalized, isOptional, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignedEncryptedParts

public SignedEncryptedParts(boolean signedParts)
Method Detail

isBody

public boolean isBody()
Returns:
Returns the body.

setBody

public void setBody(boolean body)
Parameters:
body - The body to set.

getHeaders

public ArrayList getHeaders()
Returns:
Returns the headers.

addHeader

public void addHeader(Header header)

isSignedParts

public boolean isSignedParts()
Returns:
Returns the signedParts.

getName

public QName getName()

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion
Overrides:
normalize in class AbstractSecurityAssertion

serialize

public void serialize(XMLStreamWriter writer)
               throws XMLStreamException
Throws:
XMLStreamException