org.infolayer.templates.html
Class TE_properties
java.lang.Object
org.kxml2.kdom.Element
org.infolayer.templates.TemplateElement
org.infolayer.templates.html.TE_properties
- Direct Known Subclasses:
- TE_default
- public class TE_properties
- extends TemplateElement
The <t:properties> element generates a table
consisting of labels and properties of the current
object. This element can be used in regular pages
for displaying object properties. Inside <t:form>
elements, the <t:properties> element can be used
to edit objects or to search for objects.
Please note that the context must be an instance for
the display and edit mode, but a class for the query mode.
- names
- A comma separated list of property names to be displayed.
- See Also:
- Serialized Form
Method Summary |
void |
apply(XmlSerializer xw,
IlRequest context,
Bindings bindings)
Applies the template mechanism. |
void |
init()
|
static void |
writeClassDetails(XmlSerializer xw,
IlRequest context,
UmlClass umlClass)
|
static void |
writeObjectDetails(XmlSerializer xw,
IlRequest context,
UmlClass type,
UmlObject object,
java.lang.String[] names,
int onEmpty)
If names array is null, the list is computed automatically |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TE_properties
public TE_properties()
init
public void init()
- Overrides:
init
in class TemplateElement
writeClassDetails
public static void writeClassDetails(XmlSerializer xw,
IlRequest context,
UmlClass umlClass)
throws java.io.IOException
- Throws:
java.io.IOException
writeObjectDetails
public static void writeObjectDetails(XmlSerializer xw,
IlRequest context,
UmlClass type,
UmlObject object,
java.lang.String[] names,
int onEmpty)
throws java.io.IOException
- If names array is null, the list is computed automatically
- Throws:
java.io.IOException
apply
public void apply(XmlSerializer xw,
IlRequest context,
Bindings bindings)
throws java.io.IOException
- Description copied from class:
TemplateElement
- Applies the template mechanism. Must be overwritten in the
- Overrides:
apply
in class TemplateElement
- Throws:
java.io.IOException