Package net.ontopia.utils.ontojsp
Class JSPPageReader
- java.lang.Object
-
- net.ontopia.utils.ontojsp.JSPPageReader
-
public class JSPPageReader extends Object
INTERNAL: Class that reads a jsp file and builds a JSPTree from it.
-
-
Constructor Summary
Constructors Constructor Description JSPPageReader(File source)
Constructor that accepts a filename as argument.JSPPageReader(URL file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLReader
createXMLReader()
Creates an XMLReader object.JSPTreeNodeIF
read()
Reads a jsp file and creates a tree of JSPTreeNodeIF objects.JSPTreeNodeIF
read(boolean useTagPooling)
-
-
-
Field Detail
-
file
protected URL file
-
-
Constructor Detail
-
JSPPageReader
public JSPPageReader(File source) throws MalformedURLException
Constructor that accepts a filename as argument.- Throws:
MalformedURLException
-
JSPPageReader
public JSPPageReader(URL file)
-
-
Method Detail
-
createXMLReader
public XMLReader createXMLReader()
Creates an XMLReader object.
-
read
public JSPTreeNodeIF read() throws IOException, SAXException
Reads a jsp file and creates a tree of JSPTreeNodeIF objects.- Returns:
- net.ontopia.utils.ontojsp.JSPTreeNodeIF
- Throws:
IOException
SAXException
-
read
public JSPTreeNodeIF read(boolean useTagPooling) throws IOException, SAXException
- Throws:
IOException
SAXException
-
-