com.atlassian.bamboo.configuration
Interface ElementParser

All Known Implementing Classes:
DefaultElementParser, ElementContentElementParser, MimeTypeLoader.ExtensionElementParser, MimeTypeLoader.MimeMappingElementParser, MimeTypeLoader.MimeTypeElementParser

public interface ElementParser

This defines how to process specific xml elements from within a SAX parser.

Version:
$Id: ElementParser.java,v 1.1 2005/01/05 22:20:18 andy Exp $

Method Summary
 void characters(char[] chars, int start, int end)
          Processes the character data between the start and end element tag
 void endElement()
          The parser has completed parsing the element - it's reached the end-of-element tag
 void startElement(org.xml.sax.Attributes attributes)
          Start paring the element
 

Method Detail

startElement

void startElement(org.xml.sax.Attributes attributes)
Start paring the element

Parameters:
attributes - The element's attributes

endElement

void endElement()
                throws ConfigurationException
The parser has completed parsing the element - it's reached the end-of-element tag

Throws:
ConfigurationException - A generic parsinf failure

characters

void characters(char[] chars,
                int start,
                int end)
Processes the character data between the start and end element tag



Copyright © 2011 Atlassian. All Rights Reserved.