|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.onemind.jxp.JxpPageSource
public abstract class JxpPageSource
Represent the source of JxpPages. It contains multiple JxpPages identified by the ids
| Constructor Summary | |
|---|---|
JxpPageSource()
|
|
| Method Summary | |
|---|---|
abstract java.lang.StringBuffer |
getErrorSource(JxpPage page,
int line,
int col)
Print the error source of this page on given line and column |
abstract AstJxpDocument |
getJxpDocument(JxpPage page)
Get the jxp document for the JxpPage |
abstract JxpPage |
getJxpPage(java.lang.String id)
Return a jxp page identified by the id |
abstract boolean |
hasJxpPage(java.lang.String id)
Return whether the jxp page identified by the id exists |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JxpPageSource()
| Method Detail |
|---|
public abstract boolean hasJxpPage(java.lang.String id)
id - the id
public abstract JxpPage getJxpPage(java.lang.String id)
throws JxpPageNotFoundException
id - the id
JxpPageNotFoundException - if the page cannot be found
public abstract java.lang.StringBuffer getErrorSource(JxpPage page,
int line,
int col)
throws java.io.IOException
page - the pageline - the linecol - the column
java.io.IOException - if there's IO problem
public abstract AstJxpDocument getJxpDocument(JxpPage page)
throws JxpPageSourceException
page - the JxpPage
JxpPageSourceException - if there's source exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||