public class ConditionImpl extends ConditionAbstractImpl implements Condition
Condition
servers as an extension point for
new conditions.Modifier and Type | Field and Description |
---|---|
static String |
CONDITION_ELEMENT |
Constructor and Description |
---|
ConditionImpl()
Default constructor
|
ConditionImpl(Element element)
This constructor is used to build
Condtion object from a
block of existing XML that has already been built into a DOM. |
ConditionImpl(String xml)
This constructor is used to build
Condtion 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 CONDITION_ELEMENT
public ConditionImpl()
public ConditionImpl(String xml) throws SAML2Exception
Condtion
object from a
XML string.xml
- A java.lang.String
representing
a Condition
objectSAML2Exception
- if it could not process the XML stringpublic ConditionImpl(Element element) throws SAML2Exception
Condtion
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 Condtion
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.