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:
org.codehaus.xfire.wsdl.SchemaType

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()
           
 boolean isAbstract()
           
 boolean isComplex()
           
 boolean isNillable()
           
 boolean isWriteOuter()
           
 java.lang.Object readObject(MessageReader reader, org.codehaus.xfire.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, org.codehaus.xfire.MessageContext context)
          Writes the object to the MessageWriter.
 void writeSchema(org.jdom.Element root)
           
 
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,
                                   org.codehaus.xfire.MessageContext context)
                            throws org.codehaus.xfire.fault.XFireFault
Description copied from class: Type
Read in the XML fragment and create an object.

Specified by:
readObject in class Type
Returns:
Throws:
org.codehaus.xfire.fault.XFireFault

setValue

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

writeObject

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

Specified by:
writeObject in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

getSchemaType

public javax.xml.namespace.QName getSchemaType()
Specified by:
getSchemaType in interface org.codehaus.xfire.wsdl.SchemaType
Overrides:
getSchemaType in class Type
Returns:
Get the schema type.

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface org.codehaus.xfire.wsdl.SchemaType
Overrides:
isAbstract in class Type

isComplex

public boolean isComplex()
Specified by:
isComplex in interface org.codehaus.xfire.wsdl.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 org.codehaus.xfire.wsdl.SchemaType
Overrides:
isNillable in class Type

isWriteOuter

public boolean isWriteOuter()
Specified by:
isWriteOuter in interface org.codehaus.xfire.wsdl.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(org.jdom.Element root)
Specified by:
writeSchema in interface org.codehaus.xfire.wsdl.SchemaType
Overrides:
writeSchema in class Type


Copyright © 2004-2010. All Rights Reserved.