Class SignMessageImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- se.litsec.swedisheid.opensaml.saml2.signservice.dss.impl.SignMessageImpl
-
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignMessage
public class SignMessageImpl extends AbstractXMLObject implements SignMessage
Implementation class for theSignMessageinterface.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Field Summary
-
Fields inherited from interface se.litsec.swedisheid.opensaml.saml2.signservice.dss.SignMessage
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DISPLAY_ENTITY_ATTR_NAME, MIME_TYPE_ATTR_NAME, MUST_SHOW_ATTR_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description SignMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor creating an SignMessage object given the namespace URI, local element name and namespace prefix.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayEntity()Returns the value of theDisplayEntityattribute.EncryptedMessagegetEncryptedMessage()Returns theEncryptedMessageelement.MessagegetMessage()Returns theMessageelement.StringgetMimeType()Returns the value of theMimeTypeattribute.SignMessageMimeTypeEnumgetMimeTypeEnum()Returns the value of theMimeTypeattribute as an enum.List<XMLObject>getOrderedChildren()AttributeMapgetUnknownAttributes()BooleanisMustShow()Returns the value of theMustShowattribute.XSBooleanValueisMustShowXSBoolean()Returns theMustShowattribute as aXSBooleanValue.voidsetDisplayEntity(String displayEntity)Assigns the value for theDisplayEntityattribute.voidsetEncryptedMessage(EncryptedMessage encryptedMessage)Assigns theEncryptedMessageelement.voidsetMessage(Message message)Assigns theMessageelement.voidsetMimeType(String mimeType)Assigns theMimeTypeattribute.voidsetMimeType(SignMessageMimeTypeEnum mimeType)Assigns theMimeTypeattribute.voidsetMustShow(Boolean mustShow)Assigns the value of theMustShowattribute.voidsetMustShow(XSBooleanValue mustShow)Assigns the value of theMustShowattribute.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Constructor Detail
-
SignMessageImpl
public SignMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor creating an SignMessage object given the namespace URI, local element name and namespace prefix.- Parameters:
namespaceURI- the namespace URI.elementLocalName- the element local name.namespacePrefix- the name space prefix.
-
-
Method Detail
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
isMustShow
public Boolean isMustShow()
Returns the value of theMustShowattribute.- Specified by:
isMustShowin interfaceSignMessage- Returns:
- the
MustShowattribute
-
isMustShowXSBoolean
public XSBooleanValue isMustShowXSBoolean()
Returns theMustShowattribute as aXSBooleanValue.- Specified by:
isMustShowXSBooleanin interfaceSignMessage- Returns:
- the
MustShowattribute - See Also:
SignMessage.isMustShow()
-
setMustShow
public void setMustShow(Boolean mustShow)
Assigns the value of theMustShowattribute.- Specified by:
setMustShowin interfaceSignMessage- Parameters:
mustShow- the value to assign
-
setMustShow
public void setMustShow(XSBooleanValue mustShow)
Assigns the value of theMustShowattribute.- Specified by:
setMustShowin interfaceSignMessage- Parameters:
mustShow- the value to assign- See Also:
SignMessage.setMustShow(Boolean)
-
getDisplayEntity
public String getDisplayEntity()
Returns the value of theDisplayEntityattribute.- Specified by:
getDisplayEntityin interfaceSignMessage- Returns:
- the
DisplayEntityattribute
-
setDisplayEntity
public void setDisplayEntity(String displayEntity)
Assigns the value for theDisplayEntityattribute.- Specified by:
setDisplayEntityin interfaceSignMessage- Parameters:
displayEntity- the entityID to assign
-
getMimeType
public String getMimeType()
Returns the value of theMimeTypeattribute.- Specified by:
getMimeTypein interfaceSignMessage- Returns:
- the
MimeTypeattribute
-
getMimeTypeEnum
public SignMessageMimeTypeEnum getMimeTypeEnum()
Returns the value of theMimeTypeattribute as an enum.- Specified by:
getMimeTypeEnumin interfaceSignMessage- Returns:
- the
MimeTypeattribute
-
setMimeType
public void setMimeType(String mimeType)
Assigns theMimeTypeattribute.- Specified by:
setMimeTypein interfaceSignMessage- Parameters:
mimeType- the mime type to assign
-
setMimeType
public void setMimeType(SignMessageMimeTypeEnum mimeType)
Assigns theMimeTypeattribute.- Specified by:
setMimeTypein interfaceSignMessage- Parameters:
mimeType- the mime type as an enum to assign
-
getMessage
public Message getMessage()
Returns theMessageelement.- Specified by:
getMessagein interfaceSignMessage- Returns:
- the
Messageelement
-
setMessage
public void setMessage(Message message)
Assigns theMessageelement.- Specified by:
setMessagein interfaceSignMessage- Parameters:
message- the message to assign
-
getEncryptedMessage
public EncryptedMessage getEncryptedMessage()
Returns theEncryptedMessageelement.- Specified by:
getEncryptedMessagein interfaceSignMessage- Returns:
- the
EncryptedMessageelement
-
setEncryptedMessage
public void setEncryptedMessage(EncryptedMessage encryptedMessage)
Assigns theEncryptedMessageelement.- Specified by:
setEncryptedMessagein interfaceSignMessage- Parameters:
encryptedMessage- theEncryptedMessageelement to assign
-
getUnknownAttributes
public AttributeMap getUnknownAttributes()
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
-