net.ontopia.utils.ontojsp
Class JSPPageReader

java.lang.Object
  extended by net.ontopia.utils.ontojsp.JSPPageReader

public class JSPPageReader
extends Object

INTERNAL: Class that reads a jsp file and builds a JSPTree from it.


Field Summary
protected  String filename
           
 
Constructor Summary
JSPPageReader(File source)
          Constructor that accepts a filename as argument.
JSPPageReader(String filename)
           
 
Method Summary
 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
 

Field Detail

filename

protected String filename
Constructor Detail

JSPPageReader

public JSPPageReader(File source)
              throws MalformedURLException
Constructor that accepts a filename as argument.

Throws:
MalformedURLException

JSPPageReader

public JSPPageReader(String filename)
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


Copyright © 2000-2012 Ontopia.