public abstract class JxpPageSource
extends java.lang.Object
Constructor and Description |
---|
JxpPageSource() |
Modifier and Type | Method and Description |
---|---|
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
|
public abstract boolean hasJxpPage(java.lang.String id)
id
- the idpublic abstract JxpPage getJxpPage(java.lang.String id) throws JxpPageNotFoundException
id
- the idJxpPageNotFoundException
- if the page cannot be foundpublic abstract java.lang.StringBuffer getErrorSource(JxpPage page, int line, int col) throws java.io.IOException
page
- the pageline
- the linecol
- the columnjava.io.IOException
- if there's IO problempublic abstract AstJxpDocument getJxpDocument(JxpPage page) throws JxpPageSourceException
page
- the JxpPageJxpPageSourceException
- if there's source exception