soap tutorial

adriani.jws.template.wrappers
Class WrapperIn

java.lang.Object
  extended by adriani.jws.template.wrappers.Wrapper
      extended by adriani.jws.template.wrappers.WrapperIn
Direct Known Subclasses:
WrapperDateIn, WrapperInformationIn

public abstract class WrapperIn
extends Wrapper

WrapperIn - general class wrapping the root ADBBean element containing the input SOAP request. In most cases this class just adds some input-oriented static fields, without adding any new method.
The presence of this class in the architecture allows to add some custom methods to all input wrappers (in necessary) without affecting the general parent Wrapper class.


Field Summary
static java.lang.String BLANK
          Static final String values stored here to improve performances.
static java.lang.String DOT
          Static final String values stored here to improve performances.
static java.lang.String EMPTY
          Static final String values stored here to improve performances.
protected static java.lang.String leadingName
          Beginning of each logging message
static java.lang.StringBuffer NO_NUMBER
          Static string value depicting a undefined number field.
static int NOT_A_NUMBER
          Static integer value depicting a undefined number field.
static java.math.BigInteger NOT_AVAILABLE
          Static BigInteger value depicting a undefined number field.
 
Fields inherited from class adriani.jws.template.wrappers.Wrapper
element, logger, NOT_BIG_INTEGER, UNDEFINED
 
Constructor Summary
WrapperIn()
           
 
Method Summary
abstract  java.lang.StringBuffer[] toArray(boolean complete)
          Produce a StringBuffer[] array containing all data contained by this wrapper.
 
Methods inherited from class adriani.jws.template.wrappers.Wrapper
compareSB, getElement, setDefaults, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_AVAILABLE

public static final java.math.BigInteger NOT_AVAILABLE
Static BigInteger value depicting a undefined number field.


NOT_A_NUMBER

public static final int NOT_A_NUMBER
Static integer value depicting a undefined number field.

See Also:
Constant Field Values

NO_NUMBER

public static final java.lang.StringBuffer NO_NUMBER
Static string value depicting a undefined number field.


DOT

public static final java.lang.String DOT
Static final String values stored here to improve performances.

See Also:
Constant Field Values

EMPTY

public static final java.lang.String EMPTY
Static final String values stored here to improve performances.

See Also:
Constant Field Values

BLANK

public static final java.lang.String BLANK
Static final String values stored here to improve performances.

See Also:
Constant Field Values

leadingName

protected static java.lang.String leadingName
Beginning of each logging message

Constructor Detail

WrapperIn

public WrapperIn()
Method Detail

toArray

public abstract java.lang.StringBuffer[] toArray(boolean complete)
Produce a StringBuffer[] array containing all data contained by this wrapper. If this method must be used in a test environment (where dummy input data should be complete), the input flag complete allows to add some hard-coded values if the creation of the array fails.

Parameters:
complete - if true some hard-coded data will be created if creation of the array fails
Returns:
a StringBuffer[] array with the data contained by this wrapper

Build 19/03/2014

Morpheus Technologies - making the Zion software
Copyright © 2009-2014 Morpheus Technologies. All Rights Reserved