org.gxos.schema
Class Document

java.lang.Object
  |
  +--org.gxos.schema.TreeObject
        |
        +--org.gxos.schema.DocumentType
              |
              +--org.gxos.schema.Document
All Implemented Interfaces:
java.io.Serializable

public class Document
extends DocumentType
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Document()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static Document unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.gxos.schema.TreeObject
addCustomExtension, addNodeComment, enumerateCustomExtension, enumerateNodeComment, getCustomExtension, getCustomExtension, getCustomExtensionCount, getCustomType, getExtensions, getHistoryObject, getNodeChildren, getNodeComment, getNodeComment, getNodeCommentCount, getNodeContents, getNodeEndTime, getNodeName, getNodeProfile, getNodeRooting, getNodeStartTime, getNodeType, getNodeUpdateTime, getNodeVersionNumber, getParentObject, removeAllCustomExtension, removeAllNodeComment, removeCustomExtension, removeNodeComment, setCustomExtension, setCustomExtension, setCustomType, setExtensions, setHistoryObject, setNodeChildren, setNodeComment, setNodeComment, setNodeContents, setNodeEndTime, setNodeName, setNodeProfile, setNodeRooting, setNodeStartTime, setNodeType, setNodeUpdateTime, setNodeVersionNumber, setParentObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document

public Document()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class DocumentType

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class DocumentType
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class DocumentType
Parameters:
handler -  

unmarshal

public static Document unmarshal(java.io.Reader reader)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class DocumentType