public class TemplateParameterSerializer extends Object
<element>
<parameter name="p1" [default="value|expression"] [optional=(true|false)]/>*
</element>
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.axiom.om.OMFactory |
fac |
protected static org.apache.axiom.om.OMNamespace |
nullNS |
protected static QName |
PARAMETER_Q |
protected static org.apache.axiom.om.OMNamespace |
synNS |
| Constructor and Description |
|---|
TemplateParameterSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
serializeTemplateParameter(org.apache.axiom.om.OMElement parent,
TemplateParameter tp,
QName childElementName)
Serialize the parameter to the given parent element.
|
static void |
serializeTemplateParameters(org.apache.axiom.om.OMElement parent,
Collection<TemplateParameter> params)
Serialize all the parameters to the given parent element.
|
static void |
serializeTemplateParameters(org.apache.axiom.om.OMElement parent,
Collection<TemplateParameter> params,
QName childElementName)
Serialize all the parameters to the given parent element.
|
protected static final org.apache.axiom.om.OMFactory fac
protected static final org.apache.axiom.om.OMNamespace synNS
protected static final org.apache.axiom.om.OMNamespace nullNS
protected static final QName PARAMETER_Q
public static void serializeTemplateParameters(org.apache.axiom.om.OMElement parent,
Collection<TemplateParameter> params)
parent - element to which parameter elements should be addedparams - the list of TemplateParameter objectspublic static void serializeTemplateParameters(org.apache.axiom.om.OMElement parent,
Collection<TemplateParameter> params,
QName childElementName)
parent - element to which parameter elements should be addedparams - the list of TemplateParameter objectschildElementName - of the parameter element to be createdpublic static void serializeTemplateParameter(org.apache.axiom.om.OMElement parent,
TemplateParameter tp,
QName childElementName)
parent - element to which parameter elements should be addedtp - a property to be serializedchildElementName - of the parameter element to be createdCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.