org.jbpm.formModeler.service.bb.mvc.taglib.formatter
Class ProcessingInstruction
java.lang.Object
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.
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
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
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.