Package org.apache.commons.digester

Examples of org.apache.commons.digester.Digester.addSetNext()


        /* portlet-app/portlet/cache */
        digester.addObjectCreate( "portlet-app/portlet/cache", CacheDescriptor.class );
        digester.addSetProperties( "portlet-app/portlet/cache", "mode", "mode" );
        digester.addBeanPropertySetter( "portlet-app/portlet/cache/expires", "expires" );
        digester.addBeanPropertySetter( "portlet-app/portlet/cache/shared", "shared" );
        digester.addSetNext( "portlet-app/portlet/cache", "addCacheDescriptor" );

        /* portlet-app/portlet/language */
        digester.addObjectCreate( "portlet-app/portlet/language", LanguageDescriptor.class );
        digester.addSetProperties( "portlet-app/portlet/language", "locale", "locale" );
        digester.addBeanPropertySetter( "portlet-app/portlet/language/title", "title" );
View Full Code Here


        digester.addSetProperties( "portlet-app/portlet/language", "locale", "locale" );
        digester.addBeanPropertySetter( "portlet-app/portlet/language/title", "title" );
        digester.addBeanPropertySetter( "portlet-app/portlet/language/title-short", "titleShort" );
        digester.addBeanPropertySetter( "portlet-app/portlet/language/description", "description" );
        digester.addBeanPropertySetter( "portlet-app/portlet/language/keywords", "keywords" );
        digester.addSetNext( "portlet-app/portlet/language", "addLanguageDescriptor" );

        /* portlet-app/portlet/supports/markup */
        digester.addObjectCreate( "portlet-app/portlet/supports/markup", MarkupDescriptor.class );
        digester.addSetProperties( "portlet-app/portlet/supports/markup", "name", "markup" );
        digester.addCallMethod( "portlet-app/portlet/supports/markup/view", "supportView" );
View Full Code Here

        digester.addSetProperties( "portlet-app/portlet/supports/markup", "name", "markup" );
        digester.addCallMethod( "portlet-app/portlet/supports/markup/view", "supportView" );
        digester.addCallMethod( "portlet-app/portlet/supports/markup/edit", "supportEdit" );
        digester.addCallMethod( "portlet-app/portlet/supports/markup/configure", "supportConfigure" );
        digester.addCallMethod( "portlet-app/portlet/supports/markup/help", "supportHelp" );
        digester.addSetNext( "portlet-app/portlet/supports/markup", "addMarkupDescriptor" );

        /* portlet-app/portlet/init-param */
        digester.addCallMethod( "portlet-app/portlet/init-param", "addInitParameter", 2 );
        digester.addCallParam( "portlet-app/portlet/init-param/param-name", 0 );
        digester.addCallParam( "portlet-app/portlet/init-param/param-value", 1 );
View Full Code Here

        digester.addObjectCreate( "portlet-app/portlet/security-constraint/auth-constraint", AuthConstraintDescriptor.class );
        digester.addSetProperties( "portlet-app/portlet/security-constraint/auth-constraint", "mode", "mode" );
        digester.addBeanPropertySetter( "portlet-app/portlet/security-constraint/auth-constraint/allow-anonymous", "allowAnonymous" );
        digester.addCallMethod( "portlet-app/portlet/security-constraint/auth-constraint/role-name", "addRole", 1 );
        digester.addCallParam( "portlet-app/portlet/security-constraint/auth-constraint/role-name", 0 );
        digester.addSetNext( "portlet-app/portlet/security-constraint/auth-constraint", "addAuthConstraintDescriptor" );

        /* portlet-app/portlet/webflow/action */
        digester.addObjectCreate( "portlet-app/portlet/webflow/action", WebflowActionDescriptor.class );
        digester.addSetProperties( "portlet-app/portlet/webflow/action", "name", "name" );
       
View Full Code Here

       
        digester.addCallMethod( "portlet-app/portlet/webflow/action/return", "addReturnUri", 2 );
        digester.addCallParam( "portlet-app/portlet/webflow/action/return", 0, "code" );
        digester.addCallParam( "portlet-app/portlet/webflow/action/return", 1 );
       
        digester.addSetNext( "portlet-app/portlet/webflow/action", "addWebflowActionDescriptor" );

        digester.addSetNext( "portlet-app/portlet", "addPortletDescriptor" );

        try
        {
View Full Code Here

        digester.addCallParam( "portlet-app/portlet/webflow/action/return", 0, "code" );
        digester.addCallParam( "portlet-app/portlet/webflow/action/return", 1 );
       
        digester.addSetNext( "portlet-app/portlet/webflow/action", "addWebflowActionDescriptor" );

        digester.addSetNext( "portlet-app/portlet", "addPortletDescriptor" );

        try
        {
            digester.setValidating( true );
            return ( ApplicationDescriptor ) digester.parse( in );
View Full Code Here

            digester.addSetProperties(MATCH_TEST_STEP, "redirectUrl", "redirectUrl");

            digester.addObjectCreate(MATCH_PARAMETER, HttpTestEntryStep.Parameter.class);
            digester.addSetProperties(MATCH_PARAMETER, "key", "key");
            digester.addSetProperties(MATCH_PARAMETER, "value", "value");
            digester.addSetNext(MATCH_PARAMETER, "addParameter");

            digester.addObjectCreate(MATCH_MESSAGE, HttpTestEntryStep.Value.class);
            digester.addSetProperties(MATCH_MESSAGE, "value", "value");
            digester.addSetNext(MATCH_MESSAGE, "addMessage");
View Full Code Here

            digester.addSetProperties(MATCH_PARAMETER, "value", "value");
            digester.addSetNext(MATCH_PARAMETER, "addParameter");

            digester.addObjectCreate(MATCH_MESSAGE, HttpTestEntryStep.Value.class);
            digester.addSetProperties(MATCH_MESSAGE, "value", "value");
            digester.addSetNext(MATCH_MESSAGE, "addMessage");

            digester.addObjectCreate(MATCH_ERROR, HttpTestEntryStep.Value.class);
            digester.addSetProperties(MATCH_ERROR, "value", "value");
            digester.addSetNext(MATCH_ERROR, "addError");
View Full Code Here

            digester.addSetProperties(MATCH_MESSAGE, "value", "value");
            digester.addSetNext(MATCH_MESSAGE, "addMessage");

            digester.addObjectCreate(MATCH_ERROR, HttpTestEntryStep.Value.class);
            digester.addSetProperties(MATCH_ERROR, "value", "value");
            digester.addSetNext(MATCH_ERROR, "addError");

            digester.addSetNext(MATCH_TEST_STEP, "addStep");
            digester.addSetNext(MATCH_TEST, "addEntry");

            InputStream input = new FileInputStream(path);
View Full Code Here

            digester.addObjectCreate(MATCH_ERROR, HttpTestEntryStep.Value.class);
            digester.addSetProperties(MATCH_ERROR, "value", "value");
            digester.addSetNext(MATCH_ERROR, "addError");

            digester.addSetNext(MATCH_TEST_STEP, "addStep");
            digester.addSetNext(MATCH_TEST, "addEntry");

            InputStream input = new FileInputStream(path);
            return (HttpTestContainer) digester.parse(input);
        } catch (SAXException e) {
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.