ru.sstu.tables
Class XmlMapping<T>
java.lang.Object
ru.sstu.tables.Mapping<T>
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
| 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 |
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.