Class StatusCodeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml1.core.impl.StatusCodeImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,StatusCode
Concrete implementation of
StatusCode
Object.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StatusCode
The child StatusCode sub element.private QName
Contents of the Value attribute.Fields inherited from interface org.opensaml.saml.saml1.core.StatusCode
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, REQUEST_DENIED, REQUEST_VERSION_DEPRECATED, 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
ConstructorsModifierConstructorDescriptionprotected
StatusCodeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the second level status code.getValue()
Gets the value of the status code.void
setStatusCode
(StatusCode statusCode) Sets the second level status code.void
Sets the value of the status code.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
value
Contents of the Value attribute. -
childStatusCode
The child StatusCode sub element.
-
-
Constructor Details
-
StatusCodeImpl
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getValue
Gets the value of the status code.- Specified by:
getValue
in interfaceStatusCode
- Returns:
- value of the status code
-
setValue
Sets the value of the status code.- Specified by:
setValue
in interfaceStatusCode
- Parameters:
newValue
- value of the status code
-
getStatusCode
Gets the second level status code.- Specified by:
getStatusCode
in interfaceStatusCode
- Returns:
- second level status code
-
setStatusCode
Sets the second level status code.- Specified by:
setStatusCode
in interfaceStatusCode
- Parameters:
statusCode
- second level status code
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-