A C D E G M O P S T

A

addElementListener(String, ElementListener) - Method in class org.gnu.xml.ezparse.SimpleParser
Adds the specified listener for the element defined by path.

C

Context - interface org.gnu.xml.ezparse.Context.
Generic context which is available to ElementListeners during call-backs.
clear() - Method in interface org.gnu.xml.ezparse.Context
Clears the internal store of this context.
clear() - Method in class org.gnu.xml.ezparse.DefaultContext
Clears the internal store of this context.

D

DefaultContext - class org.gnu.xml.ezparse.DefaultContext.
Generic context which is available to ElementListeners during call-backs.
DefaultContext() - Constructor for class org.gnu.xml.ezparse.DefaultContext
Constructor.

E

Element - interface org.gnu.xml.ezparse.Element.
Represents an Element encountered during parsing an XML document.
ElementAdapter - class org.gnu.xml.ezparse.ElementAdapter.
ElementAdapter provides stubs for methods defined in ElementListener.
ElementAdapter() - Constructor for class org.gnu.xml.ezparse.ElementAdapter
 
ElementListener - interface org.gnu.xml.ezparse.ElementListener.
Represents the call-back handler to which control is passed to when events occur during XML parsing.
endElement(Element, Context) - Method in class org.gnu.xml.ezparse.ElementAdapter
endElement is called when the closing tag is encountered.
endElement(Element, Context) - Method in interface org.gnu.xml.ezparse.ElementListener
endElement is called after the element and any of it's children have been parsed.

G

get(String) - Method in interface org.gnu.xml.ezparse.Context
Retrieves a value based on the key.
get(String) - Method in class org.gnu.xml.ezparse.DefaultContext
Retrieves a value based on the key.
getAttribute(String) - Method in interface org.gnu.xml.ezparse.Element
Returns the value for attribute with name 'name'.
getAttributes() - Method in interface org.gnu.xml.ezparse.Element
Returns this element's attributes.
getCapital() - Method in class test.State
Return the state capital.
getCode() - Method in class test.State
Return the state code.
getLocalName() - Method in interface org.gnu.xml.ezparse.Element
Returns this element's local name.
getName() - Method in class test.State
Returns this state's name.
getNamespaceURI() - Method in interface org.gnu.xml.ezparse.Element
Returns this element's namespace URI if one exists.
getQualifiedName() - Method in interface org.gnu.xml.ezparse.Element
Returns this element's qualified name.
getValue() - Method in interface org.gnu.xml.ezparse.Element
Returns this element's value if it has one or null.

M

main(String[]) - Static method in class test.SimpleParserTest
 
main(String[]) - Static method in class test.SimpleParserTestRegEx
 

O

org.gnu.xml.ezparse - package org.gnu.xml.ezparse
 

P

parse(String, Context) - Method in class org.gnu.xml.ezparse.SimpleParser
Parses the XML document specified by the URI.

S

SimpleParser - class org.gnu.xml.ezparse.SimpleParser.
Given an XML file:
SimpleParser() - Constructor for class org.gnu.xml.ezparse.SimpleParser
Constructor
SimpleParserTest - class test.SimpleParserTest.
 
SimpleParserTest() - Constructor for class test.SimpleParserTest
 
SimpleParserTestRegEx - class test.SimpleParserTestRegEx.
Test out the Regular Expression capabilities
SimpleParserTestRegEx() - Constructor for class test.SimpleParserTestRegEx
 
State - class test.State.
Represents a State.
set(String, Object) - Method in interface org.gnu.xml.ezparse.Context
Sets a name value pair based on method parameters.
set(String, Object) - Method in class org.gnu.xml.ezparse.DefaultContext
Sets a name value pair based on method parameters.
startElement(Element, Context) - Method in class org.gnu.xml.ezparse.ElementAdapter
This method is called when the element is first encountered.
startElement(Element, Context) - Method in interface org.gnu.xml.ezparse.ElementListener
This method is called when the element is first encountered.

T

test - package test
 
toString() - Method in class test.State
String representation of this state instance.

A C D E G M O P S T