Package org.apache.commons.digester.annotations.providers

Examples of org.apache.commons.digester.annotations.providers.SetPropertiesRuleProvider


    /**
     * {@inheritDoc}
     */
    public void handle(SetProperty annotation, Field element, FromAnnotationsRuleSet ruleSet) {
        SetPropertiesRuleProvider ruleProvider =
            ruleSet.getProvider(annotation.pattern(), SetPropertiesRuleProvider.class);

        if (ruleProvider == null) {
            ruleProvider = new SetPropertiesRuleProvider();
            ruleSet.addRuleProvider(annotation.pattern(), ruleProvider);
        }

        ruleProvider.addAlias(annotation, element);
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.digester.annotations.providers.SetPropertiesRuleProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.