Package com.epam.xml.engine
Class DOMUnmarshaler<T>
java.lang.Object
com.epam.xml.engine.AbstractUnmarshaler<T>
com.epam.xml.engine.DOMUnmarshaler<T>
- All Implemented Interfaces:
UnmarshalerListener,XMLUnmarshaler<T>
- Author:
- Serhiy_Zahriychuk Date: 21-Jul-2009
-
Field Summary
Fields inherited from class com.epam.xml.engine.AbstractUnmarshaler
xmlInstanceBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String name) The end of element.voidThe end marshaling.voidlookup(String name, Attributes attributes) Find the property with given name in current node.voidsetAttribute(String name, String value) Sets attribute value for property name.voidSets the value for current element.voidstartElement(String name) The start of element.voidStart marshaling.unmarshal(Class<?> source, DocumentReader reader, boolean replaceData) unmarshal(T source, DocumentReader reader, boolean replaceData)
-
Constructor Details
-
DOMUnmarshaler
public DOMUnmarshaler()
-
-
Method Details
-
unmarshal
-
unmarshal
-
lookup
Description copied from interface:UnmarshalerListenerFind the property with given name in current node.- Parameters:
name- the name of an elementattributes- the attributes of current element
-
setAttribute
Description copied from interface:UnmarshalerListenerSets attribute value for property name.- Parameters:
name- the property namevalue- the property value
-
setValue
Description copied from interface:UnmarshalerListenerSets the value for current element.- Parameters:
value- the property value
-
startMarshaling
public void startMarshaling()Description copied from interface:UnmarshalerListenerStart marshaling. -
endMarshaling
public void endMarshaling()Description copied from interface:UnmarshalerListenerThe end marshaling. -
endElement
Description copied from interface:UnmarshalerListenerThe end of element.- Parameters:
name- the name of an element
-
startElement
Description copied from interface:UnmarshalerListenerThe start of element.- Parameters:
name- the name of an element
-
getRootObject
-