Package org.opensaml.xacml.ctx
Interface StatusCodeType
-
- All Superinterfaces:
XACMLObject,XMLObject
public interface StatusCodeType extends XACMLObject
XACML context StatusCode schema type.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ELEMENT_LOCAL_NAMELocal name of the StatusCode element.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringSC_MISSING_ATTRIBUTEMissing attribute status code.static StringSC_OKOk status code.static StringSC_PROCESSING_ERRORProcessing error status code.static StringSC_SYNTAX_ERRORSyntax error status code.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type XACML20.static StringVALUE_ATTTRIB_NAMEName of the Value attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatusCodeTypegetStatusCode()Gets the status code.StringgetValue()Gets the value of the attribute named value of the status element.voidsetStatusCode(StatusCodeType code)Sets the status code.voidsetValue(String value)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 Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Local name of the StatusCode element.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type XACML20.
-
VALUE_ATTTRIB_NAME
static final String VALUE_ATTTRIB_NAME
Name of the Value attribute.- See Also:
- Constant Field Values
-
SC_MISSING_ATTRIBUTE
static final String SC_MISSING_ATTRIBUTE
Missing attribute status code.- See Also:
- Constant Field Values
-
SC_OK
static final String SC_OK
Ok status code.- See Also:
- Constant Field Values
-
SC_PROCESSING_ERROR
static final String SC_PROCESSING_ERROR
Processing error status code.- See Also:
- Constant Field Values
-
SC_SYNTAX_ERROR
static final String SC_SYNTAX_ERROR
Syntax error status code.- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatusCode
StatusCodeType getStatusCode()
Gets the status code.- Returns:
- status code
-
setStatusCode
void setStatusCode(StatusCodeType code)
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
void setValue(String value)
Sets the attribute named value of the status elements.- Parameters:
value- The wanted value for the attribute value
-
-