public class OneTimeUseImpl extends ConditionAbstractImpl implements OneTimeUse
OneTimeUse
indicates that the assertion should be
used immediately by the relying party and must not be retained for
future use.Modifier and Type | Field and Description |
---|---|
static String |
ONETIMEUSE_ELEMENT |
Constructor and Description |
---|
OneTimeUseImpl()
Default constructor
|
OneTimeUseImpl(Element element)
This constructor is used to build
OneTimeUse object from a
block of existing XML that has already been built into a DOM. |
OneTimeUseImpl(String xml)
This constructor is used to build
OneTimeUse object from a
XML string. |
Modifier and Type | Method and Description |
---|---|
String |
toXMLString()
Returns a String representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
isMutable, makeImmutable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMutable, makeImmutable
public static final String ONETIMEUSE_ELEMENT
public OneTimeUseImpl()
public OneTimeUseImpl(String xml) throws SAML2Exception
OneTimeUse
object from a
XML string.xml
- A java.lang.String
representing
a OneTimeUse
objectSAML2Exception
- if it could not process the XML stringpublic OneTimeUseImpl(Element element) throws SAML2Exception
OneTimeUse
object from a
block of existing XML that has already been built into a DOM.element
- A org.w3c.dom.Element
representing
DOM tree for OneTimeUse
objectSAML2Exception
- if it could not process the Elementpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
toXMLString
in interface ConditionAbstract
includeNSPrefix
- 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.SAML2Exception
- if something is wrong during conversionpublic String toXMLString() throws SAML2Exception
toXMLString
in interface ConditionAbstract
SAML2Exception
- if something is wrong during conversionCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.