Class StatusDetailImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.StatusDetailImpl
-
- All Implemented Interfaces:
StatusDetail
public class StatusDetailImpl extends Object implements StatusDetail
This class defines methods for addingStatusDetailelements.
-
-
Constructor Summary
Constructors Constructor Description StatusDetailImpl()Constructs theStatusDetailObject.StatusDetailImpl(String xmlString)Constructs theStatusDetailObject.StatusDetailImpl(Element element)Constructs theStatusDetailObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetAny()Returns the list ofStatusDetailobject.booleanisMutable()Returns value true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetAny(List value)Sets theStatusDetailobject.StringtoXMLString()Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.
-
-
-
Constructor Detail
-
StatusDetailImpl
public StatusDetailImpl()
Constructs theStatusDetailObject.
-
StatusDetailImpl
public StatusDetailImpl(Element element) throws SAML2Exception
Constructs theStatusDetailObject.- Parameters:
element- the Document Element ofStatusDetailobject.- Throws:
SAML2Exception- ifStatusDetailcannot be created.
-
StatusDetailImpl
public StatusDetailImpl(String xmlString) throws SAML2Exception
Constructs theStatusDetailObject.- Parameters:
xmlString- the XML String representation of this object.- Throws:
SAML2Exception- ifStatusDetailcannot be created.
-
-
Method Detail
-
setAny
public void setAny(List value) throws SAML2Exception
Sets theStatusDetailobject.- Specified by:
setAnyin interfaceStatusDetail- Parameters:
value- List of XML StringsStatusDetailobjects- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAny()
-
getAny
public List getAny()
Returns the list ofStatusDetailobject.- Specified by:
getAnyin interfaceStatusDetail- Returns:
- a List of XML Strings
StatusDetailobjects. - See Also:
setAny(List)
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.- Specified by:
toXMLStringin interfaceStatusDetail- Returns:
- An XML String representing the
StatusDetail. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.- Specified by:
toXMLStringin interfaceStatusDetail- Parameters:
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.- Returns:
- A XML String representing the
StatusDetail. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceStatusDetail
-
isMutable
public boolean isMutable()
Returns value true if object is mutable.- Specified by:
isMutablein interfaceStatusDetail- Returns:
- true if object is mutable.
-
-