org.opensaml.saml1.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.saml1.core.impl.StatusCodeImpl
All Implemented Interfaces:
SAMLObject, StatusCode, ValidatingXMLObject, XMLObject

public class StatusCodeImpl
extends AbstractSAMLObject
implements StatusCode

Concrete implementation of StatusCode Object.


Field Summary
private  StatusCode childStatusCode
          The child StatusCode sub element.
private  QName value
          Contents of the Value attribute.
 
Fields inherited from interface org.opensaml.saml1.core.StatusCode
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, REQUEST_DENIED, REQUEST_VERSION_DEPRICATED, REQUEST_VERSION_TOO_HIGH, REQUEST_VERSION_TOO_LOW, REQUESTER, RESOURCE_NOT_RECOGNIZED, RESPONDER, SUCCESS, TOO_MANY_RESPONSES, TYPE_LOCAL_NAME, TYPE_NAME, VALUE_ATTRIB_NAME, VERSION_MISMATCH
 
Constructor Summary
protected StatusCodeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          
 StatusCode getStatusCode()
          Gets the second level status code.
 QName getValue()
          Gets the value of the status code.
 void setStatusCode(StatusCode statusCode)
          Sets the second level status code.
 void setValue(QName newValue)
          Sets the value of the 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 QName value
Contents of the Value attribute.


childStatusCode

private StatusCode childStatusCode
The child StatusCode sub 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

getValue

public QName getValue()
Gets the value of the status code.

Specified by:
getValue in interface StatusCode
Returns:
value of the status code

setValue

public void setValue(QName newValue)
Sets the value of the status code.

Specified by:
setValue in interface StatusCode
Parameters:
newValue - value of the status code

getStatusCode

public StatusCode getStatusCode()
Gets the second level status code.

Specified by:
getStatusCode in interface StatusCode
Returns:
second level status code

setStatusCode

public void setStatusCode(StatusCode statusCode)
Sets the second level status code.

Specified by:
setStatusCode in interface StatusCode
Parameters:
statusCode - second level status code

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.