org.apache.openejb.config.sys
Class StackHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.openejb.config.sys.StackHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class StackHandler
extends org.xml.sax.helpers.DefaultHandler


Nested Class Summary
 class StackHandler.Content
           
 class StackHandler.DeclaredServiceElement
           
 class StackHandler.ResourceElement
           
 class StackHandler.ServiceElement<S extends AbstractService>
           
 
Constructor Summary
StackHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
protected  void checkAttributes(Attributes attributes, List<String> allowed)
           
protected  void checkAttributes(Attributes attributes, String... allowed)
           
 void endElement(String uri, String localName, String qName)
           
protected  org.xml.sax.helpers.DefaultHandler get()
           
protected  org.xml.sax.helpers.DefaultHandler pop()
           
protected  void push(org.xml.sax.helpers.DefaultHandler handler)
           
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackHandler

public StackHandler()
Method Detail

get

protected org.xml.sax.helpers.DefaultHandler get()

pop

protected org.xml.sax.helpers.DefaultHandler pop()

checkAttributes

protected void checkAttributes(Attributes attributes,
                               String... allowed)
                        throws SAXException
Throws:
SAXException

checkAttributes

protected void checkAttributes(Attributes attributes,
                               List<String> allowed)
                        throws SAXException
Throws:
SAXException

push

protected void push(org.xml.sax.helpers.DefaultHandler handler)

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
Specified by:
characters in interface ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.