NetKernel APIs


org.ten60.netkernel.xml.representation
Class JDOMAspect

java.lang.Object
  extended byorg.ten60.netkernel.xml.representation.JDOMAspect
All Implemented Interfaces:
IAspectJDOM, IURAspect

public class JDOMAspect
extends Object
implements IAspectJDOM

Implementation of the IAspectJDOM


Constructor Summary
JDOMAspect(Document aDocument)
          Creates a new instance of JDOMAspect
 
Method Summary
 Document getDocument()
          Get a clone of the JDOM document - the resulting document is safe for writing.
 Document getReadOnlyDocument()
          Get the underlying JDOM document - this *must* be for read operations only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOMAspect

public JDOMAspect(Document aDocument)
Creates a new instance of JDOMAspect

Method Detail

getReadOnlyDocument

public Document getReadOnlyDocument()
Description copied from interface: IAspectJDOM
Get the underlying JDOM document - this *must* be for read operations only. You must clone the resulting document if you want to write to it.

Specified by:
getReadOnlyDocument in interface IAspectJDOM

getDocument

public Document getDocument()
Description copied from interface: IAspectJDOM
Get a clone of the JDOM document - the resulting document is safe for writing.

Specified by:
getDocument in interface IAspectJDOM

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.