org.apache.ws.security
Class WSEncryptionPart

java.lang.Object
  extended byorg.apache.ws.security.WSEncryptionPart

public class WSEncryptionPart
extends java.lang.Object

Author:
Werner Dittmann (Werner.Dittmann@siemens.com)

Constructor Summary
WSEncryptionPart(java.lang.String id)
          Constructor to initialize part structure with element id.
WSEncryptionPart(java.lang.String id, java.lang.String encMod)
          Constructor to initialize part structure with element id and modifier.
WSEncryptionPart(java.lang.String id, java.lang.String encMod, int type)
          Constructor to initialize part structure with element id, modifier and type.
WSEncryptionPart(java.lang.String nm, java.lang.String nmspace, java.lang.String encMod)
          Constructor to initialize part structure with element, namespace, and modifier.
WSEncryptionPart(java.lang.String nm, java.lang.String nmspace, java.lang.String encMod, int type)
          Constructor to initialize part structure with element, namespace, and modifier,type.
 
Method Summary
 java.lang.String getEncId()
           
 java.lang.String getEncModifier()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getNamespace()
           
 int getType()
           
 void setEncId(java.lang.String id)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSEncryptionPart

public WSEncryptionPart(java.lang.String nm,
                        java.lang.String nmspace,
                        java.lang.String encMod)
Constructor to initialize part structure with element, namespace, and modifier. This constructor initializes the parts structure to lookup for a fully qualified name of an element to encrypt or sign. The modifier controls how encryption encrypts the element, signature processing does not use the modifier information.

Regarding the modifier ("Content" or "Element") refer to the W3C XML Encryption specification.

Parameters:
nm - Element's name
nmspace - Element's namespace
encMod - The encryption modifier

WSEncryptionPart

public WSEncryptionPart(java.lang.String nm,
                        java.lang.String nmspace,
                        java.lang.String encMod,
                        int type)
Constructor to initialize part structure with element, namespace, and modifier,type. This constructor initializes the parts structure to lookup for a fully qualified name of an element to encrypt or sign. The modifier controls how encryption encrypts the element, signature processing does not use the modifier information.

Regarding the modifier ("Content" or "Element") refer to the W3C XML Encryption specification.

Parameters:
nm - Element's name
nmspace - Element's namespace
encMod - The encryption modifier
type - Type of the WSEncryptionPart

WSEncryptionPart

public WSEncryptionPart(java.lang.String id)
Constructor to initialize part structure with element id. This constructor initializes the parts structure to lookup for a an element with the given Id to encrypt or sign.

Parameters:
id - The Id to of the element to process

WSEncryptionPart

public WSEncryptionPart(java.lang.String id,
                        java.lang.String encMod)
Constructor to initialize part structure with element id and modifier. This constructor initializes the parts structure to lookup for a an element with the given Id to encrypt or sign. The modifier controls how encryption encrypts the element, signature processing does not use the modifier information.

Regarding the modifier ("Content" or "Element") refer to the W3C XML Encryption specification.

Parameters:
id - The Id to of the element to process
encMod - The encryption modifier

WSEncryptionPart

public WSEncryptionPart(java.lang.String id,
                        java.lang.String encMod,
                        int type)
Constructor to initialize part structure with element id, modifier and type. This constructor initializes the parts structure to lookup for a an element with the given Id to encrypt or sign. The modifier controls how encryption encrypts the element, signature processing does not use the modifier information.

Regarding the modifier ("Content" or "Element") refer to the W3C XML Encryption specification.

Parameters:
id - The Id to of the element to process
encMod - The encryption modifier
type - of the element
Method Detail

getName

public java.lang.String getName()
Returns:
the local name of the element to encrypt.

getNamespace

public java.lang.String getNamespace()
Returns:
the namespace of the element to encrypt

getEncModifier

public java.lang.String getEncModifier()
Returns:
the encryption modifier

getId

public java.lang.String getId()
Returns:
Returns the id.

setEncId

public void setEncId(java.lang.String id)

getEncId

public java.lang.String getEncId()

getType

public int getType()

setType

public void setType(int type)


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.