| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xalan.xsltc.trax.DOM2TO
public class DOM2TO
| Field Summary | |
|---|---|
| private  org.w3c.dom.Node | _domA reference to the DOM to be traversed. | 
| private  SerializationHandler | _handlerA reference to the output handler receiving the events. | 
| private static java.lang.String | EMPTYSTRING | 
| private static java.lang.String | XMLNS_PREFIX | 
| Constructor Summary | |
|---|---|
| DOM2TO(org.w3c.dom.Node root,
             SerializationHandler handler) | |
| Method Summary | |
|---|---|
|  int | getColumnNumber()This class is only used internally so this method should never be called. | 
|  org.xml.sax.ContentHandler | getContentHandler() | 
|  org.xml.sax.DTDHandler | getDTDHandler()This class is only used internally so this method should never be called. | 
|  org.xml.sax.EntityResolver | getEntityResolver()This class is only used internally so this method should never be called. | 
|  org.xml.sax.ErrorHandler | getErrorHandler()This class is only used internally so this method should never be called. | 
|  boolean | getFeature(java.lang.String name)This class is only used internally so this method should never be called. | 
|  int | getLineNumber()This class is only used internally so this method should never be called. | 
| private  java.lang.String | getNodeTypeFromCode(short code) | 
|  java.lang.Object | getProperty(java.lang.String name)This class is only used internally so this method should never be called. | 
|  java.lang.String | getPublicId()This class is only used internally so this method should never be called. | 
|  java.lang.String | getSystemId()This class is only used internally so this method should never be called. | 
|  void | parse() | 
|  void | parse(org.xml.sax.InputSource unused) | 
| private  void | parse(org.w3c.dom.Node node)Traverse the DOM and generate TO events for a handler. | 
|  void | parse(java.lang.String sysId)This class is only used internally so this method should never be called. | 
|  void | setContentHandler(org.xml.sax.ContentHandler handler) | 
|  void | setDTDHandler(org.xml.sax.DTDHandler handler)This class is only used internally so this method should never be called. | 
|  void | setEntityResolver(org.xml.sax.EntityResolver resolver)This class is only used internally so this method should never be called. | 
|  void | setErrorHandler(org.xml.sax.ErrorHandler handler)This class is only used internally so this method should never be called. | 
|  void | setFeature(java.lang.String name,
                     boolean value)This class is only used internally so this method should never be called. | 
|  void | setProperty(java.lang.String name,
                       java.lang.Object value)This class is only used internally so this method should never be called. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private static final java.lang.String EMPTYSTRING
private static final java.lang.String XMLNS_PREFIX
private org.w3c.dom.Node _dom
private SerializationHandler _handler
| Constructor Detail | 
|---|
public DOM2TO(org.w3c.dom.Node root,
              SerializationHandler handler)
| Method Detail | 
|---|
public org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderpublic void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler in interface org.xml.sax.XMLReader
public void parse(org.xml.sax.InputSource unused)
           throws java.io.IOException,
                  org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderjava.io.IOException
org.xml.sax.SAXException
public void parse()
           throws java.io.IOException,
                  org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
private void parse(org.w3c.dom.Node node)
            throws java.io.IOException,
                   org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXExceptionpublic org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderpublic org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReader
public boolean getFeature(java.lang.String name)
                   throws org.xml.sax.SAXNotRecognizedException,
                          org.xml.sax.SAXNotSupportedException
getFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setFeature(java.lang.String name,
                       boolean value)
                throws org.xml.sax.SAXNotRecognizedException,
                       org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void parse(java.lang.String sysId)
           throws java.io.IOException,
                  org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderjava.io.IOException
org.xml.sax.SAXException
public void setDTDHandler(org.xml.sax.DTDHandler handler)
                   throws java.lang.NullPointerException
setDTDHandler in interface org.xml.sax.XMLReaderjava.lang.NullPointerException
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
                       throws java.lang.NullPointerException
setEntityResolver in interface org.xml.sax.XMLReaderjava.lang.NullPointerExceptionpublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReader
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
                     throws java.lang.NullPointerException
setErrorHandler in interface org.xml.sax.XMLReaderjava.lang.NullPointerException
public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws org.xml.sax.SAXNotRecognizedException,
                        org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name)
                             throws org.xml.sax.SAXNotRecognizedException,
                                    org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionpublic int getColumnNumber()
getColumnNumber in interface org.xml.sax.Locatorpublic int getLineNumber()
getLineNumber in interface org.xml.sax.Locatorpublic java.lang.String getPublicId()
getPublicId in interface org.xml.sax.Locatorpublic java.lang.String getSystemId()
getSystemId in interface org.xml.sax.Locatorprivate java.lang.String getNodeTypeFromCode(short code)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||