public class BaseIDImpl extends BaseIDAbstractImpl implements BaseID
BaseID
is an extension point that allows
applications to add new kinds of identifiers.Modifier and Type | Field and Description |
---|---|
static String |
BASE_ID_ELEMENT |
static String |
NAME_QUALIFIER_ATTR |
static String |
SP_NAME_QUALIFIER_ATTR |
Constructor and Description |
---|
BaseIDImpl()
Default constructor
|
BaseIDImpl(Element element)
This constructor is used to build
BaseID object from a
block of existing XML that has already been built into a DOM. |
BaseIDImpl(String xml)
This constructor is used to build
BaseID 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
|
getNameQualifier, getSPNameQualifier, isMutable, makeImmutable, setNameQualifier, setSPNameQualifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNameQualifier, getSPNameQualifier, isMutable, makeImmutable, setNameQualifier, setSPNameQualifier
public static final String BASE_ID_ELEMENT
public static final String NAME_QUALIFIER_ATTR
public static final String SP_NAME_QUALIFIER_ATTR
public BaseIDImpl()
public BaseIDImpl(String xml) throws SAML2Exception
BaseID
object from
a XML string.xml
- A java.lang.String
representing
a BaseID
objectSAML2Exception
- if it could not process the XML stringpublic BaseIDImpl(Element element) throws SAML2Exception
BaseID
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 BaseID
objectSAML2Exception
- if it could not process the Elementpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
toXMLString
in interface BaseID
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 BaseID
SAML2Exception
- if something is wrong during conversionCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.