|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ElementProcessor
An element processor provides a handler for processing a specific xml element within a document. It provides a state pattern approach to processing nested xml structures.
| Method Summary | |
|---|---|
void |
begin(org.xml.sax.Attributes attributes)
Initialises the element processor with attributes for a new element to be processed. |
void |
end()
Finalises processing for the element processor, this is called when the end of an element is reached. |
ElementProcessor |
getChild(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Retrieves the appropriate child element processor for the newly encountered nested element. |
ElementProcessor |
getParent()
Returns the parent element processor. |
| Method Detail |
|---|
void begin(org.xml.sax.Attributes attributes)
attributes - The attributes of the new element.
ElementProcessor getChild(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
uri - The element uri.localName - The element localName.qName - The element qName.
ElementProcessor getParent()
void end()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||