org.opensaml.saml2.core.impl
Class StatusCodeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.core.impl.StatusCodeImpl
All Implemented Interfaces:
SAMLObject, StatusCode, ValidatingXMLObject, XMLObject

public class StatusCodeImpl
extends AbstractSAMLObject
implements StatusCode

Concrete implementation of StatusCode.


Field Summary
private  StatusCode childStatusCode
          Nested secondary StatusCode child element.
private  String value
          Value attribute URI.
 
Fields inherited from interface org.opensaml.saml2.core.StatusCode
AUTHN_FAILED_URI, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, INVALID_ATTR_NAME_VALUE_URI, INVALID_NAMEID_POLICY_URI, NO_AUTHN_CONTEXT_URI, NO_AVAILABLE_IDP_URI, NO_PASSIVE_URI, NO_SUPPORTED_IDP_URI, PARTIAL_LOGOUT_URI, PROXY_COUNT_EXCEEDED_URI, REQUEST_DENIED_URI, REQUEST_UNSUPPORTED_URI, REQUEST_VERSION_DEPRECATED_URI, REQUEST_VERSION_TOO_HIGH_URI, REQUEST_VERSION_TOO_LOW_URI, REQUESTER_URI, RESOURCE_NOT_RECOGNIZED_URI, RESPONDER_URI, SUCCESS_URI, TOO_MANY_RESPONSES, TYPE_LOCAL_NAME, TYPE_NAME, UNKNOWN_ATTR_PROFILE_URI, UNKNOWN_PRINCIPAL_URI, UNSUPPORTED_BINDING_URI, VALUE_ATTRIB_NAME, VERSION_MISMATCH_URI
 
Constructor Summary
protected StatusCodeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          
 StatusCode getStatusCode()
          Gets the Status Code of this Status Code.
 String getValue()
          Gets the Value of this Status Code.
 void setStatusCode(StatusCode newStatusCode)
          Sets the Status Code of this Status Code.
 void setValue(String newValue)
          Sets the Value of this Status Code.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

value

private String value
Value attribute URI.


childStatusCode

private StatusCode childStatusCode
Nested secondary StatusCode child element.

Constructor Detail

StatusCodeImpl

protected StatusCodeImpl(String namespaceURI,
                         String elementLocalName,
                         String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getStatusCode

public StatusCode getStatusCode()
Gets the Status Code of this Status Code.

Specified by:
getStatusCode in interface StatusCode
Returns:
StatusCode StatusCode

setStatusCode

public void setStatusCode(StatusCode newStatusCode)
Sets the Status Code of this Status Code.

Specified by:
setStatusCode in interface StatusCode
Parameters:
newStatusCode - the Status Code of this Status Code.

getValue

public String getValue()
Gets the Value of this Status Code.

Specified by:
getValue in interface StatusCode
Returns:
StatusCode Value

setValue

public void setValue(String newValue)
Sets the Value of this Status Code.

Specified by:
setValue in interface StatusCode
Parameters:
newValue - the Value of this Status Code

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.