Class EncryptedElementImpl
- java.lang.Object
-
- com.sun.identity.saml2.assertion.impl.EncryptedElementImpl
-
- All Implemented Interfaces:
EncryptedElement
- Direct Known Subclasses:
EncryptedAssertionImpl,EncryptedIDImpl,NewEncryptedIDImpl
public abstract class EncryptedElementImpl extends Object implements EncryptedElement
Java content class for EncryptedElementType complex type.The following schema fragment specifies the expected content contained within this java content object.
<complexType name="EncryptedElementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/> <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedKey" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description EncryptedElementImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.
-
-
-
Field Detail
-
xmlString
protected String xmlString
-
-
Method Detail
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of the element.- Specified by:
toXMLStringin interfaceEncryptedElement- Returns:
- A string containing the valid XML for this element. By default name space name is prepended to the element name.
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
Returns a String representation of the element.- Specified by:
toXMLStringin interfaceEncryptedElement- Parameters:
includeNS- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- A string containing the valid XML for this element
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
-