org.codehaus.xfire.aegis.type.basic
Class HolderType
java.lang.Object
org.codehaus.xfire.aegis.type.Type
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
HolderType
public HolderType(Type delegate)
getDelegate
public Type getDelegate()
readObject
public 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(Object hObj,
Object value)
writeObject
public void writeObject(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 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(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-2013. All Rights Reserved.