All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.servlet.descriptor.JspPropertyGroupDescriptor Maven / Gradle / Ivy

There is a newer version: 11.0.1
Show newest version
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package javax.servlet.descriptor;

import java.util.Collection;

/**
 * Represents the JSP property groups in the deployment descriptors.
 *
 * @since Servlet 3.0
 */
public interface JspPropertyGroupDescriptor {

    /**
     * Obtain the patterns to which this group applies.
     *
     * @return the patterns to which this group applies
     */
    Collection getUrlPatterns();

    /**
     * Is Expression Language ignored for this group?
     *
     * @return {@code true} if EL is ignored, otherwise {@code false}
     */
    String getElIgnored();

    /**
     * Obtain the page encoding for this group.
     *
     * @return the page encoding for this group
     */
    String getPageEncoding();

    /**
     * Is scripting disabled for this group?
     *
     * @return {@code true} if scripting is disabled, otherwise {@code false}
     */
    String getScriptingInvalid();

    /**
     * Should the JSPs in this group be treated as JSP documents?
     *
     * @return {@code true} if the JSPs should be treated as JSP documents, otherwise {@code false}
     */
    String getIsXml();

    /**
     * Obtain the preludes to include for this group.
     *
     * @return the preludes to include for this group
     */
    Collection getIncludePreludes();

    /**
     * Obtain the codas to include for this group.
     *
     * @return the codas to include for this group.
     */
    Collection getIncludeCodas();

    /**
     * Is the deferred El syntax #{...} allowed to be used as a literal in this group?
     *
     * @return {@code true} if the deferred EL syntax is allowed to be used as a literal, otherwise {@code false}
     */
    String getDeferredSyntaxAllowedAsLiteral();

    /**
     * Should the JSPs in this group have template text that only contains whitespace removed?
     *
     * @return {@code true} if the whitespace be removed, otherwise {@code false}
     */
    String getTrimDirectiveWhitespaces();

    /**
     * Obtain the default content type this group of JSP pages.#
     *
     * @return the default content type this group of JSP pages
     */
    String getDefaultContentType();

    /**
     * Obtain the per-page buffer configuration for this group of JSP pages.
     *
     * @return the per-page buffer configuration for this group of JSP pages
     */
    String getBuffer();

    /**
     * Should an error be raised at translation time for a page in this group if the page contains a reference (e.g. a
     * tag) to a undeclared namespace.
     *
     * @return {@code true} if an error should be raised, otherwise {@code false}
     */
    String getErrorOnUndeclaredNamespace();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy