Package org.opensaml.xacml.ctx
Interface StatusCodeType
- All Superinterfaces:
XACMLObject,XMLObject
XACML context StatusCode schema type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLocal name of the StatusCode element.static final QNameDefault element name.static final StringMissing attribute status code.static final StringOk status code.static final StringProcessing error status code.static final StringSyntax error status code.static final StringLocal name of the XSI type.static final QNameQName of the XSI type XACML20.static final StringName 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.voidsetStatusCode(StatusCodeType code) Sets the status code.voidSets the attribute named value of the status elements.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
-