Examples of NestedPropertiesBuilder


Examples of org.apache.commons.digester3.binder.NestedPropertiesBuilder

    protected void bindRule( LinkedRuleBuilder linkedRuleBuilder, Attributes attributes )
        throws Exception
    {
        boolean allowUnknownChildElements =
            "true".equalsIgnoreCase( attributes.getValue( "allow-unknown-child-elements" ) );
        NestedPropertiesBuilder builder = linkedRuleBuilder
                                            .setNestedProperties()
                                            .allowUnknownChildElements( allowUnknownChildElements );
        getDigester().push( builder );
    }
View Full Code Here

Examples of org.apache.commons.digester3.binder.NestedPropertiesBuilder

        throws Exception
    {
        String elementName = attributes.getValue( "attr-name" );
        String propertyName = attributes.getValue( "prop-name" );

        NestedPropertiesBuilder builder = getDigester().peek();
        builder.addAlias( elementName ).forProperty( propertyName );
    }
View Full Code Here

Examples of org.apache.commons.digester3.binder.NestedPropertiesBuilder

    public void begin( String namespace, String name, Attributes attributes )
        throws Exception
    {
        String elementName = attributes.getValue( "elem-name" );

        NestedPropertiesBuilder builder = getDigester().peek();
        builder.ignoreElement( elementName );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.