Package org.opensaml.xacml.ctx
Interface StatusCodeType
- All Superinterfaces:
XACMLObject
,XMLObject
- All Known Implementing Classes:
StatusCodeTypeImpl
XACML context StatusCode schema type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Local name of the StatusCode element.static final QName
Default element name.static final String
Missing attribute status code.static final String
Ok status code.static final String
Processing error status code.static final String
Syntax error status code.static final String
Local name of the XSI type.static final QName
QName of the XSI type XACML20.static final String
Name of the Value attribute. -
Method Summary
Modifier and TypeMethodDescriptionGets the status code.getValue()
Gets the value of the attribute named value of the status element.void
setStatusCode
(StatusCodeType code) Sets the status code.void
Sets the attribute named value of the status elements.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Local name of the StatusCode element.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type XACML20. -
VALUE_ATTTRIB_NAME
Name of the Value attribute.- See Also:
-
SC_MISSING_ATTRIBUTE
Missing attribute status code.- See Also:
-
SC_OK
Ok status code.- See Also:
-
SC_PROCESSING_ERROR
Processing error status code.- See Also:
-
SC_SYNTAX_ERROR
Syntax error status code.- See Also:
-
-
Method Details
-
getStatusCode
StatusCodeType getStatusCode()Gets the status code.- Returns:
- status code
-
setStatusCode
Sets the status code.- Parameters:
code
- status code
-
getValue
String getValue()Gets the value of the attribute named value of the status element.- Returns:
- The value of the attribute named value for the status element
-
setValue
Sets the attribute named value of the status elements.- Parameters:
value
- The wanted value for the attribute value
-