jbpm-form-modeler-request-dispatcher 6.2.0.Final

org.jbpm.formModeler.service.bb.mvc.taglib.formatter
Class ProcessingInstruction

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.mvc.taglib.formatter.ProcessingInstruction

public class ProcessingInstruction
extends Object

This class represent a processing instruction to render a formatter. It can be one of two types: RENDER_FRAGMENT or SET_ATTRIBUTE. If it is RENDER_FRAGMENT, the name will be the fragment name, and value will be null. If it is SET_ATTRIBUTE, the name will be the attribute name, and value will be the attribute value.


Field Summary
static int INCLUDE_PAGE
           
static int RENDER_FRAGMENT
           
static int SET_ATTRIBUTE
           
static int SET_DYNAMIC_ATTRIBUTES_INTERPRETER
           
static int WRITE_OUT
           
 
Method Summary
static ProcessingInstruction getAddAttributesInterpreterInstruction(FormaterTagDynamicAttributesInterpreter interpreter)
           
static ProcessingInstruction getIncludePageInstruction(String pageName)
           
 String getName()
           
static ProcessingInstruction getRenderFragmentInstruction(String fragmentName)
           
static ProcessingInstruction getSetParameterInstruction(String paramName, Object paramValue)
           
 int getType()
           
 Object getValue()
           
static ProcessingInstruction getWriteToOutInstruction(String text)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RENDER_FRAGMENT

public static final int RENDER_FRAGMENT
See Also:
Constant Field Values

SET_ATTRIBUTE

public static final int SET_ATTRIBUTE
See Also:
Constant Field Values

INCLUDE_PAGE

public static final int INCLUDE_PAGE
See Also:
Constant Field Values

WRITE_OUT

public static final int WRITE_OUT
See Also:
Constant Field Values

SET_DYNAMIC_ATTRIBUTES_INTERPRETER

public static final int SET_DYNAMIC_ATTRIBUTES_INTERPRETER
See Also:
Constant Field Values
Method Detail

getRenderFragmentInstruction

public static ProcessingInstruction getRenderFragmentInstruction(String fragmentName)

getSetParameterInstruction

public static ProcessingInstruction getSetParameterInstruction(String paramName,
                                                               Object paramValue)

getIncludePageInstruction

public static ProcessingInstruction getIncludePageInstruction(String pageName)

getWriteToOutInstruction

public static ProcessingInstruction getWriteToOutInstruction(String text)

getAddAttributesInterpreterInstruction

public static ProcessingInstruction getAddAttributesInterpreterInstruction(FormaterTagDynamicAttributesInterpreter interpreter)

getType

public int getType()

getName

public String getName()

getValue

public Object getValue()

toString

public String toString()
Overrides:
toString in class Object

jbpm-form-modeler-request-dispatcher 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.