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

org.fife.rsta.ac.jsp.TldFile Maven / Gradle / Ivy

Go to download

A library adding code completion and other advanced features for Java, JavaScript, Perl, and other languages to RSyntaxTextArea.

There is a newer version: 3.3.0
Show newest version
/*
 * 07/05/2011
 *
 * Copyright (C) 2011 Robert Futrell
 * robert_futrell at users.sourceforge.net
 * http://fifesoft.com/rsyntaxtextarea
 *
 * This library is distributed under a modified BSD license.  See the included
 * RSTALanguageSupport.License.txt file for details.
 */
package org.fife.rsta.ac.jsp;

import java.io.*;
import java.util.*;
import java.util.jar.*;
import javax.xml.parsers.*;

import org.fife.rsta.ac.jsp.TldAttribute.TldAttributeParam;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Text;


/**
 * A TLD.
 *
 * @author Robert Futrell
 * @version 1.0
 */
public class TldFile {

	private JspCompletionProvider provider;
	private File jar;
	private List tldElems;


	public TldFile(JspCompletionProvider provider, File jar)
					throws IOException {
		this.provider = provider;
		this.jar = jar;
		tldElems = loadTldElems();
	}


	public List getAttributesForTag(String tagName) {

		
		for (int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy