|
![]() |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
DOMFeeder | The DOMFeeder is capable of injecting XMLBind -annotated
objects from XML sources. |
DOMUtils | Utility class for dealing with XML DOM data. |
Exception Summary | |
---|---|
XMLBindException | Thrown when an error relating to an XMLBind annotation occurs. |
Annotation Types Summary | |
---|---|
XMLBind | Annotation to mark setters for data injection from an XML document. |
Provides classes for binding XML data to objects.
Data classes dealing with XML may annotate the class withXMLBind
to provide a simple mechanism
for translating XML data into java objects.
The DOMFeeder
class operates on XML documents,
injecting objects annotated with XMLBind
.
DOMFeeder usage DOMFeeder feeder = new DOMFeeder(hostElementsList); while (feeder.next()) { Host host = new Host(); // setters annotated with @XMLBind feeder.inject(host); hosts.add(host); }
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |