|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.component.util.descriptors.LayoutElementBase
com.sun.rave.web.ui.component.util.descriptors.LayoutMarkup
public class LayoutMarkup
This class defines a LayoutMarkup. A LayoutMarkup provides a means to start a markup tag and associate the current UIComponent with it for tool support. It also has the benefit of properly closing the markup tag for you.
Field Summary | |
---|---|
static Handler |
afterEncodeHandler
|
static HandlerDefinition |
afterEncodeHandlerDef
|
static java.lang.String |
TYPE_BOTH
This markup type writes out both the opening and closing tags. |
static java.lang.String |
TYPE_CLOSE
This markup type writes out the closing tag. |
static java.lang.String |
TYPE_OPEN
This markup type writes out the opening tag. |
Fields inherited from class com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase |
---|
AFTER_ENCODE, BEFORE_ENCODE, ENCODE |
Constructor Summary | |
---|---|
LayoutMarkup(LayoutElement parent,
java.lang.String tag,
java.lang.String type)
Constructor. |
Method Summary | |
---|---|
static void |
afterEncodeHandler(HandlerContext context)
This handler takes care of closing the tag. |
protected boolean |
encodeThis(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This method displays the text described by this component. |
java.lang.String |
getTag()
|
java.lang.String |
getType()
|
Methods inherited from class com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase |
---|
addChildLayoutElement, createHandlerContext, dispatchHandlers, dispatchHandlers, encode, encodeChild, getChildLayoutElements, getHandlers, getHandlers, getHandlersByTypeMap, getId, getLayoutDefinition, getParent, getUnevaluatedId, resolveValue, setHandlers, setHandlersByTypeMap, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.rave.web.ui.component.util.descriptors.LayoutElement |
---|
addChildLayoutElement, dispatchHandlers, dispatchHandlers, encode, getChildLayoutElements, getHandlers, getId, getLayoutDefinition, getParent, getUnevaluatedId, setHandlers |
Field Detail |
---|
public static final HandlerDefinition afterEncodeHandlerDef
public static final Handler afterEncodeHandler
public static final java.lang.String TYPE_BOTH
This markup type writes out both the opening and closing tags.
public static final java.lang.String TYPE_CLOSE
This markup type writes out the closing tag.
public static final java.lang.String TYPE_OPEN
This markup type writes out the opening tag.
Constructor Detail |
---|
public LayoutMarkup(LayoutElement parent, java.lang.String tag, java.lang.String type)
Constructor.
Method Detail |
---|
public java.lang.String getTag()
public java.lang.String getType()
protected boolean encodeThis(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
This method displays the text described by this component. If the text includes an EL expression, it will be evaluated. It returns true to render children.
encodeThis
in class LayoutElementBase
context
- The FacesContext
component
- The UIComponent
java.io.IOException
public static void afterEncodeHandler(HandlerContext context) throws java.io.IOException
This handler takes care of closing the tag.
context
- The HandlerContext.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |