org.ozoneDB.xml.dom4j
Interface OzoneDocumentFactory

All Superinterfaces:
NodeFactory, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, XPathFactory
All Known Implementing Classes:
OzoneDocumentFactoryImpl

public interface OzoneDocumentFactory
extends NodeFactory, XPathFactory, org.ozoneDB.OzoneRemote


Date: Jul 27, 2002

Author:
Per Nyfelt

Field Summary
static java.lang.String OBJECT_NAME
           
 
Method Summary
 Document createDocument(Element rootElement, java.lang.String name)
           
 Document createDocument(java.lang.String name)
           
 java.util.List getQNames()
          Deprecated. or was it just forgotten when the interfaces war created?
 java.util.Map getXPathNamespaceURIs()
           
 
Methods inherited from interface org.dom4j.NodeFactory
createAttribute, createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createElement, createElement, createElement, createEntity, createNamespace, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createText, getNamespace, getNoNamespace, getXmlNameSpace
 
Methods inherited from interface org.dom4j.XPathFactory
createPattern, createXPath, createXPath, createXPathFilter, createXPathFilter, setXPathNamespaceURIs
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
See Also:
Constant Field Values
Method Detail

createDocument

public Document createDocument(java.lang.String name)
                        throws java.lang.Exception
Parameters:
name - is the name for the document which is used to retrieve the document at a later time.
Returns:
Throws:
java.lang.Exception

createDocument

public Document createDocument(Element rootElement,
                               java.lang.String name)
                        throws java.lang.Exception
Parameters:
rootElement -
name - is the name for the document which is used to retrieve the document at a later time.
Returns:
Throws:
java.lang.Exception

getQNames

public java.util.List getQNames()
Deprecated. or was it just forgotten when the interfaces war created?

Returns a list of all the QNameImpl instances currently used by this document factory


getXPathNamespaceURIs

public java.util.Map getXPathNamespaceURIs()
Returns:
the Map of namespace URIs that will be used by by XPath expressions to resolve namespace prefixes into namespace URIs. The map is keyed by namespace prefix and the value is the namespace URI. This value could well be null to indicate no namespace URIs are being mapped.


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