net.sf.doolin.oxml
Interface OXMLSource

All Known Implementing Classes:
AbstractOXMLSource, FileOXMLSource, ResourceOXMLSource, StreamOXMLSource, URLOXMLSource

public interface OXMLSource

Defines the source for a DOM.

Author:
Damien Coraboeuf

Method Summary
 void close()
          Closes the resources for this source.
 Document getSource()
          Gets the XML source as a DOM
 

Method Detail

close

void close()
           throws IOException
Closes the resources for this source.

Throws:
IOException - If the source cannot be closed

getSource

Document getSource()
                   throws IOException
Gets the XML source as a DOM

Returns:
DOM
Throws:
IOException - If the DOM cannot be read


Copyright © 2011. All Rights Reserved.