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