gov.noaa.eds.xapi.generic
Interface DomHandler

All Known Implementing Classes:
UrlHandler

public interface DomHandler

Implement this interface to create a simple access method to an XML resource.

Version:
$Id: DomHandler.java,v 1.2 2004/12/23 22:26:01 mrxtravis Exp $
Author:
tns

Method Summary
 org.w3c.dom.Document getResourceAsDocument()
          Return the resources as a DOM Document
 void setResourceAsNode(org.w3c.dom.Node node)
          Sets the resource as the specified Node
 

Method Detail

getResourceAsDocument

public org.w3c.dom.Document getResourceAsDocument()
                                           throws DomHandlerException
Return the resources as a DOM Document

Returns:
The resource as a Document
Throws:
DomHandlerException

setResourceAsNode

public void setResourceAsNode(org.w3c.dom.Node node)
                       throws DomHandlerException
Sets the resource as the specified Node

Parameters:
node - Set the resource to be a reflextion of this node
Throws:
DomHandlerException


Copyright © 2004 National Oceanic and Atmospheric Administration > National Geophysical Data Center > Enterprise Data Services Division. All Rights Reserved.