|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.configuration.DefaultElementParser
public class DefaultElementParser
This class provides the default SAX parsing behaviour (ie do nothing) for an xml element.
Constructor Summary | |
---|---|
DefaultElementParser()
|
Method Summary | |
---|---|
void |
characters(char[] chars,
int offset,
int length)
Do nothing by default. |
void |
endElement()
Do nothing by default. |
static ElementParser |
getInstance()
|
void |
startElement(Attributes attributes)
Do nothing by default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultElementParser()
Method Detail |
---|
public void startElement(Attributes attributes)
startElement
in interface ElementParser
attributes
- The element's attributespublic void endElement() throws ConfigurationException
endElement
in interface ElementParser
ConfigurationException
- A generic parsinf failurepublic void characters(char[] chars, int offset, int length)
characters
in interface ElementParser
chars
- The characters from the XML document.offset
- The start position in the array.length
- The number of characters to read from the array.public static ElementParser getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |