org.opensaml.saml1.core
Interface StatusCode

All Superinterfaces:
SAMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
StatusCodeImpl

public interface StatusCode
extends SAMLObject

This interface defines how the object representing a SAML 1 StatusCode element behaves.


Field Summary
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Element name, no namespace.
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name.
static java.lang.String REQUEST_DENIED
          RequestDenied status value.
static java.lang.String REQUEST_VERSION_DEPRICATED
          RequestVersionDepricated status value.
static java.lang.String REQUEST_VERSION_TOO_HIGH
          RequestVersionTooHigh status value.
static java.lang.String REQUEST_VERSION_TOO_LOW
          RequestVersionTooLow status value.
static java.lang.String REQUESTER
          Requester status value.
static java.lang.String RESOURCE_NOT_RECOGNIZED
          ResourceNotRecognized status value.
static java.lang.String RESPONDER
          Responder status value.
static java.lang.String SUCCESS
          Success status value.
static java.lang.String TOO_MANY_RESPONSES
          TooManyResponses status value.
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type.
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type.
static java.lang.String VALUE_ATTRIB_NAME
          Name for the attribute which defines the Value.
static java.lang.String VERSION_MISMATCH
          VersionMismatch status value.
 
Method Summary
 StatusCode getStatusCode()
          Gets the second level status code.
 java.lang.String getValue()
          Gets the value of the status code.
 void setStatusCode(StatusCode statusCode)
          Sets the second level status code.
 void setValue(java.lang.String value)
          Sets the value of the status code.
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name.


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type.


SUCCESS

static final java.lang.String SUCCESS
Success status value.

See Also:
Constant Field Values

VERSION_MISMATCH

static final java.lang.String VERSION_MISMATCH
VersionMismatch status value.

See Also:
Constant Field Values

REQUESTER

static final java.lang.String REQUESTER
Requester status value.

See Also:
Constant Field Values

RESPONDER

static final java.lang.String RESPONDER
Responder status value.

See Also:
Constant Field Values

REQUEST_VERSION_TOO_HIGH

static final java.lang.String REQUEST_VERSION_TOO_HIGH
RequestVersionTooHigh status value.

See Also:
Constant Field Values

REQUEST_VERSION_TOO_LOW

static final java.lang.String REQUEST_VERSION_TOO_LOW
RequestVersionTooLow status value.

See Also:
Constant Field Values

REQUEST_VERSION_DEPRICATED

static final java.lang.String REQUEST_VERSION_DEPRICATED
RequestVersionDepricated status value.

See Also:
Constant Field Values

TOO_MANY_RESPONSES

static final java.lang.String TOO_MANY_RESPONSES
TooManyResponses status value.

See Also:
Constant Field Values

REQUEST_DENIED

static final java.lang.String REQUEST_DENIED
RequestDenied status value.

See Also:
Constant Field Values

RESOURCE_NOT_RECOGNIZED

static final java.lang.String RESOURCE_NOT_RECOGNIZED
ResourceNotRecognized status value.

See Also:
Constant Field Values

VALUE_ATTRIB_NAME

static final java.lang.String VALUE_ATTRIB_NAME
Name for the attribute which defines the Value.

See Also:
Constant Field Values
Method Detail

getValue

java.lang.String getValue()
Gets the value of the status code.

Returns:
value of the status code

setValue

void setValue(java.lang.String value)
Sets the value of the status code.

Parameters:
value - value of the status code

getStatusCode

StatusCode getStatusCode()
Gets the second level status code.

Returns:
second level status code

setStatusCode

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

Parameters:
statusCode - second level status code
Throws:
java.lang.IllegalArgumentException