ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.util
Interface XmlElement


public interface XmlElement

An element, which serializable/deserializable via Stax.

Version:
$Revision: 432 $
Author:
Jens Elkner

Method Summary
 void fromXml(XMLStreamReader in)
          Read properties from the xml stream.
 void toXml(XMLStreamWriter out)
          Write this element to the xml stream.
 

Method Detail

toXml

void toXml(XMLStreamWriter out)
           throws XMLStreamException
Write this element to the xml stream.

Parameters:
out - where to write the element.
Throws:
XMLStreamException

fromXml

void fromXml(XMLStreamReader in)
             throws XMLStreamException
Read properties from the xml stream.

Parameters:
in - xml stream, whoms cursor points to start of the XML element, to which the instance is associated.
Throws:
XMLStreamException

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.