superwaba.ext.xplat.xml
Interface XmlReadable

All Known Implementing Classes:
XmlReadableCatalog, XmlReadableSerial, XmlReadableSocket, XmlReadableString

public interface XmlReadable

XmlReadable abstracts any sequential resource that can be passed to an XmlReader.


Method Summary
 URI getBaseURI()
          Get the base URI attached to this XmlReadable
 void readXml(XmlReader rdr)
          Read this XmlReadable through an XmlReader parser.
 

Method Detail

readXml

public void readXml(XmlReader rdr)
             throws SyntaxException
Read this XmlReadable through an XmlReader parser.
Parameters:
rdr - the XmlReader that will report the SAX events
Throws:
SyntaxException -  

getBaseURI

public URI getBaseURI()
Get the base URI attached to this XmlReadable
Returns:
the base URI attached to this XmlReadable