org.dozer.loader.xml
Class XMLParser
java.lang.Object
org.dozer.loader.xml.XMLParser
- All Implemented Interfaces:
- MappingsSource
public class XMLParser
- extends Object
- implements MappingsSource
Internal class that parses a raw custom xml mapping file into ClassMap objects.
Only intended for internal use.
- Author:
- garsombke.franz, johnsen.knut-erik, dmitry.buzdin
|
Method Summary |
MappingFileData |
load()
Builds object representation of mappings based on content of Xml document |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLParser
public XMLParser(Document document)
- Parameters:
document - Xml document containing valid mappings definition
load
public MappingFileData load()
- Builds object representation of mappings based on content of Xml document
- Specified by:
load in interface MappingsSource
- Returns:
- mapping container
Copyright © 2005-2011 dozer. All Rights Reserved.