org.jtool.jxplatform.repository
Class JxBinaryFileRepository

java.lang.Object
  extended byorg.jtool.jxplatform.repository.JxBinaryFileRepository

public class JxBinaryFileRepository
extends java.lang.Object

Stores information about binary (class and jar) files.

Author:
Katsuhisa Maruyama

Method Summary
 void addDocument(java.lang.String fqn, java.lang.String pathname, org.w3c.dom.Document doc)
          Stores binary information.
 void clear()
          Deletes information stored in this repository.
 org.w3c.dom.Element getCorrespondingElement(java.lang.String fqn, java.lang.String pathname)
          Obtains an DOM element corresponding to a class with a fully-qualified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()
Deletes information stored in this repository.


addDocument

public void addDocument(java.lang.String fqn,
                        java.lang.String pathname,
                        org.w3c.dom.Document doc)
Stores binary information.

Parameters:
fqn - The fully qualified name of a class defined in a binary file.
pathname - The path name of a binary file.
doc - A DOM document object to be stored.

getCorrespondingElement

public org.w3c.dom.Element getCorrespondingElement(java.lang.String fqn,
                                                   java.lang.String pathname)
Obtains an DOM element corresponding to a class with a fully-qualified name.

Parameters:
fqn - The fully qualified name of a class defined in a binary file.
pathname - The path name of a binary file.
Returns:
The DOM element.