org.apache.cxf.aegis.type.xml
Class DocumentType

java.lang.Object
  extended by org.apache.cxf.aegis.type.Type
      extended by org.apache.cxf.aegis.type.xml.DocumentType

public class DocumentType
extends Type

Reads and writes org.w3c.dom.Document types.

Author:
Dan Diephouse

Field Summary
 
Fields inherited from class org.apache.cxf.aegis.type.Type
typeClass
 
Constructor Summary
DocumentType()
           
DocumentType(javax.xml.parsers.DocumentBuilder builder)
           
 
Method Summary
 java.lang.Object readObject(MessageReader mreader, Context context)
          Read in the XML fragment and create an object.
 void writeObject(java.lang.Object object, MessageWriter writer, Context context)
          Writes the object to the MessageWriter.
 
Methods inherited from class org.apache.cxf.aegis.type.Type
addToSchemaElement, equals, getDependencies, getMaxOccurs, getMinOccurs, getSchemaType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isComplex, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime, writeSchema
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentType

public DocumentType()

DocumentType

public DocumentType(javax.xml.parsers.DocumentBuilder builder)
Method Detail

readObject

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

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

writeObject

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

Specified by:
writeObject in class Type
Throws:
DatabindingException


Apache CXF