@Override public String getDefaultContentType() { String result = null; if (jspPropertyGroup.getDefaultContentType() != null) { result = jspPropertyGroup.getDefaultContentType().toString(); } return result; }
@Override public String getElIgnored() { String result = null; if (jspPropertyGroup.getElIgnored() != null) { result = jspPropertyGroup.getElIgnored().toString(); } return result; }
@Override public String getErrorOnUndeclaredNamespace() { String result = null; if (jspPropertyGroup.getErrorOnUndeclaredNamespace() != null) { result = jspPropertyGroup.getErrorOnUndeclaredNamespace().toString(); } return result; }
for (String urlPattern : jpg.getUrlPatterns()) { appendElement(sb, INDENT6, "url-pattern", urlPattern); appendElement(sb, INDENT6, "el-ignored", jpg.getElIgnored()); appendElement(sb, INDENT6, "page-encoding", jpg.getPageEncoding()); appendElement(sb, INDENT6, "scripting-invalid", jpg.getScriptingInvalid()); appendElement(sb, INDENT6, "is-xml", jpg.getIsXml()); for (String prelude : jpg.getIncludePreludes()) { appendElement(sb, INDENT6, "include-prelude", prelude); for (String coda : jpg.getIncludeCodas()) { appendElement(sb, INDENT6, "include-coda", coda); jpg.getDeferredSyntax()); appendElement(sb, INDENT6, "trim-directive-whitespaces", jpg.getTrimWhitespace()); appendElement(sb, INDENT6, "default-content-type", jpg.getDefaultContentType()); appendElement(sb, INDENT6, "buffer", jpg.getBuffer()); appendElement(sb, INDENT6, "error-on-undeclared-namespace", jpg.getErrorOnUndeclaredNamespace()); sb.append(" </jsp-property-group>\n");
JspProperty property = new JspProperty(jspPropertyGroup.getIsXml(), jspPropertyGroup.getElIgnored(), jspPropertyGroup.getScriptingInvalid(), jspPropertyGroup.getPageEncoding(), jspPropertyGroup.getIncludePreludes(), jspPropertyGroup.getIncludeCodas(), jspPropertyGroup.getDeferredSyntaxAllowedAsLiteral(), jspPropertyGroup.getTrimDirectiveWhitespaces(), jspPropertyGroup.getDefaultContentType(), jspPropertyGroup.getBuffer(), jspPropertyGroup.getErrorOnUndeclaredNamespace()); JspPropertyGroup propertyGroup = new JspPropertyGroup(path, extension, property);
@Override public String getPageEncoding() { String result = null; if (jspPropertyGroup.getPageEncoding() != null) { result = jspPropertyGroup.getPageEncoding().toString(); } return result; }
@Override public String getScriptingInvalid() { String result = null; if (jspPropertyGroup.getScriptingInvalid() != null) { result = jspPropertyGroup.getScriptingInvalid().toString(); } return result; }
@Override public Collection<String> getIncludePreludes() { return jspPropertyGroup.getIncludePreludes(); }
@Override public Collection<String> getIncludeCodas() { return jspPropertyGroup.getIncludeCodas(); }
@Override public String getDeferredSyntaxAllowedAsLiteral() { String result = null; if (jspPropertyGroup.getDeferredSyntax() != null) { result = jspPropertyGroup.getDeferredSyntax().toString(); } return result; }
appendElement(sb, INDENT6, "url-pattern", jpg.getUrlPattern()); appendElement(sb, INDENT6, "el-ignored", jpg.getElIgnored()); appendElement(sb, INDENT6, "scripting-invalid", jpg.getScriptingInvalid()); appendElement(sb, INDENT6, "page-encoding", jpg.getPageEncoding()); for (String prelude : jpg.getIncludePreludes()) { appendElement(sb, INDENT6, "include-prelude", prelude); for (String coda : jpg.getIncludeCodas()) { appendElement(sb, INDENT6, "include-coda", coda); appendElement(sb, INDENT6, "is-xml", jpg.getIsXml()); appendElement(sb, INDENT6, "deferred-syntax-allowed-as-literal", jpg.getDeferredSyntax()); appendElement(sb, INDENT6, "trim-directive-whitespaces", jpg.getTrimWhitespace()); appendElement(sb, INDENT6, "default-content-type", jpg.getDefaultContentType()); appendElement(sb, INDENT6, "buffer", jpg.getBuffer()); appendElement(sb, INDENT6, "error-on-undeclared-namespace", jpg.getErrorOnUndeclaredNamespace()); sb.append(" </jsp-property-group>\n");
JspProperty property = new JspProperty(jspPropertyGroup.getIsXml(), jspPropertyGroup.getElIgnored(), jspPropertyGroup.getScriptingInvalid(), jspPropertyGroup.getPageEncoding(), jspPropertyGroup.getIncludePreludes(), jspPropertyGroup.getIncludeCodas(), jspPropertyGroup.getDeferredSyntaxAllowedAsLiteral(), jspPropertyGroup.getTrimDirectiveWhitespaces(), jspPropertyGroup.getDefaultContentType(), jspPropertyGroup.getBuffer(), jspPropertyGroup.getErrorOnUndeclaredNamespace()); JspPropertyGroup propertyGroup = new JspPropertyGroup(path, extension, property);
@Override public String getPageEncoding() { String result = null; if (jspPropertyGroup.getPageEncoding() != null) { result = jspPropertyGroup.getPageEncoding().toString(); } return result; }
@Override public String getScriptingInvalid() { String result = null; if (jspPropertyGroup.getScriptingInvalid() != null) { result = jspPropertyGroup.getScriptingInvalid().toString(); } return result; }
@Override public Collection<String> getIncludePreludes() { return jspPropertyGroup.getIncludePreludes(); }
@Override public Collection<String> getIncludeCodas() { return jspPropertyGroup.getIncludeCodas(); }