org.jibx.binding.model
Class SplitElement

java.lang.Object
  extended by org.jibx.binding.model.ElementBase
      extended by org.jibx.binding.model.NestingElementBase
          extended by 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
private  InputElement m_inputSide
          Input side of binding (null if none).
private  OutputElement m_outputSide
          Output side of binding (null if 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
SplitElement()
          Constructor.
 
Method Summary
 InputElement getInputSide()
          Get input side of binding.
 OutputElement getOutputSide()
          Get output side of binding.
 void setInputSide(InputElement input)
          Set input side of binding.
 void setOutputSide(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_inputSide

private InputElement m_inputSide
Input side of binding (null if none).


m_outputSide

private OutputElement m_outputSide
Output side of binding (null if none).

Constructor Detail

SplitElement

public SplitElement()
Constructor.

Method Detail

getInputSide

public InputElement getInputSide()
Get input side of binding.

Returns:
input side (null if none)

setInputSide

public void setInputSide(InputElement input)
Set input side of binding.

Parameters:
input - element containing input binding definition (null if none)

getOutputSide

public OutputElement getOutputSide()
Get output side of binding.

Returns:
output side (null if none)

setOutputSide

public void setOutputSide(OutputElement output)
Set output side of binding.

Parameters:
output - element containing output binding definition (null if none)


Project Web Site