public abstract class TypeValueBuilder
extends java.lang.Object
Constructor and Description |
---|
TypeValueBuilder() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,org.jdom2.Element> |
assembleMap(java.lang.String schema)
Builds a map of complex data types and their names from the specification schema,
required for the building of the data schema
|
protected org.jdom2.Document |
getDataDocument(java.util.List<DynFormField> fieldList,
java.lang.String rootName)
Creates a data document filled with sample values from a list of dynamic
form fields.
|
protected YDataHandler |
getDataHandler() |
protected XNode |
getDataXNode(java.util.List<DynFormField> fieldList,
java.lang.String rootName) |
protected java.util.List<DynFormField> |
getFieldList(java.util.Map<java.lang.String,FormParameter> paramMap,
java.lang.String rootName,
java.lang.String schema)
Builds a map of dynamic form fields from a set of variables, each field
representing a simple type variable or a hierarchy of simple type elements
of a complex type variable.
|
protected YNet |
getNet() |
protected FormParameter |
getParameter(VariableRow row)
Creates a FormParameter object from the data contained in a variable row
|
protected YSpecificationHandler |
getSpecHandler() |
protected java.util.Map<java.lang.String,org.jdom2.Element> assembleMap(java.lang.String schema)
schema
- the data definition schema of the specificationprotected FormParameter getParameter(VariableRow row)
row
- the row to useprotected java.util.List<DynFormField> getFieldList(java.util.Map<java.lang.String,FormParameter> paramMap, java.lang.String rootName, java.lang.String schema)
paramMap
- a map of variable names to FormParameters (an extension of
YVariable required for dynamic forms)protected org.jdom2.Document getDataDocument(java.util.List<DynFormField> fieldList, java.lang.String rootName)
fieldList
- a list of dynamic form fieldsprotected XNode getDataXNode(java.util.List<DynFormField> fieldList, java.lang.String rootName)
protected YNet getNet()
protected YDataHandler getDataHandler()
protected YSpecificationHandler getSpecHandler()