org.apache.tomcat.util.descriptor.LocalResolver Java Examples
The following examples show how to use
org.apache.tomcat.util.descriptor.LocalResolver.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JspDocumentParser.java From Tomcat8-Source-Read with MIT License | 5 votes |
public JspDocumentParser( ParserController pc, String path, boolean isTagFile, boolean directivesOnly) { this.parserController = pc; this.ctxt = pc.getJspCompilationContext(); this.pageInfo = pc.getCompiler().getPageInfo(); this.err = pc.getCompiler().getErrorDispatcher(); this.path = path; this.isTagFile = isTagFile; this.directivesOnly = directivesOnly; this.isTop = true; String blockExternalString = ctxt.getServletContext().getInitParameter( Constants.XML_BLOCK_EXTERNAL_INIT_PARAM); boolean blockExternal; if (blockExternalString == null) { blockExternal = true; } else { blockExternal = Boolean.parseBoolean(blockExternalString); } this.entityResolver = new LocalResolver( DigesterFactory.SERVLET_API_PUBLIC_IDS, DigesterFactory.SERVLET_API_SYSTEM_IDS, blockExternal); }
Example #2
Source File: ParserUtils.java From Tomcat7.0.67 with Apache License 2.0 | 5 votes |
public ParserUtils(boolean validating, boolean blockExternal) { this.validating = validating; if (entityResolver == null) { this.entityResolverInstance = new LocalResolver( DigesterFactory.SERVLET_API_PUBLIC_IDS, DigesterFactory.SERVLET_API_SYSTEM_IDS, blockExternal); } else { this.entityResolverInstance = entityResolver; } }
Example #3
Source File: JspDocumentParser.java From Tomcat7.0.67 with Apache License 2.0 | 5 votes |
public JspDocumentParser( ParserController pc, String path, boolean isTagFile, boolean directivesOnly) { this.parserController = pc; this.ctxt = pc.getJspCompilationContext(); this.pageInfo = pc.getCompiler().getPageInfo(); this.err = pc.getCompiler().getErrorDispatcher(); this.path = path; this.isTagFile = isTagFile; this.directivesOnly = directivesOnly; this.isTop = true; String blockExternalString = ctxt.getServletContext().getInitParameter( Constants.XML_BLOCK_EXTERNAL_INIT_PARAM); boolean blockExternal; if (blockExternalString == null) { blockExternal = true; } else { blockExternal = Boolean.parseBoolean(blockExternalString); } this.entityResolver = new LocalResolver( DigesterFactory.SERVLET_API_PUBLIC_IDS, DigesterFactory.SERVLET_API_SYSTEM_IDS, blockExternal); }
Example #4
Source File: ParserUtils.java From tomcatsrc with Apache License 2.0 | 5 votes |
public ParserUtils(boolean validating, boolean blockExternal) { this.validating = validating; if (entityResolver == null) { this.entityResolverInstance = new LocalResolver( DigesterFactory.SERVLET_API_PUBLIC_IDS, DigesterFactory.SERVLET_API_SYSTEM_IDS, blockExternal); } else { this.entityResolverInstance = entityResolver; } }
Example #5
Source File: JspDocumentParser.java From tomcatsrc with Apache License 2.0 | 5 votes |
public JspDocumentParser( ParserController pc, String path, boolean isTagFile, boolean directivesOnly) { this.parserController = pc; this.ctxt = pc.getJspCompilationContext(); this.pageInfo = pc.getCompiler().getPageInfo(); this.err = pc.getCompiler().getErrorDispatcher(); this.path = path; this.isTagFile = isTagFile; this.directivesOnly = directivesOnly; this.isTop = true; String blockExternalString = ctxt.getServletContext().getInitParameter( Constants.XML_BLOCK_EXTERNAL_INIT_PARAM); boolean blockExternal; if (blockExternalString == null) { blockExternal = true; } else { blockExternal = Boolean.parseBoolean(blockExternalString); } this.entityResolver = new LocalResolver( DigesterFactory.SERVLET_API_PUBLIC_IDS, DigesterFactory.SERVLET_API_SYSTEM_IDS, blockExternal); }