Package com.epam.xml.engine
Interface UnmarshalerListener
- All Known Subinterfaces:
XMLUnmarshaler<T>
- All Known Implementing Classes:
AbstractUnmarshaler
,DOMUnmarshaler
,SAXUnmarshaler
public interface UnmarshalerListener
- Author:
- Serhiy_Zahriychuk
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(String name) The end of element.void
The end marshaling.void
lookup
(String name, Attributes attributes) Find the property with given name in current node.void
setAttribute
(String name, String value) Sets attribute value for property name.void
Sets the value for current element.void
startElement
(String name) The start of element.void
Start marshaling.
-
Method Details
-
startMarshaling
void startMarshaling()Start marshaling. -
setAttribute
Sets attribute value for property name.- Parameters:
name
- the property namevalue
- the property value
-
lookup
Find the property with given name in current node.- Parameters:
name
- the name of an elementattributes
- the attributes of current element- Throws:
RuntimeException
- if given property not found
-
startElement
The start of element.- Parameters:
name
- the name of an element
-
setValue
Sets the value for current element.- Parameters:
value
- the property value
-
endElement
The end of element.- Parameters:
name
- the name of an element
-
endMarshaling
void endMarshaling()The end marshaling.
-