hmi.xml.wrap
Interface XMLWrapper<T>

Type Parameters:
T - base class being wrapped
All Superinterfaces:
XMLStructure
All Known Implementing Classes:
XMLBasicValue, XMLInteger

public interface XMLWrapper<T>
extends XMLStructure

XMLWrapper is an extension of XMLStructure; it adds the unwrap method. XMLWrapper is intended for XMLStructures that are really wrappers for other Java classes, that are not XMLStructures themselves. The reason for this could be that some class already inherits from some non-XMLStructure class, or that it is existing code, or a standrad java class like String etc. public Object unwrap(); public Class wrappedClass();

Author:
Job Zwiers

Method Summary
 T unwrap()
          Many XMLStructure Objects are really "wrappers" for other Objects.
 
Methods inherited from interface hmi.xml.XMLStructure
appendXML, appendXML, appendXML, getXMLTag, readXML, readXML, readXML, toXMLString, toXMLString, toXMLString, writeXML, writeXML, writeXML
 

Method Detail

unwrap

T unwrap()
Many XMLStructure Objects are really "wrappers" for other Objects. Considering an XMLStructure as a "wrapper" for some Object, the unwrap method yields this original Object.