public class MissingAttributeDetail extends Object
Constructor and Description |
---|
MissingAttributeDetail(URI id,
URI type,
URI category,
int xacmlVersion)
Creates a new
MissingAttributeDetail |
MissingAttributeDetail(URI id,
URI type,
URI category,
List<AttributeValue> attributeValues,
int xacmlVersion)
Creates a new
MissingAttributeDetail |
MissingAttributeDetail(URI id,
URI type,
URI category,
String issuer,
List<AttributeValue> attributeValues,
int xacmlVersion)
Creates a new
MissingAttributeDetail |
Modifier and Type | Method and Description |
---|---|
String |
getEncoded()
Returns the encoded String from MissingAttributeDetail
|
static MissingAttributeDetail |
getInstance(Node root,
PolicyMetaData metaData)
Creates an instance of an
MissingAttributeDetail based on the root
DOM node of the XML data. |
public MissingAttributeDetail(URI id, URI type, URI category, String issuer, List<AttributeValue> attributeValues, int xacmlVersion)
MissingAttributeDetail
id
- the id of the attributetype
- the type of the attributecategory
- category of the attributes elements whether it is subject, action and etcissuer
- the attribute's issuer or null if there is noneattributeValues
- actual List
of AttributeValue
xacmlVersion
- xacml versionpublic MissingAttributeDetail(URI id, URI type, URI category, List<AttributeValue> attributeValues, int xacmlVersion)
MissingAttributeDetail
id
- the id of the attributetype
- the type of the attributecategory
- category of the attributes elements whether it is subject, action and etcattributeValues
- actual List
of AttributeValue
xacmlVersion
- xacml versionpublic MissingAttributeDetail(URI id, URI type, URI category, int xacmlVersion)
MissingAttributeDetail
id
- the id of the attributetype
- the type of the attributecategory
- category of the attributes elements whether it is subject, action and etcxacmlVersion
- xacml versionpublic static MissingAttributeDetail getInstance(Node root, PolicyMetaData metaData) throws ParsingException
MissingAttributeDetail
based on the root
DOM node of the XML data.root
- the DOM root of the AttributeType XML typemetaData
- policy meta dataMissingAttributeDetail
objectParsingException
- throws ParsingException if the data is invalidpublic String getEncoded() throws ParsingException
ParsingException
- if there are any issues, when parsing object in to StingCopyright © 2021 WSO2. All rights reserved.