Examples of JspGroupDescriptor


Examples of com.sun.enterprise.deployment.JspGroupDescriptor

        }

        Iterator<JspGroupDescriptor> jspPropertyGroups = set.iterator();
        while (jspPropertyGroups.hasNext()){

            JspGroupDescriptor jspGroup = jspPropertyGroups.next();

            Vector urlPatterns = null;
            Vector includePreludes = null;
            Vector includeCodas = null;

            String pageEncoding = jspGroup.getPageEncoding();
            String scriptingInvalid = jspGroup.getScriptingInvalid();
            String elIgnored = jspGroup.getElIgnored();
            String isXml = jspGroup.getIsXml();
            String trimSpaces = jspGroup.getTrimDirectiveWhitespaces();
            String poundAllowed = jspGroup.getDeferredSyntaxAllowedAsLiteral();
          
            // url-pattern
            Enumeration<String> e = jspGroup.getUrlPatterns();
            if (e != null) {
                while (e.hasMoreElements()) {
                    if (urlPatterns == null) {
                        urlPatterns = new Vector();
                    }
                    String urlPattern = e.nextElement();
                    urlPatterns.addElement(urlPattern);
                    webModule.addJspMapping(urlPattern);
                }
            }
            if (urlPatterns == null || urlPatterns.size() == 0) {
                continue;
            }

            // include-prelude
            e = jspGroup.getIncludePreludes();
            if (e != null) {
                while (e.hasMoreElements()) {
                    if (includePreludes == null) {
                        includePreludes = new Vector();
                    }
                    includePreludes.addElement(e.nextElement());
                }
            }

            // include-coda
            e = jspGroup.getIncludeCodas();
            if (e != null) {
                while (e.hasMoreElements()) {
                    if (includeCodas == null) {
                        includeCodas = new Vector();
                    }
View Full Code Here

Examples of org.glassfish.web.deployment.descriptor.JspGroupDescriptor

     * @return the descriptor instance to associate with this XMLNode
     */
    @Override
    public JspGroupDescriptor getDescriptor() {
        if (descriptor == null) {
            descriptor = new JspGroupDescriptor();
        }
        return descriptor;
    }
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.