Class NamedXacmlAttributeParser<INPUT_ATTRIBUTE>
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.io.NamedXacmlAttributeParser<INPUT_ATTRIBUTE>
-
- Type Parameters:
INPUT_ATTRIBUTE
- type of attribute object from input XACML Request, e.g. JAXB-annotated Attribute for XACML/XML request or JSON object for XACML/JSON request
- Direct Known Subclasses:
XacmlJaxbParsingUtils.NamedXacmlJaxbAttributeParser
public abstract class NamedXacmlAttributeParser<INPUT_ATTRIBUTE> extends Object
Parser that parses named attributes in XACML
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NamedXacmlAttributeParser(AttributeValueFactoryRegistry attributeValueFactoryRegistry)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected AttributeValueFactory<?>
getAttributeValueFactory(String attributeDatatypeId, AttributeFqn attributeName)
protected abstract NamedXacmlAttributeParsingResult<?>
parseNamedAttribute(String attributeCategoryId, INPUT_ATTRIBUTE inputXacmlAttribute, Optional<XPathCompilerProxy> xPathCompiler)
-
-
-
Constructor Detail
-
NamedXacmlAttributeParser
protected NamedXacmlAttributeParser(AttributeValueFactoryRegistry attributeValueFactoryRegistry) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-
Method Detail
-
getAttributeValueFactory
protected final AttributeValueFactory<?> getAttributeValueFactory(String attributeDatatypeId, AttributeFqn attributeName) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
parseNamedAttribute
protected abstract NamedXacmlAttributeParsingResult<?> parseNamedAttribute(String attributeCategoryId, INPUT_ATTRIBUTE inputXacmlAttribute, Optional<XPathCompilerProxy> xPathCompiler) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-