|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimple.page.BasicPage
public abstract class BasicPage
The BasicPage
object provides the base class for all
generated page objects. The translator uses this object as the
base if no object has been specificed in the extends JSP directive.
If another base class is to be used, it should extend this.
Field Summary | |
---|---|
protected Context |
context
This provides a context to the underlying OS file system. |
protected java.lang.String |
path
The path that the translated JSP source was created from. |
protected java.lang.String |
type
This is the MIME type specified by the page implementation. |
Constructor Summary | |
---|---|
BasicPage(Context context,
java.lang.String path)
Constructor for the BasicPage object. |
Method Summary | |
---|---|
java.lang.String |
getCharset()
This retrieves the character encoding that should be used when marshalling the character stream provided by the page to a byte stream. |
java.lang.String |
getContentType()
This provides the MIME content type and character encoding of for the page implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Context context
protected java.lang.String type
protected java.lang.String path
Constructor Detail |
---|
public BasicPage(Context context, java.lang.String path)
BasicPage
object. This is used
to create an object that represents a translated JSP source.
This requires the file system context and the .jsp path.
context
- this is the file system context for the pagepath
- this is the URI path reference to the JSP sourceMethod Detail |
---|
public java.lang.String getCharset()
public java.lang.String getContentType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |