|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.PageNode org.japano.pagenode.Part
public class Part
Registers a part of the document for being used with scripted partial updates.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.japano.PageNode |
---|
PageNode.Output |
Field Summary | |
---|---|
static java.lang.String |
PARAMETER_NAME
|
protected java.lang.String |
partId
|
Fields inherited from class org.japano.PageNode |
---|
children, context, EMPTY, nodeId, parent |
Constructor Summary | |
---|---|
Part()
|
Method Summary | |
---|---|
void |
generate(Buffer out)
Generates this node The base implementation just calls PageNode.generateChildren(Buffer) |
java.lang.String |
getContentType()
|
java.lang.String |
getId()
|
void |
init()
Initializes the node. |
void |
setClass(java.lang.String _class)
Sets the class for the div tag. |
void |
setContentType(java.lang.String contentType)
The content type with which the part will be served. |
void |
setId(java.lang.String id)
Sets the unique id under which the part will be registered in the page. |
void |
setStyle(java.lang.String style)
Sets the style for the div tag. |
Methods inherited from class org.japano.PageNode |
---|
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, recInit, release, setChildren, setContext, setNodeId, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAMETER_NAME
protected java.lang.String partId
Constructor Detail |
---|
public Part()
Method Detail |
---|
public void setId(java.lang.String id)
public java.lang.String getId()
public void setStyle(java.lang.String style)
public void setClass(java.lang.String _class)
public void setContentType(java.lang.String contentType)
public java.lang.String getContentType()
public void init()
PageNode
init
in class PageNode
public void generate(Buffer out)
PageNode
PageNode.generateChildren(Buffer)
generate
in class PageNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |