TreeNode root = (new ParserUtils(blockExternal)).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
TreeNode root = (new ParserUtils(blockExternal)).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
private void tldScanStream(String resourcePath, String entryName, InputStream stream) throws IOException { try { // Parse the tag library descriptor at the specified resource path String uri = null; TreeNode tld = new ParserUtils().parseXMLDocument(resourcePath, stream); TreeNode uriNode = tld.findChild("uri"); if (uriNode != null) { String body = uriNode.getBody(); if (body != null) uri = body; } // Add implicit map entry only if its uri is not already // present in the map if (uri != null && mappings.get(uri) == null) { TldLocation location; if (entryName == null) { location = new TldLocation(resourcePath); } else { location = new TldLocation(entryName, resourcePath); } mappings.put(uri, location); } } catch (JasperException e) { // Hack - makes exception handling simpler throw new IOException(e); } }
try { TreeNode tld = new ParserUtils().parseXMLDocument( resourcePath, stream, isValidationEnabled);
try { TreeNode tld = new ParserUtils().parseXMLDocument( resourcePath, stream, isValidationEnabled);
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
try { TreeNode tld = new ParserUtils(blockExternal).parseXMLDocument( resourcePath, stream, isValidationEnabled);
try { TreeNode tld = new ParserUtils().parseXMLDocument( resourcePath, stream, isValidationEnabled);
try { TreeNode tld = new ParserUtils(blockExternal).parseXMLDocument( resourcePath, stream, isValidationEnabled);
try { TreeNode tld = new ParserUtils().parseXMLDocument( resourcePath, stream, isValidationEnabled);
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
(new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) { return;
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
return; TreeNode root = (new ParserUtils()).parseXMLDocument(TAG_PLUGINS_XML, is); if (root == null) {
new ParserUtils().parseXMLDocument(resourcePath, stream); TreeNode uriNode = tld.findChild("uri"); if (uriNode != null) {
private String getUriFromTld(String resourcePath, InputStream in) throws JasperException { // Parse the tag library descriptor at the specified resource path /* SJSAS 6384538 TreeNode tld = new ParserUtils().parseXMLDocument(resourcePath, in); */ // START SJSAS 6384538 TreeNode tld = new ParserUtils().parseXMLDocument( resourcePath, in, options.isValidationEnabled()); // END SJSAS 6384538 TreeNode uri = tld.findChild("uri"); if (uri != null) { String body = uri.getBody(); if (body != null) return body; } return null; }
webtld = new ParserUtils().parseXMLDocument(webXml.getSystemId(), webXml.getInputSource());