superwaba.ext.xplat.xml
Class XmlReadableString

java.lang.Object
  |
  +--superwaba.ext.xplat.xml.XmlReadableString

public class XmlReadableString
extends java.lang.Object
implements XmlReadable

Make an XmlReadable from a String. Example:

    XmlReader rdr = new XmlReader();
    rdr.setContentHandler(...);
    rdr.parse(new XmlReadableString("

Hello World!"));


Constructor Summary
XmlReadableString(java.lang.String source)
          Constructor
 
Method Summary
 URI getBaseURI()
          Get the base URI attached to this XmlReadable
 void readXml(XmlReader rdr)
          Read this XmlReadable through an XmlReader parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlReadableString

public XmlReadableString(java.lang.String source)
Constructor
Parameters:
source - String that contains the XmlReadable HTML
Method Detail

readXml

public void readXml(XmlReader rdr)
             throws SyntaxException
Description copied from interface: XmlReadable
Read this XmlReadable through an XmlReader parser.
Specified by:
readXml in interface XmlReadable
Tags copied from interface: XmlReadable
Parameters:
rdr - the XmlReader that will report the SAX events
Throws:
SyntaxException -  

getBaseURI

public URI getBaseURI()
Description copied from interface: XmlReadable
Get the base URI attached to this XmlReadable
Specified by:
getBaseURI in interface XmlReadable
Tags copied from interface: XmlReadable
Returns:
the base URI attached to this XmlReadable