|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onemind.jxp.JxpPage
public abstract class JxpPage
Represent an JXPPage. It has a name and hold reference to the AST structure
Field Summary | |
---|---|
private AstJxpDocument |
_doc
the document * |
private java.lang.String |
_encoding
the encoding |
private java.lang.String |
_name
the name * |
private JxpPageParseException |
_pageParseException
the error message * |
private JxpPageSource |
_source
the source * |
Constructor Summary | |
---|---|
JxpPage(JxpPageSource source,
java.lang.String name,
java.lang.String encoding)
Constructor |
Method Summary | |
---|---|
abstract java.lang.Object |
assignStaticVariable(java.lang.String name,
java.lang.Object value)
|
abstract java.lang.Object |
declareStaticVariable(java.lang.String s,
java.lang.Object value)
|
AstJxpDocument |
getDocument()
Return the doc |
java.lang.String |
getEncoding()
Return the encoding |
AstJxpDocument |
getJxpDocument()
Get the JxpDocument tree structure |
java.lang.String |
getName()
Get the name |
JxpPageParseException |
getParseException()
Return the pageParseException |
JxpPageSource |
getSource()
Get the source |
abstract java.lang.Object |
getStaticVariable(java.lang.String s)
|
boolean |
hasParseError()
Return the hasParseError |
abstract boolean |
hasStaticVariable(java.lang.String s)
|
void |
setDocument(AstJxpDocument doc)
Set the doc |
void |
setEncoding(java.lang.String encoding)
Set the encoding |
void |
setParseException(JxpPageParseException pageParseException)
Set the pageParseException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private JxpPageSource _source
private java.lang.String _name
private AstJxpDocument _doc
private JxpPageParseException _pageParseException
private java.lang.String _encoding
Constructor Detail |
---|
public JxpPage(JxpPageSource source, java.lang.String name, java.lang.String encoding)
source
- the sourcename
- the nameMethod Detail |
---|
public final java.lang.String getName()
public final AstJxpDocument getJxpDocument() throws JxpPageSourceException
JxpPageSourceException
- if there's problem creating the document treepublic final JxpPageSource getSource()
public final AstJxpDocument getDocument()
public final void setDocument(AstJxpDocument doc)
doc
- The doc to set.public abstract java.lang.Object declareStaticVariable(java.lang.String s, java.lang.Object value)
s
-
public abstract boolean hasStaticVariable(java.lang.String s)
s
-
public abstract java.lang.Object getStaticVariable(java.lang.String s)
s
-
public abstract java.lang.Object assignStaticVariable(java.lang.String name, java.lang.Object value)
name
- value
- public final boolean hasParseError()
public final void setParseException(JxpPageParseException pageParseException)
pageParseException
- The pageParseException to set.public final JxpPageParseException getParseException()
public final java.lang.String getEncoding()
public final void setEncoding(java.lang.String encoding)
encoding
- The encoding to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |