com.sun.msv.generator
Class DOM2toSAX2
java.lang.Object
com.sun.msv.generator.DOM2toSAX2
public class DOM2toSAX2
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
protected ContentHandler handler
DOM2toSAX2
public DOM2toSAX2()
setContentHandler
public void setContentHandler(ContentHandler handler)
getContentHandler
public ContentHandler getContentHandler()
traverse
public void traverse(Document dom)
throws SAXException
- Throws:
SAXException
convertAttributes
protected Attributes convertAttributes(Element e)
- converts DOM attributes into SAX attributes.
onElement
protected void onElement(Element e)
throws SAXException
- Throws:
SAXException
onText
protected void onText(Text t)
throws SAXException
- Throws:
SAXException
MSV