ru.sstu.tables
Class XmlMapping<T>

java.lang.Object
  extended by ru.sstu.tables.Mapping<T>
      extended by ru.sstu.tables.XmlMapping<T>
Type Parameters:
T - Java Bean type

public class XmlMapping<T>
extends Mapping<T>

XmlMapping class is used for mapping between Java Bean properties and columns of table using XML mapping.

Since:
Tables 1.0
Author:
Denis_Murashev

Constructor Summary
XmlMapping(File file)
           
XmlMapping(InputStream mapping)
           
 
Method Summary
 
Methods inherited from class ru.sstu.tables.Mapping
addField, addField, checkIndex, createObject, getMaxIndex, getSkipRows, getTableIndex, getTableReader, getType, setClass, setSkipRows, setTableIndex, setTableReader, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlMapping

public XmlMapping(InputStream mapping)
           throws TableException
Parameters:
mapping - XML mapping
Throws:
TableException - if cannot create mapping

XmlMapping

public XmlMapping(File file)
           throws TableException
Parameters:
file - configuration file
Throws:
TableException - if wrong configuration file or file not found


Copyright © 2012 TFI branch of Engels Instutute of Technology. All Rights Reserved.