public abstract class GroupedElement extends FormElement
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CHECKED_ATTR |
protected static String |
PRESENTATIONML_LABEL_TAG |
protected static String |
VALUE_ATTR |
INPUT_TAG, NAME_ATTR, TYPE_ATTRCLASS_ATTR, format, ID_ATTR, STYLE_ATTR| Constructor and Description |
|---|
GroupedElement(Element parent,
String messageMLTag,
FormatEnum format) |
| Modifier and Type | Method and Description |
|---|---|
void |
asPresentationML(XmlPrintStream out,
MessageMLContext context)
Print a PresentationML representation of the element and its children to the provided PrintStream.
|
void |
buildAll(MessageMLParser parser,
Element element)
Process a DOM element, descending into its children, and construct the output MessageML tree.
|
protected void |
buildElementAttrFromInputTag(MessageMLParser parser,
Node inputElement) |
protected void |
buildElementFromGroupDiv(MessageMLParser parser,
Element element) |
protected Map<String,String> |
buildGroupedElementInputAttributes() |
protected abstract String |
getPresentationMLDivClass() |
protected abstract String |
getPresentationMLInputType() |
validateaddChild, areNestedElementsAllowed, asText, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionprotected static final String PRESENTATIONML_LABEL_TAG
protected static final String VALUE_ATTR
protected static final String CHECKED_ATTR
public GroupedElement(Element parent, String messageMLTag, FormatEnum format)
public void buildAll(MessageMLParser parser, Element element) throws InvalidInputException, ProcessingException
ElementbuildAll in class ElementInvalidInputExceptionProcessingExceptionpublic void asPresentationML(XmlPrintStream out, MessageMLContext context)
Elementprotected void buildElementFromGroupDiv(MessageMLParser parser, Element element) throws InvalidInputException, ProcessingException
protected void buildElementAttrFromInputTag(MessageMLParser parser, Node inputElement) throws InvalidInputException
InvalidInputExceptionprotected Map<String,String> buildGroupedElementInputAttributes()
protected abstract String getPresentationMLInputType()
protected abstract String getPresentationMLDivClass()
Copyright © 2020 The Symphony Software Foundation. All rights reserved.