org.ozoneDB.xml.dom4j.io
Class DocumentBuilderImpl

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended byorg.ozoneDB.xml.dom4j.io.DocumentBuilderImpl
All Implemented Interfaces:
DocumentBuilder, org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, java.io.Serializable

public class DocumentBuilderImpl
extends org.ozoneDB.OzoneObject
implements DocumentBuilder

$Id: DocumentBuilderImpl.java,v 1.4 2003/07/12 12:13:06 per_nyfelt Exp $

See Also:
Serialized Form

Field Summary
protected  OzoneDocumentFactory factory
           
protected  Document resultDoc
           
 
Fields inherited from interface org.ozoneDB.xml.dom4j.io.DocumentBuilder
OBJECT_NAME
 
Constructor Summary
DocumentBuilderImpl()
           
 
Method Summary
static DocumentBuilder create(org.ozoneDB.OzoneInterface db)
           
 Document getResult()
           
 void onCreate()
           
 Document parse(java.io.InputStream in)
           
 Document parse(java.io.Reader reader)
           
 Document parse(java.lang.String text)
           
 Document parse(java.lang.String text, java.lang.String objectName)
           
 java.net.SocketAddress prepareStreamParsing()
          This will probably not work but something to this effect needs to exist in order to send the stream content through the pipe over to the server
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, equals, getHandle, getObjectID, handle, hashCode, onActivate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toString, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Field Detail

factory

protected OzoneDocumentFactory factory

resultDoc

protected Document resultDoc
Constructor Detail

DocumentBuilderImpl

public DocumentBuilderImpl()
Method Detail

create

public static DocumentBuilder create(org.ozoneDB.OzoneInterface db)

onCreate

public void onCreate()
Specified by:
onCreate in interface org.ozoneDB.OzoneCompatible

getResult

public Document getResult()
Specified by:
getResult in interface DocumentBuilder

parse

public Document parse(java.lang.String text)
               throws DocumentException
Specified by:
parse in interface DocumentBuilder
Throws:
DocumentException

parse

public Document parse(java.lang.String text,
                      java.lang.String objectName)
               throws DocumentException
Specified by:
parse in interface DocumentBuilder
Throws:
DocumentException

parse

public Document parse(java.io.Reader reader)
               throws DocumentException
Specified by:
parse in interface DocumentBuilder
Throws:
DocumentException

parse

public Document parse(java.io.InputStream in)
               throws DocumentException
Specified by:
parse in interface DocumentBuilder
Throws:
DocumentException

prepareStreamParsing

public java.net.SocketAddress prepareStreamParsing()
                                            throws java.io.IOException
Description copied from interface: DocumentBuilder
This will probably not work but something to this effect needs to exist in order to send the stream content through the pipe over to the server

Specified by:
prepareStreamParsing in interface DocumentBuilder
Throws:
java.io.IOException


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.