FileDocCategorySizeDatePackage
JspGroupDescriptor.javaAPI DocGlassfish v2 API9336Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

JspGroupDescriptor

public class JspGroupDescriptor extends Descriptor

Fields Summary
private String
elIgnored
private String
scriptingInvalid
private String
isXml
private String
deferredSyntaxAllowedAsLiteral
private String
trimDirectiveWhitespaces
private Set
urlPatterns
private Set
includePreludes
private Set
includeCodas
private String
pageEncoding
Constructors Summary
Methods Summary
public voidaddIncludeCoda(java.lang.String coda)
Adds an element

        this.getIncludeCodaSet().add(coda);
        this.changed();
    
public voidaddIncludePrelude(java.lang.String prelude)
Adds an element

        this.getIncludePreludeSet().add(prelude);
        this.changed();
    
public voidaddUrlPattern(java.lang.String urlPattern)
Adds an alias to this jsp group.

        this.getUrlPatternsSet().add(urlPattern);
        this.changed();
    
private booleangetBoolean(java.lang.String value)

        return Boolean.valueOf(value).booleanValue();
    
public java.lang.StringgetDeferredSyntaxAllowedAsLiteral()

        return deferredSyntaxAllowedAsLiteral;
    
public java.lang.StringgetDisplayName()
get display name.

        // bug#4745178  other code requires the
        // display name to be localized.
        return super.getName();
    
public java.lang.StringgetElIgnored()

        return elIgnored;
    
public java.util.SetgetIncludeCodaSet()
Return the set of include coda elements for this group.

        if (this.includeCodas == null) {
            this.includeCodas = new OrderedSet();
        }
        return this.includeCodas;
    
public java.util.EnumerationgetIncludeCodas()
Returns an enumeration of include coda patterns for this group.

        return (new Vector(this.getIncludeCodaSet())).elements();
    
public java.util.SetgetIncludePreludeSet()
Return the set of include prelude elements for this group.

        if (this.includePreludes == null) {
            this.includePreludes = new OrderedSet();
        }
        return this.includePreludes;
    
public java.util.EnumerationgetIncludePreludes()
Returns an enumeration of include prelude patterns for this group.

        return (new Vector(this.getIncludePreludeSet())).elements();
    
public java.lang.StringgetIsXml()

        return isXml;
    
public java.lang.StringgetPageEncoding()

	return pageEncoding;
    
public java.lang.StringgetScriptingInvalid()

	return scriptingInvalid;
    
public java.lang.StringgetTrimDirectiveWhitespaces()

        return trimDirectiveWhitespaces;
    
public java.util.EnumerationgetUrlPatterns()
Returns an enumeration of (String) URL pattern aliases for this group.

        return (new Vector(this.getUrlPatternsSet())).elements();
    
public java.util.SetgetUrlPatternsSet()
Return the set of URL pattern aliases for this group.

    
                   
       
        if (this.urlPatterns == null) {
            this.urlPatterns = new OrderedSet();
        }
        return this.urlPatterns;
    
public booleanisDeferredSyntaxAllowedAsLiteral()
return if is deferredSyntaxAllowedAsLiteral.

        return getBoolean(deferredSyntaxAllowedAsLiteral);
    
public booleanisElIgnored()

	return getBoolean(elIgnored);
    
public booleanisScriptingInvalid()
return if scripting is enabled.

	return getBoolean(scriptingInvalid);
    
public booleanisTrimDirectiveWhitespaces()
return if is trimDirectiveWhitespaces.

        return getBoolean(trimDirectiveWhitespaces);
    
public booleanisXml()
return if is xml.

	return getBoolean(isXml);
    
public voidprint(java.lang.StringBuffer toStringBuffer)

return
a string describing the values I hold

        toStringBuffer.append("\n JspGroupDescriptor");
	toStringBuffer.append( "\n");
        super.print(toStringBuffer);
	toStringBuffer.append( "\n DisplayName:").append(this.getDisplayName());
	toStringBuffer.append( "\n PageEncoding:").append(pageEncoding);
	toStringBuffer.append( "\n El-Ignored:").append(elIgnored);
	toStringBuffer.append( "\n Scripting Invalid:").append(scriptingInvalid);
	toStringBuffer.append( "\n urlPatterns: ").append(urlPatterns);
	toStringBuffer.append( "\n includePreludes: ").append(includePreludes);
	toStringBuffer.append( "\n includeCoda: ").append(includeCodas);
	toStringBuffer.append( "\n Is XML:").append(isXml);
	toStringBuffer.append( "\n DeferredSyntaxAllowedAsLiteral: ").append(deferredSyntaxAllowedAsLiteral);
	toStringBuffer.append( "\n TrimDirectiveWhitespaces:").append(trimDirectiveWhitespaces);

    
public voidremoveIncludeCoda(java.lang.String coda)
Removes an element

        this.getIncludeCodaSet().remove(coda);
        this.changed();
    
public voidremoveIncludePrelude(java.lang.String prelude)
Removes an element

        this.getIncludePreludeSet().remove(prelude);
        this.changed();
    
public voidremoveUrlPattern(java.lang.String urlPattern)
Removes a URL pattern from this jsp group.

        this.getUrlPatternsSet().remove(urlPattern);
        this.changed();
    
public voidsetDeferredSyntaxAllowedAsLiteral(boolean value)
enable/disable deferredSyntaxAllowedAsLiteral

        deferredSyntaxAllowedAsLiteral = String.valueOf(value);
    
public voidsetDeferredSyntaxAllowedAsLiteral(java.lang.String value)
enable/disable deferredSyntaxAllowedAsLiteral

        deferredSyntaxAllowedAsLiteral = value;
    
public voidsetDisplayName(java.lang.String name)
set display name.

        // bug#4745178  other code requires the
        // display name to be localized.
        super.setName(name);
    
public voidsetElIgnored(boolean value)

        elIgnored = String.valueOf(value);
    
public voidsetElIngored(java.lang.String value)
expression evaluation

        elIgnored = value;
    
public voidsetIsXml(boolean value)
enable/disable xml

        isXml = String.valueOf(value);
    
public voidsetIsXml(java.lang.String value)
enable/disable xml

        isXml = value;
    
public voidsetPageEncoding(java.lang.String encoding)

	pageEncoding = encoding;
    
public voidsetScriptingEnabled(java.lang.String value)
enable/disable scripting

        scriptingInvalid = value;
    
public voidsetScriptingInvalid(boolean value)

        scriptingInvalid = String.valueOf(value);
    
public voidsetTrimDirectiveWhitespaces(boolean value)
enable/disable trimDirectiveWhitespaces

        trimDirectiveWhitespaces = String.valueOf(value);
    
public voidsetTrimDirectiveWhitespaces(java.lang.String value)
enable/disable trimDirectiveWhitespaces

        trimDirectiveWhitespaces = value;