org.dozer.loader.xml
Class XMLParser

java.lang.Object
  extended by 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

Constructor Summary
XMLParser(Document document)
           
 
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
 

Constructor Detail

XMLParser

public XMLParser(Document document)
Parameters:
document - Xml document containing valid mappings definition
Method Detail

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.