Examples of addObjectCreate()


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

            digester.setDebug(debug);
        digester.setValidating(false);
        digester.setClassLoader(standardServerClassLoader);

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

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

        // Create the digester
        // @todo ought this digester use our repackaged parser?
        // 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.
View Full Code Here

Examples of hudson.util.Digester2.addObjectCreate()

        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.addObjectCreate()

        Digester digester = new CatalinaDigester();
        digester.setValidating(false);
        digester.setClassLoader(StandardServer.class.getClassLoader());

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

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

        throws PortletException
    {
        Digester digester = new Digester(  );

        /* portlet-app */
        digester.addObjectCreate( "portlet-app", ApplicationDescriptor.class );
        digester.addBeanPropertySetter( "portlet-app/portlet-app-name", "name" );

        /* portlet-app/context-param */
        digester.addCallMethod( "portlet-app/context-param", "addContextParameter", 2 );
        digester.addCallParam( "portlet-app/context-param/param-name", 0 );
View Full Code Here

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

        digester.addCallMethod( "portlet-app/context-param", "addContextParameter", 2 );
        digester.addCallParam( "portlet-app/context-param/param-name", 0 );
        digester.addCallParam( "portlet-app/context-param/param-value", 1 );

        /* portlet-app/portlet */
        digester.addObjectCreate( "portlet-app/portlet", PortletDescriptor.class );
        digester.addBeanPropertySetter( "portlet-app/portlet/portlet-name", "name" );
        digester.addBeanPropertySetter( "portlet-app/portlet/portlet-class", "portletClass" );
        digester.addBeanPropertySetter( "portlet-app/portlet/default-locale", "defaultLocale" );
        digester.addBeanPropertySetter( "portlet-app/portlet/action-listener", "actionListenerClass" );
        digester.addBeanPropertySetter( "portlet-app/portlet/message-listener", "messageListenerClass" );
View Full Code Here

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

        digester.addBeanPropertySetter( "portlet-app/portlet/default-locale", "defaultLocale" );
        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" );

View Full Code Here

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

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

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

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

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

        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 );

        /* 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
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.