|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.xml.engine.AbstractUnmarshaler<T>
com.epam.xml.engine.DOMUnmarshaler<T>
public class DOMUnmarshaler<T>
| Field Summary |
|---|
| Fields inherited from class com.epam.xml.engine.AbstractUnmarshaler |
|---|
xmlInstanceBuilder |
| Constructor Summary | |
|---|---|
DOMUnmarshaler()
|
|
| Method Summary | |
|---|---|
void |
endElement(String name)
The end of element. |
void |
endMarshaling()
The end marshaling. |
T |
getRootObject()
|
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 |
setValue(String value)
Sets the value for current element. |
void |
startElement(String name)
The start of element. |
void |
startMarshaling()
Start marshaling. |
T |
unmarshal(Class<?> source,
DocumentReader reader,
boolean replaceData)
|
T |
unmarshal(T source,
DocumentReader reader,
boolean replaceData)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOMUnmarshaler()
| Method Detail |
|---|
public T unmarshal(Class<?> source,
DocumentReader reader,
boolean replaceData)
public T unmarshal(T source,
DocumentReader reader,
boolean replaceData)
public void lookup(String name,
Attributes attributes)
UnmarshalerListener
name - the name of an elementattributes - the attributes of current element
public void setAttribute(String name,
String value)
UnmarshalerListener
name - the property namevalue - the property valuepublic void setValue(String value)
UnmarshalerListener
value - the property valuepublic void startMarshaling()
UnmarshalerListener
public void endMarshaling()
UnmarshalerListener
public void endElement(String name)
UnmarshalerListener
name - the name of an elementpublic void startElement(String name)
UnmarshalerListener
name - the name of an elementpublic T getRootObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||