Package org.apache.shale.clay.config.beans

Examples of org.apache.shale.clay.config.beans.ConverterBean


     *
     * @param node markup
     * @param target child config bean
     */
    protected void addConverter(Node node, ElementBean target) {
       ConverterBean targetConverter = new ConverterBean();

       String jsfid = getJsfid(node);
       targetConverter.setJsfid(jsfid);

       // resolve inheritance and attribute overrides
       realizeComponent(node, targetConverter);
       //attach to the target element
       target.addConverter(targetConverter);
View Full Code Here


     * @inheritDoc
     * @param node markup
     * @param target child config bean
     */
    protected void addConverter(Node node, ElementBean target) {
        ConverterBean targetConverter = new ConverterBean();

        //make sure we have the correct jsfid based on the namespace prefix
        Builder tmpBuilder = getBuilder(node);
        ElementBean tmp = tmpBuilder.createElement(node);

        String jsfid = tmp.getJsfid();
        targetConverter.setJsfid(jsfid);

        String converterId = (String) node.getAttributes().get("converterId");
        if (converterId != null) {
            targetConverter.setComponentType(tagsUtil.evalString(converterId));
        }

        // resolve inheritance and attribute overrides
        if (node.getAttributes().containsKey("extends") || !jsfid.equals("converter")) {
            realizeComponent(node, targetConverter);
View Full Code Here

TOP

Related Classes of org.apache.shale.clay.config.beans.ConverterBean

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.