Weaver 3.1.0a1-D1

com.oldlight.weaver.apploader
Class WeaverXmlApplicationBuilder.SAXHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.oldlight.weaver.apploader.WeaverXmlApplicationBuilder.SAXHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
WeaverXmlApplicationBuilder

public class WeaverXmlApplicationBuilder.SAXHandler
extends DefaultHandler


Field Summary
private  Node currentParent
           
private  boolean firstNode
           
private  Locator locator
           
private  String wadFileName
           
 
Constructor Summary
WeaverXmlApplicationBuilder.SAXHandler(Node parent, String wadFileName)
           
 
Method Summary
 void endElement(String the_uri, String the_local_name, String the_q_name)
           
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
private  void handleError(SAXParseException exception)
           
 void setDocumentLocator(Locator locator)
           
 void startElement(String theUri, String theLocalName, String theQName, Attributes theAttributes)
           
 void warning(SAXParseException e)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locator

private Locator locator

currentParent

private Node currentParent

wadFileName

private String wadFileName

firstNode

private boolean firstNode
Constructor Detail

WeaverXmlApplicationBuilder.SAXHandler

public WeaverXmlApplicationBuilder.SAXHandler(Node parent,
                                              String wadFileName)
Method Detail

setDocumentLocator

public void setDocumentLocator(Locator locator)

handleError

private void handleError(SAXParseException exception)
                  throws SAXParseException
Throws:
SAXParseException

error

public void error(SAXParseException e)
           throws SAXParseException
Throws:
SAXParseException

fatalError

public void fatalError(SAXParseException e)
                throws SAXParseException
Throws:
SAXParseException

warning

public void warning(SAXParseException e)
             throws SAXParseException
Throws:
SAXParseException

startElement

public void startElement(String theUri,
                         String theLocalName,
                         String theQName,
                         Attributes theAttributes)
                  throws SAXException
Throws:
SAXException

endElement

public void endElement(String the_uri,
                       String the_local_name,
                       String the_q_name)
                throws SAXException
Throws:
SAXException

Copyright ©Paul Harvey