JSlim  


com.gtcgroup.jslim
Class DocumentVO

java.lang.Object
  extended bycom.gtcgroup.jslim.DocumentPathSuperVO
      extended bycom.gtcgroup.jslim.DocumentVO

final class DocumentVO
extends DocumentPathSuperVO

This immutable class wraps a DOM Document.

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Field Summary
private  org.w3c.dom.Document document
          A descriptor Document.
 
Constructor Summary
(package private) DocumentVO(org.w3c.dom.Document document, int intDocumentPath)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
(package private)  org.w3c.dom.Document getDocument()
          Returns a deeply cloned descriptor Document.
(package private)  int getDocumentPath()
          Returns the path representation of the descriptor document.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

private final org.w3c.dom.Document document
A descriptor Document.

Constructor Detail

DocumentVO

DocumentVO(org.w3c.dom.Document document,
           int intDocumentPath)
Constructor.

Parameters:
document - A descriptor Document.
intDocumentPath - Represents the path of a descriptor document.
Method Detail

getDocument

final org.w3c.dom.Document getDocument()
Returns a deeply cloned descriptor Document.

Returns:
A descriptor Document.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class DocumentPathSuperVO

hashCode

public int hashCode()
Overrides:
hashCode in class DocumentPathSuperVO

getDocumentPath

final int getDocumentPath()
Returns the path representation of the descriptor document.

Returns:
The path representation of the descriptor document.

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.