org.codehaus.xfire.aegis.type.basic
Class HolderType

java.lang.Object
  extended by org.codehaus.xfire.aegis.type.Type
      extended by org.codehaus.xfire.aegis.type.basic.HolderType
All Implemented Interfaces:
SchemaType
Direct Known Subclasses:
HolderType

public class HolderType
extends Type

A holder type which makes multiple out parameters possible.

Author:
Dan Diephouse

Constructor Summary
HolderType(Type delegate)
           
 
Method Summary
 Type getDelegate()
           
 javax.xml.namespace.QName getSchemaType()
          The schema type that this SchemaType represents.
 boolean isAbstract()
          Whether or not this a complexType or a concrete element.
 boolean isComplex()
          Whether or not this a complex type.
 boolean isNillable()
           
 boolean isWriteOuter()
           
 java.lang.Object readObject(MessageReader reader, MessageContext context)
          Read in the XML fragment and create an object.
 void setAbstract(boolean abstrct)
           
 void setNillable(boolean nillable)
           
 void setSchemaType(javax.xml.namespace.QName name)
           
 void setTypeMapping(TypeMapping typeMapping)
           
protected  void setValue(java.lang.Object hObj, java.lang.Object value)
           
 void setWriteOuter(boolean writeOuter)
           
 void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
          Writes the object to the MessageWriter.
 void writeSchema(Element root)
          Write the type schema (if complex) to the element.
 
Methods inherited from class org.codehaus.xfire.aegis.type.Type
equals, getDependencies, getTypeClass, getTypeMapping, hashCode, setTypeClass, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HolderType

public HolderType(Type delegate)
Method Detail

getDelegate

public Type getDelegate()

readObject

public java.lang.Object readObject(MessageReader reader,
                                   MessageContext context)
                            throws XFireFault
Description copied from class: Type
Read in the XML fragment and create an object.

Specified by:
readObject in class Type
Returns:
Throws:
XFireFault

setValue

protected void setValue(java.lang.Object hObj,
                        java.lang.Object value)

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer,
                        MessageContext context)
                 throws XFireFault
Description copied from class: Type
Writes the object to the MessageWriter.

Specified by:
writeObject in class Type
Throws:
XFireFault

getSchemaType

public javax.xml.namespace.QName getSchemaType()
Description copied from interface: SchemaType
The schema type that this SchemaType represents.

Specified by:
getSchemaType in interface SchemaType
Overrides:
getSchemaType in class Type
Returns:
Get the schema type.

isAbstract

public boolean isAbstract()
Description copied from interface: SchemaType
Whether or not this a complexType or a concrete element.

Specified by:
isAbstract in interface SchemaType
Overrides:
isAbstract in class Type
Returns:

isComplex

public boolean isComplex()
Description copied from interface: SchemaType
Whether or not this a complex type. If true then the schema for this type is written out.

Specified by:
isComplex in interface SchemaType
Overrides:
isComplex in class Type
Returns:
True if a complex type schema must be written.

isNillable

public boolean isNillable()
Specified by:
isNillable in interface SchemaType
Overrides:
isNillable in class Type

isWriteOuter

public boolean isWriteOuter()
Specified by:
isWriteOuter in interface SchemaType
Overrides:
isWriteOuter in class Type

setAbstract

public void setAbstract(boolean abstrct)
Overrides:
setAbstract in class Type

setNillable

public void setNillable(boolean nillable)
Overrides:
setNillable in class Type

setSchemaType

public void setSchemaType(javax.xml.namespace.QName name)
Overrides:
setSchemaType in class Type
Parameters:
name - The qName to set.

setTypeMapping

public void setTypeMapping(TypeMapping typeMapping)
Overrides:
setTypeMapping in class Type
Parameters:
typeMapping - The typeMapping to set.

setWriteOuter

public void setWriteOuter(boolean writeOuter)
Overrides:
setWriteOuter in class Type

writeSchema

public void writeSchema(Element root)
Description copied from interface: SchemaType
Write the type schema (if complex) to the element.

Specified by:
writeSchema in interface SchemaType
Overrides:
writeSchema in class Type


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.