Package org.jibx.binding.model
Class SplitElement
- java.lang.Object
-
- org.jibx.binding.model.ElementBase
-
- org.jibx.binding.model.NestingElementBase
-
- org.jibx.binding.model.SplitElement
-
public class SplitElement extends NestingElementBase
Model component for split element of binding definition. This is only used for structuring purposes, and is eliminated when the binding definition is split into specialized input and output versions.- Version:
- 1.0
- Author:
- Dennis M. Sosnoski
-
-
Field Summary
Fields Modifier and Type Field Description private InputElementm_inputSideInput side of binding (nullif none).private OutputElementm_outputSideOutput side of binding (nullif none).-
Fields inherited from class org.jibx.binding.model.NestingElementBase
s_allowedAttributes
-
Fields inherited from class org.jibx.binding.model.ElementBase
BINDING_ELEMENT, COLLECTION_ELEMENT, ELEMENT_NAMES, FORMAT_ELEMENT, INCLUDE_ELEMENT, INPUT_ELEMENT, MAPPING_ELEMENT, NAMESPACE_ELEMENT, OUTPUT_ELEMENT, SPLIT_ELEMENT, STRUCTURE_ELEMENT, TEMPLATE_ELEMENT, VALUE_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description SplitElement()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputElementgetInputSide()Get input side of binding.OutputElementgetOutputSide()Get output side of binding.voidsetInputSide(InputElement input)Set input side of binding.voidsetOutputSide(OutputElement output)Set output side of binding.-
Methods inherited from class org.jibx.binding.model.NestingElementBase
addChild, childIterator, children, getDefaultStyle, getDefinitions, getStyle, getStyleName, prevalidate, setDefinitions, setStyleName, validate
-
Methods inherited from class org.jibx.binding.model.ElementBase
getComment, name, setComment, toString, type, validateAttributes
-
-
-
-
Field Detail
-
m_inputSide
private InputElement m_inputSide
Input side of binding (nullif none).
-
m_outputSide
private OutputElement m_outputSide
Output side of binding (nullif none).
-
-
Method Detail
-
getInputSide
public InputElement getInputSide()
Get input side of binding.- Returns:
- input side (
nullif none)
-
setInputSide
public void setInputSide(InputElement input)
Set input side of binding.- Parameters:
input- element containing input binding definition (nullif none)
-
getOutputSide
public OutputElement getOutputSide()
Get output side of binding.- Returns:
- output side (
nullif none)
-
setOutputSide
public void setOutputSide(OutputElement output)
Set output side of binding.- Parameters:
output- element containing output binding definition (nullif none)
-
-