org.metadiff.infra.xml
Class XmlResource

java.lang.Object
  extended byorg.metadiff.infra.xml.XmlResource
All Implemented Interfaces:
ModelResource

public class XmlResource
extends java.lang.Object
implements ModelResource

TODO review this class

Author:
Mark Kofman

Field Summary
private  org.xml.sax.InputSource source
           
 
Constructor Summary
XmlResource()
           
 
Method Summary
 java.util.Iterator getContents()
          Returns an iterator that iterates over all the direct contents and indirect contents of this resource.
 org.xml.sax.InputSource getSource()
           
 void setSource(org.xml.sax.InputSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

private org.xml.sax.InputSource source
Constructor Detail

XmlResource

public XmlResource()
Method Detail

getSource

public org.xml.sax.InputSource getSource()
Returns:
Returns the source.

setSource

public void setSource(org.xml.sax.InputSource source)
Parameters:
source - The source to set.

getContents

public java.util.Iterator getContents()
Description copied from interface: ModelResource
Returns an iterator that iterates over all the direct contents and indirect contents of this resource.

Specified by:
getContents in interface ModelResource
Returns:
an iterator that iterates over all contents.