sk.uniba.euromath.document
Class DomCore

java.lang.Object
  extended by sk.uniba.euromath.document.DomCore

Deprecated. merge with XMLAccess

@Deprecated
public final class DomCore
extends Object

Manages access to the document. Class is not intended to be used, instantiated nor subclassed by clients.

Author:
Martin Vysny

Field Summary
 String fileName
          Deprecated. The name of the document file, including the extension, without the path specifier.
 URL fileURL
          Deprecated. The name of the document file, including the extension and full path.
 URLDir root
          Deprecated. URL pointing to the directory where the document is located.
 
Method Summary
 void checkNode(Node node)
          Deprecated. Checks the node if it is from our document.
 void checkPtr(sk.baka.ikslibs.ptr.DomPointer ptr)
          Deprecated. Checks the pointer if it points into our document.
 DocumentContent getContent()
          Deprecated. Returns DocumentContent instance for this document.
 Document getDocument()
          Deprecated. Returns document object that this object works with.
 sk.baka.ikslibs.ref.EntityManager getEntityManager()
          Deprecated. Returns EntityManager instance for this document.
 sk.baka.ikslibs.ids.IDManager getIDManager()
          Deprecated. Returns IDManager instance for this document.
 NamespaceManager getNsManager()
          Deprecated. Returns namespace manager for this document.
 DocumentSchema getSchema()
          Deprecated. Returns DocumentSchema instance for this document.
 DocumentFragment getSource(Node mark)
          Deprecated. Returns the nametree from the original document, that the emp:mark element points to.
 sk.baka.ikslibs.splitted.SplittedDocChangeCollector getSplittedChanges()
          Deprecated. Returns blah
 sk.baka.ikslibs.splitted.SplittedDocHolder getSplittedDoc()
          Deprecated. Returns DomToSplitted instance for this document.
 boolean isOurNode(Node node)
          Deprecated. Checks the node if it is from our document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileName

public final String fileName
Deprecated. 
The name of the document file, including the extension, without the path specifier.


fileURL

public final URL fileURL
Deprecated. 
The name of the document file, including the extension and full path. URI address.


root

public final URLDir root
Deprecated. 
URL pointing to the directory where the document is located.

Method Detail

getSplittedChanges

public sk.baka.ikslibs.splitted.SplittedDocChangeCollector getSplittedChanges()
Deprecated. 
Returns blah

Returns:

getDocument

public Document getDocument()
Deprecated. 
Returns document object that this object works with. Other objects must not modify this document in any way, except DocumentModifier.

Returns:
Document object.

checkNode

public void checkNode(Node node)
Deprecated. 
Checks the node if it is from our document.

Parameters:
node - node to check.
Throws:
IllegalArgumentException - if node is not from bound document

checkPtr

public void checkPtr(sk.baka.ikslibs.ptr.DomPointer ptr)
Deprecated. 
Checks the pointer if it points into our document.

Parameters:
ptr - pointer to check.
Throws:
IllegalArgumentException - if pointer is not from bound document

isOurNode

public boolean isOurNode(Node node)
Deprecated. 
Checks the node if it is from our document.

Parameters:
node - node to check.
Returns:
true if the node was created by this document, false otherwise.

getIDManager

public sk.baka.ikslibs.ids.IDManager getIDManager()
Deprecated. 
Returns IDManager instance for this document.

Returns:
An IDManager for this document.

getContent

public DocumentContent getContent()
Deprecated. 
Returns DocumentContent instance for this document.

Returns:
An DocumentContent for this document.

getNsManager

public NamespaceManager getNsManager()
Deprecated. 
Returns namespace manager for this document.

Returns:
namespace manager for this document.

getSchema

public DocumentSchema getSchema()
Deprecated. 
Returns DocumentSchema instance for this document.

Returns:
An DocumentSchema for this document.

getSplittedDoc

public sk.baka.ikslibs.splitted.SplittedDocHolder getSplittedDoc()
Deprecated. 
Returns DomToSplitted instance for this document.

Returns:
An DomToSplitted for this document.

getEntityManager

public sk.baka.ikslibs.ref.EntityManager getEntityManager()
Deprecated. 
Returns EntityManager instance for this document.

Returns:
An EntityManager for this document.

getSource

public DocumentFragment getSource(Node mark)
Deprecated. 
Returns the nametree from the original document, that the emp:mark element points to.

Parameters:
mark - the mark element, or null.
Returns:
the nametree represented as a document fragment. This fragment must not be modified. If null is provided then root fragment is returned.
Throws:
IllegalArgumentException - if the element is not emp:mark or the ID does not exist.


Copyright © 2003-2006 null. All Rights Reserved.