net.ontopia.utils.ontojsp
Class JSPPageReader
java.lang.Object
net.ontopia.utils.ontojsp.JSPPageReader
public class JSPPageReader
- extends java.lang.Object
INTERNAL: Class that reads a jsp file and builds a JSPTree from it.
Field Summary |
protected java.lang.String |
filename
|
Constructor Summary |
JSPPageReader(java.io.File source)
Constructor that accepts a filename as argument. |
JSPPageReader(java.lang.String filename)
|
Method Summary |
org.xml.sax.XMLReader |
createXMLReader()
Creates an XMLReader object. |
JSPTreeNodeIF |
read()
Reads a jsp file and creates a tree of JSPTreeNodeIF objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filename
protected java.lang.String filename
JSPPageReader
public JSPPageReader(java.io.File source)
throws java.net.MalformedURLException
- Constructor that accepts a filename as argument.
- Throws:
java.net.MalformedURLException
JSPPageReader
public JSPPageReader(java.lang.String filename)
createXMLReader
public org.xml.sax.XMLReader createXMLReader()
- Creates an XMLReader object.
read
public JSPTreeNodeIF read()
throws java.io.IOException,
org.xml.sax.SAXException
- Reads a jsp file and creates a tree of JSPTreeNodeIF objects.
- Returns:
- net.ontopia.utils.ontojsp.JSPTreeNodeIF
- Throws:
java.io.IOException
org.xml.sax.SAXException
Copyright © 2000-2012 Ontopia.