Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.k_int.IR.Syntaxes.Conversion
Class XMLConfigurator  view XMLConfigurator download XMLConfigurator.java

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.k_int.IR.Syntaxes.Conversion.XMLConfigurator
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, XSLConverterConfigurator

public class XMLConfigurator
extends org.xml.sax.helpers.DefaultHandler
implements XSLConverterConfigurator


Field Summary
private  org.apache.xerces.parsers.SAXParser _parser
           
private  XSLConverter conv
           
private static int NEXT_IS_UNKNOWN
           
private  int next_value
           
 
Constructor Summary
XMLConfigurator()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void configure(XSLConverter conv, java.util.Properties p)
           
 void endDocument()
          Receive notification of the end of the document.
 void endElement(java.lang.String the_uri, java.lang.String the_local_name, java.lang.String the_q_name)
          Receive notification of the end of an element.
 void startDocument()
          Receive notification of the beginning of the document.
 void startElement(java.lang.String the_uri, java.lang.String the_local_name, java.lang.String the_q_name, org.xml.sax.Attributes attributes)
          Receive notification of the start of an element.
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_parser

private org.apache.xerces.parsers.SAXParser _parser

NEXT_IS_UNKNOWN

private static final int NEXT_IS_UNKNOWN
See Also:
Constant Field Values

next_value

private int next_value

conv

private XSLConverter conv
Constructor Detail

XMLConfigurator

public XMLConfigurator()
Method Detail

configure

public void configure(XSLConverter conv,
                      java.util.Properties p)
Specified by:
configure in interface XSLConverterConfigurator

startDocument

public void startDocument()
Description copied from class: org.xml.sax.helpers.DefaultHandler
Receive notification of the beginning of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).

Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()
Description copied from class: org.xml.sax.helpers.DefaultHandler
Receive notification of the end of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of a document (such as finalising a tree or closing an output file).

Specified by:
endDocument in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String the_uri,
                         java.lang.String the_local_name,
                         java.lang.String the_q_name,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Description copied from class: org.xml.sax.helpers.DefaultHandler
Receive notification of the start of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).

Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String the_uri,
                       java.lang.String the_local_name,
                       java.lang.String the_q_name)
Description copied from class: org.xml.sax.helpers.DefaultHandler
Receive notification of the end of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).

Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Description copied from class: org.xml.sax.helpers.DefaultHandler
Receive notification of character data inside an element.

By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).

Specified by:
characters in interface org.xml.sax.ContentHandler