Class XacmlJaxbParsingUtils.FullXacmlJaxbAttributesParserFactory<BAG extends Iterable<? extends AttributeValue>>
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.io.XacmlJaxbParsingUtils.FullXacmlJaxbAttributesParserFactory<BAG>
-
- Type Parameters:
BAG
- resulting from parsing XACML AttributeValues
- All Implemented Interfaces:
SingleCategoryXacmlAttributesParser.Factory<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes>
- Enclosing class:
- XacmlJaxbParsingUtils
public static final class XacmlJaxbParsingUtils.FullXacmlJaxbAttributesParserFactory<BAG extends Iterable<? extends AttributeValue>> extends Object implements SingleCategoryXacmlAttributesParser.Factory<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes>
Factory for JAXB/XACML <Attributes> Parser that parses the named attributes (Attribute elements), and the free-form Content
-
-
Constructor Summary
Constructors Constructor Description FullXacmlJaxbAttributesParserFactory(XacmlRequestAttributeParser<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attribute,BAG> xacmlReqAttributeParser, SingleCategoryAttributes.NamedAttributeIteratorConverter<BAG> namedAttributeIteratorConverter, net.sf.saxon.s9api.Processor xmlProcessor)
Creates instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleCategoryXacmlAttributesParser<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes>
getInstance()
Get instance of XACML Attributes parser
-
-
-
Constructor Detail
-
FullXacmlJaxbAttributesParserFactory
public FullXacmlJaxbAttributesParserFactory(XacmlRequestAttributeParser<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attribute,BAG> xacmlReqAttributeParser, SingleCategoryAttributes.NamedAttributeIteratorConverter<BAG> namedAttributeIteratorConverter, net.sf.saxon.s9api.Processor xmlProcessor)
Creates instance- Parameters:
xacmlReqAttributeParser
- parser used to parse each JAXB/XACML <Attribute>namedAttributeIteratorConverter
- converts iterator over attributes with values produced byjaxbAttributeParser
, into constant-valued/immutable attribute iteratorxmlProcessor
- SAXON XML processor to process the Attributes/Content node- Throws:
IllegalArgumentException
- errorif(jaxbAttributeParser == null || namedAttributeIteratorConverter == null || xmlProcessor == null)
-
-
Method Detail
-
getInstance
public SingleCategoryXacmlAttributesParser<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> getInstance()
Description copied from interface:SingleCategoryXacmlAttributesParser.Factory
Get instance of XACML Attributes parser- Specified by:
getInstance
in interfaceSingleCategoryXacmlAttributesParser.Factory<BAG extends Iterable<? extends AttributeValue>>
- Returns:
- instance
-
-