public class PredicateFilterParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
static QName |
TYPE_NAME
Element name.
|
| Constructor and Description |
|---|
PredicateFilterParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected Class<?> |
getBeanClass(Element element) |
org.springframework.beans.factory.config.BeanDefinition |
parseCustomElements(Element element)
Parser custom element content into a
Predicate to pass to the filter constructor. |
org.springframework.beans.factory.support.BeanDefinitionBuilder |
parseEntityPredicate(Element element)
Parse Entity elements into a builder for an
EntityIdPredicate. |
org.springframework.beans.factory.support.BeanDefinitionBuilder |
parseGroupPredicate(Element element)
Parse Group elements into a builder for an
EntityGroupNamePredicate. |
org.springframework.beans.factory.support.BeanDefinitionBuilder |
parseScripts(Element element)
Parse ConditionScript elements into a builder, wrapped in an OR as necessary.
|
org.springframework.beans.factory.support.BeanDefinitionBuilder |
parseTagPredicate(Element element)
Parse Tag elements into a builder for an
EntityAttributesPredicate. |
protected boolean |
shouldGenerateId() |
doParse, getBeanClassName, getParentName, parseInternal@Nonnull private final org.slf4j.Logger log
protected Class<?> getBeanClass(Element element)
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprotected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser@Nonnull public org.springframework.beans.factory.config.BeanDefinition parseCustomElements(@Nonnull Element element)
Predicate to pass to the filter constructor.element - root element to parse@Nullable public org.springframework.beans.factory.support.BeanDefinitionBuilder parseEntityPredicate(@Nonnull Element element)
EntityIdPredicate.element - root element to parse under@Nullable public org.springframework.beans.factory.support.BeanDefinitionBuilder parseGroupPredicate(@Nonnull Element element)
EntityGroupNamePredicate.element - root element to parse under@Nullable public org.springframework.beans.factory.support.BeanDefinitionBuilder parseTagPredicate(@Nonnull Element element)
EntityAttributesPredicate.element - root element to parse under@Nullable public org.springframework.beans.factory.support.BeanDefinitionBuilder parseScripts(@Nonnull Element element)
element - root element to parse underprotected boolean shouldGenerateId()
shouldGenerateId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.