Class SoapArrayType

java.lang.Object
org.apache.cxf.aegis.type.AegisType
org.apache.cxf.aegis.type.encoded.SoapArrayType

public class SoapArrayType extends AegisType
  • Constructor Details

    • SoapArrayType

      public SoapArrayType()
  • Method Details

    • readObject

      public Object readObject(MessageReader reader, Context context) throws DatabindingException
      Description copied from class: AegisType
      Read in the XML fragment and create an object.
      Specified by:
      readObject in class AegisType
      Returns:
      Throws:
      DatabindingException
    • readCollection

      protected List<Object> readCollection(MessageReader reader, Context context, ArrayTypeInfo arrayTypeInfo, int maxSize) throws DatabindingException
      Throws:
      DatabindingException
    • makeArray

      protected Object makeArray(List<Object> values, List<Integer> dimensions, Class<?> componentType)
    • writeObject

      public void writeObject(Object values, MessageWriter writer, Context context) throws DatabindingException
      Description copied from class: AegisType
      Writes the object to the MessageWriter.
      Specified by:
      writeObject in class AegisType
      Throws:
      DatabindingException
    • writeValue

      protected void writeValue(Object value, MessageWriter writer, Context context, AegisType type) throws DatabindingException
      Throws:
      DatabindingException
    • writeSchema

      public void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
      Throws UnsupportedOperationException
      Overrides:
      writeSchema in class AegisType
      Parameters:
      root - root of the XSD document.
    • isComplex

      public boolean isComplex()
      We need to write a complex type schema for Beans, so return true.
      Overrides:
      isComplex in class AegisType
      Returns:
      True if a complex type schema must be written.
      See Also:
    • getComponentName

      public QName getComponentName()
      Gets the QName of the component type of this array.
      Returns:
      the QName of the component type of this array
    • setComponentName

      public void setComponentName(QName componentName)
      Sets the QName of the component type of this array.
      Parameters:
      componentName - the QName of the component type of this array
    • getDependencies

      public Set<AegisType> getDependencies()
      Description copied from class: AegisType
      Return a set of AegisType dependencies. Returns null if this type has no dependencies.
      Overrides:
      getDependencies in class AegisType
      Returns:
      Set of AegisType dependencies
    • getComponentType

      public AegisType getComponentType()
      Get the AegisType of the elements in the array. This is only used for writing an array. When reading the type is solely determined by the required arrayType soap attribute.
    • getRootType

      protected QName getRootType()
      Gets the QName of the root component type of this array. This will be a non-array type such as a simple xsd type.
      Returns:
      the QName of the root component type of this array