Package org.apache.commons.digester3.binder

Examples of org.apache.commons.digester3.binder.NestedPropertiesBuilder.addAlias()


    {
        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


            .setProperties();

        if ( annotation.attributeName() != null && annotation.attributeName().length() > 0
            && !element.getName().equals( annotation.attributeName() ) )
        {
            builder.addAlias( annotation.attributeName(), element.getName() );
        }
    }

}
View Full Code Here

            .setProperties();

        if ( annotation.attributeName() != null && annotation.attributeName().length() > 0
            && !element.getName().equals( annotation.attributeName() ) )
        {
            builder.addAlias( annotation.attributeName() ).forProperty( element.getName() );
        }
    }

}
View Full Code Here

    {
        String attributeName = attributes.getValue( "attr-name" );
        String propertyName = attributes.getValue( "prop-name" );

        SetPropertiesBuilder builder = getDigester().peek();
        builder.addAlias( attributeName ).forProperty( propertyName );
    }

}
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.