nu.validator.htmlparser.dom
Class Dom2Sax

java.lang.Object
  extended by nu.validator.htmlparser.dom.Dom2Sax

public class Dom2Sax
extends Object


Nested Class Summary
private  class Dom2Sax.NamedNodeMapAttributes
           
 
Field Summary
private  Dom2Sax.NamedNodeMapAttributes attributes
           
private  ContentHandler contentHandler
           
private  LexicalHandler lexicalHandler
           
 
Constructor Summary
Dom2Sax(ContentHandler contentHandler, LexicalHandler lexicalHandler)
           
 
Method Summary
private static String emptyIfNull(String namespaceURI)
           
 void parse(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

private final Dom2Sax.NamedNodeMapAttributes attributes

contentHandler

private final ContentHandler contentHandler

lexicalHandler

private final LexicalHandler lexicalHandler
Constructor Detail

Dom2Sax

public Dom2Sax(ContentHandler contentHandler,
               LexicalHandler lexicalHandler)
Parameters:
contentHandler -
lexicalHandler -
Method Detail

emptyIfNull

private static String emptyIfNull(String namespaceURI)

parse

public void parse(Node node)
           throws SAXException
Throws:
SAXException