|
GXPARSE hosted by |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamespaceMapper<T extends Parser>
An ElementMapper
that maps XML element names in one or
more XML namespaces to element handlers and invokes the appropriate handler
for each element.
The handler will be equivalent to the
doElement
method of an ElementListener
.
Provides access to a list of the namespaces for which elements are mapped.
A NamespaceMapper
should normally map all the elements of any
XML namespace in its list, but is not required to do so. Failure to map an
element that is in one of the namespaces in the list will cause the
doElement
method to
throw an exception.
Nested Class Summary | |
---|---|
static class |
NamespaceMapper.NamespaceMapException
Exception thrown when an error is detected in the mapping of namespaces. |
Nested classes/interfaces inherited from interface ca.gorman.xml.parse.ElementMapper |
---|
ElementMapper.InvalidHandlerException, ElementMapper.NotFoundException |
Field Summary |
---|
Fields inherited from interface ca.gorman.xml.parse.ElementMapper |
---|
ESCAPE_CENT, ESCAPE_CURRENCY, ESCAPE_DOLLAR, ESCAPE_POUND, ESCAPE_YEN |
Method Summary | |
---|---|
Iterator<String> |
iterator()
Return an iterator for the namespace URIs that are mapped by the NamespaceMapper . |
Methods inherited from interface ca.gorman.xml.parse.ElementMapper |
---|
doElement |
Method Detail |
---|
Iterator<String> iterator()
Return an iterator for the namespace URIs that are mapped by the
NamespaceMapper
.
iterator
in interface Iterable<String>
|
GXPARSE download | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |