|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.database.DBDescriptor
class DBDescriptor
Provides a database descriptor.
Constructor Summary | |
---|---|
DBDescriptor(Document document)
Construct this object from the given file. |
|
DBDescriptor(File file)
Construct this object from the given file. |
|
DBDescriptor(InputStream inputStream)
Construct this object from the given input stream. |
Method Summary | |
---|---|
void |
add(JoinData joinData)
Add the given join data. |
void |
add(TableData tableData)
Add the given table data. |
protected TableData |
createJunctionTableData(JunctionData junctionData)
Create a junction table data object from the given junction data. |
Iterator |
getJoinData()
Return an iterator over the join data. |
String |
getName()
Return the database name prefix. |
Iterator |
getTableData()
Return an iterator over the table data. |
TableData |
getTableData(String tableName)
Return the table data with the given name. |
protected void |
inflate(Element element)
Inflate this object from the given XML element. |
protected void |
init(Document document)
Construct this object from the given file. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBDescriptor(Document document) throws ClassNotFoundException
ClassNotFoundException
public DBDescriptor(File file) throws ParserConfigurationException, SAXException, IOException, ClassNotFoundException
ParserConfigurationException
SAXException
IOException
ClassNotFoundException
public DBDescriptor(InputStream inputStream) throws ParserConfigurationException, SAXException, IOException, ClassNotFoundException
ParserConfigurationException
SAXException
IOException
ClassNotFoundException
Method Detail |
---|
public void add(TableData tableData)
public void add(JoinData joinData)
public Iterator getJoinData()
public String getName()
public Iterator getTableData()
public TableData getTableData(String tableName)
public String toString()
toString
in class Object
protected TableData createJunctionTableData(JunctionData junctionData)
protected void inflate(Element element) throws ClassNotFoundException
ClassNotFoundException
protected void init(Document document) throws ClassNotFoundException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |