Examples of addSetProperties()


Examples of com.sun.org.apache.commons.digester.Digester.addSetProperties()

        // Configure the actions we will be using
        digester.addObjectCreate("Server",
                                 "org.apache.catalina.core.StandardServer",
                                 "className");
        digester.addSetProperties("Server");
        digester.addSetNext("Server",
                            "setServer",
                            "org.apache.catalina.Server");

        digester.addObjectCreate("Server/GlobalNamingResources",
View Full Code Here

Examples of com.volantis.mcs.runtime.configuration.xml.digester.MarinerDigester.addSetProperties()

        // I have used our repackaged parser to get it to work for now...
        // This will probably have to be changed as part of VBM:2003022702.
        Digester digester = new MarinerDigester(new SAXParser());
        digester.addObjectCreate("parent", ParentConf.class);
        digester.addObjectCreate("parent/enabled", EnabledConf.class);
        digester.addSetProperties("parent/enabled", "property", "property");
        digester.addSetNext("parent/enabled", "setEnabled");
       
        // Parse the document using the digester.
        ByteArrayInputStream stream = new ByteArrayInputStream(
                document.getBytes());
View Full Code Here

Examples of hudson.util.Digester2.addSetProperties()

        Digester digester = new Digester2();
        ArrayList<LogEntry> r = new ArrayList<LogEntry>();
        digester.push(r);

        digester.addObjectCreate("*/logentry", LogEntry.class);
        digester.addSetProperties("*/logentry");
        digester.addBeanPropertySetter("*/logentry/author","user");
        digester.addBeanPropertySetter("*/logentry/date");
        digester.addBeanPropertySetter("*/logentry/msg");
        digester.addSetNext("*/logentry","add");

 
View Full Code Here

Examples of org.apache.catalina.util.CatalinaDigester.addSetProperties()

        // Configure the actions we will be using
        digester.addObjectCreate("Server",
                                 "org.apache.catalina.core.StandardServer",
                                 "className");
        digester.addSetProperties("Server");
        digester.addSetNext("Server",
                            "setServer",
                            "org.apache.catalina.Server");

        digester.addObjectCreate("Server/GlobalNamingResources",
View Full Code Here

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

        digester.addBeanPropertySetter( "portlet-app/portlet/action-listener", "actionListenerClass" );
        digester.addBeanPropertySetter( "portlet-app/portlet/message-listener", "messageListenerClass" );

        /* 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 */
 
View Full Code Here

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

        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" );
        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" );
View Full Code Here

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

        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" );
        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" );
View Full Code Here

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

        digester.addCallParam( "portlet-app/portlet/init-param/param-name", 0 );
        digester.addCallParam( "portlet-app/portlet/init-param/param-value", 1 );

        /* portlet-app/portlet/security-contraint/auth-contraint */
        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" );

View Full Code Here

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

        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" );
       
        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 );
       
View Full Code Here

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

        try {
            Digester digester = new Digester();
            digester.setValidating(false);

            digester.addObjectCreate(MATCH_TESTS, HttpTestContainer.class);
            digester.addSetProperties(MATCH_TESTS, "rootUrl", "rootUrl");
            digester.addSetProperties(MATCH_TESTS, "port", "port");
            digester.addSetProperties(MATCH_TESTS, "defaultUsername", "defaultUsername");
            digester.addSetProperties(MATCH_TESTS, "defaultPassword", "defaultPassword");

            digester.addObjectCreate(MATCH_TEST, HttpTestEntry.class);
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.