org.codehaus.xfire.xmlbeans
Class XmlBeansType

java.lang.Object
  extended by org.codehaus.xfire.aegis.type.Type
      extended by org.codehaus.xfire.xmlbeans.XmlBeansType
All Implemented Interfaces:
SchemaType

public class XmlBeansType
extends Type

Since:
Nov 13, 2004
Author:
Dan Diephouse

Field Summary
static java.lang.String XMLBEANS_NAMESPACE_HACK
           
 
Constructor Summary
XmlBeansType(SchemaType schemaType)
           
 
Method Summary
 java.util.Set getDependencies()
          Return a set of Type dependencies.
 XmlOptions getOptions()
           
 javax.xml.namespace.QName getSchemaType()
          The schema type that this SchemaType represents.
 boolean isComplex()
          Whether or not this a complex type.
 java.lang.Object readObject(MessageReader mreader, MessageContext context)
          Read in the XML fragment and create an object.
 void setOptions(XmlOptions options)
           
 void writeObject(java.lang.Object value, 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, getTypeClass, getTypeMapping, hashCode, isAbstract, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

XMLBEANS_NAMESPACE_HACK

public static final java.lang.String XMLBEANS_NAMESPACE_HACK
See Also:
Constant Field Values
Constructor Detail

XmlBeansType

public XmlBeansType(SchemaType schemaType)
Method Detail

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

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.

getDependencies

public java.util.Set getDependencies()
Description copied from class: Type
Return a set of Type dependencies. Returns null if this type has no dependencies.

Specified by:
getDependencies in interface SchemaType
Overrides:
getDependencies in class Type
Returns:
Set of Type dependencies

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.

readObject

public java.lang.Object readObject(MessageReader mreader,
                                   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

writeObject

public void writeObject(java.lang.Object value,
                        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

getOptions

public XmlOptions getOptions()

setOptions

public void setOptions(XmlOptions options)


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