|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.marsching.flexiparse.xml2object.parser.XML2ObjectNodeHandler
public class XML2ObjectNodeHandler
Generic node handler using mapping configurations to create objects in the object tree from XML data.
| Constructor Summary | |
|---|---|
XML2ObjectNodeHandler(Collection<? extends ElementMappingConfiguration> mappingConfigurations)
Create a new instance using the supplied mapping configurations. |
|
| Method Summary | |
|---|---|
HandlerConfiguration |
getConfiguration()
Returns the configuration for this object. |
void |
handleNode(HandlerContext context)
Called for every matching node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XML2ObjectNodeHandler(Collection<? extends ElementMappingConfiguration> mappingConfigurations)
mappingConfigurations - global mapping configuration| Method Detail |
|---|
public HandlerConfiguration getConfiguration()
HandlerConfigurationProvider
getConfiguration in interface HandlerConfigurationProvider
public void handleNode(HandlerContext context)
throws ParserException
ParsingHandler
handleNode in interface ParsingHandlercontext - provides context information for the current node
ParserException - if any error occurs during the parsing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||