Package org.apache.catalina.util.xml

Examples of org.apache.catalina.util.xml.XmlMapper.methodSetter()


            mapper.objectCreate("org.apache.catalina.deploy.ContextResource"));
        mapper.addRule("web-app/resource-ref",
                mapper.addChild("addResource",
                                "org.apache.catalina.deploy.ContextResource"));
        mapper.addRule("web-app/resource-ref/description",
                       mapper.methodSetter("setDescription", 0));
        mapper.addRule("web-app/resource-ref/res-auth",
                       mapper.methodSetter("setAuth", 0));
        mapper.addRule("web-app/resource-ref/res-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/resource-ref/res-sharing-scope",
View Full Code Here


                mapper.addChild("addResource",
                                "org.apache.catalina.deploy.ContextResource"));
        mapper.addRule("web-app/resource-ref/description",
                       mapper.methodSetter("setDescription", 0));
        mapper.addRule("web-app/resource-ref/res-auth",
                       mapper.methodSetter("setAuth", 0));
        mapper.addRule("web-app/resource-ref/res-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/resource-ref/res-sharing-scope",
                       mapper.methodSetter("setScope", 0));
        mapper.addRule("web-app/resource-ref/res-type",
View Full Code Here

        mapper.addRule("web-app/resource-ref/description",
                       mapper.methodSetter("setDescription", 0));
        mapper.addRule("web-app/resource-ref/res-auth",
                       mapper.methodSetter("setAuth", 0));
        mapper.addRule("web-app/resource-ref/res-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/resource-ref/res-sharing-scope",
                       mapper.methodSetter("setScope", 0));
        mapper.addRule("web-app/resource-ref/res-type",
                       mapper.methodSetter("setType", 0));
View Full Code Here

        mapper.addRule("web-app/resource-ref/res-auth",
                       mapper.methodSetter("setAuth", 0));
        mapper.addRule("web-app/resource-ref/res-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/resource-ref/res-sharing-scope",
                       mapper.methodSetter("setScope", 0));
        mapper.addRule("web-app/resource-ref/res-type",
                       mapper.methodSetter("setType", 0));

        mapper.addRule("web-app/security-constraint",
                       mapper.objectCreate("org.apache.catalina.deploy.SecurityConstraint"));
View Full Code Here

        mapper.addRule("web-app/resource-ref/res-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/resource-ref/res-sharing-scope",
                       mapper.methodSetter("setScope", 0));
        mapper.addRule("web-app/resource-ref/res-type",
                       mapper.methodSetter("setType", 0));

        mapper.addRule("web-app/security-constraint",
                       mapper.objectCreate("org.apache.catalina.deploy.SecurityConstraint"));
        mapper.addRule("web-app/security-constraint",
                       mapper.addChild("addConstraint",
View Full Code Here

                       mapper.addChild("addConstraint",
                                       "org.apache.catalina.deploy.SecurityConstraint"));
        mapper.addRule("web-app/security-constraint/auth-constraint",
                       new SetAuthConstraint());
        mapper.addRule("web-app/security-constraint/auth-constraint/role-name",
                       mapper.methodSetter("addAuthRole", 0));
        mapper.addRule("web-app/security-constraint/display-name",
                       mapper.methodSetter("setDisplayName", 0));
        mapper.addRule("web-app/security-constraint/user-data-constraint/transport-guarantee",
                       mapper.methodSetter("setUserConstraint", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
View Full Code Here

        mapper.addRule("web-app/security-constraint/auth-constraint",
                       new SetAuthConstraint());
        mapper.addRule("web-app/security-constraint/auth-constraint/role-name",
                       mapper.methodSetter("addAuthRole", 0));
        mapper.addRule("web-app/security-constraint/display-name",
                       mapper.methodSetter("setDisplayName", 0));
        mapper.addRule("web-app/security-constraint/user-data-constraint/transport-guarantee",
                       mapper.methodSetter("setUserConstraint", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
                       mapper.objectCreate("org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
View Full Code Here

        mapper.addRule("web-app/security-constraint/auth-constraint/role-name",
                       mapper.methodSetter("addAuthRole", 0));
        mapper.addRule("web-app/security-constraint/display-name",
                       mapper.methodSetter("setDisplayName", 0));
        mapper.addRule("web-app/security-constraint/user-data-constraint/transport-guarantee",
                       mapper.methodSetter("setUserConstraint", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
                       mapper.objectCreate("org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
                       mapper.addChild("addCollection",
                                       "org.apache.catalina.deploy.SecurityCollection"));
View Full Code Here

                       mapper.objectCreate("org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
                       mapper.addChild("addCollection",
                                       "org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection/http-method",
                       mapper.methodSetter("addMethod", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection/url-pattern",
                       mapper.methodSetter("addPattern", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection/web-resource-name",
                       mapper.methodSetter("setName", 0));
View Full Code Here

                       mapper.addChild("addCollection",
                                       "org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection/http-method",
                       mapper.methodSetter("addMethod", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection/url-pattern",
                       mapper.methodSetter("addPattern", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection/web-resource-name",
                       mapper.methodSetter("setName", 0));

        mapper.addRule("web-app/security-role",
                       mapper.methodSetter("addSecurityRole", 1));
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.