com.hudson.hibernatesynchronizer.mapping
Class HibernateDocument
java.lang.Object
com.hudson.hibernatesynchronizer.mapping.HibernateDocument
- public class HibernateDocument
- extends java.lang.Object
Constructor Summary |
HibernateDocument(IFile file)
Load the document from the file contents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDocument
public HibernateDocument(IFile file)
throws java.lang.Exception
- Load the document from the file contents
- Parameters:
file
-
load
public void load(java.io.InputStream is)
throws java.lang.Exception
- Load this document from the given input stream
- Parameters:
is
-
- Throws:
java.lang.Exception
loadTopLevelSubclasses
public boolean loadTopLevelSubclasses(java.util.Map classes)
throws java.lang.Exception
- Load this document from the given input stream
- Throws:
java.lang.Exception
getLastModTime
public long getLastModTime()
getClasses
public java.util.List getClasses()
getQueries
public java.util.List getQueries()
getFile
public IFile getFile()
- Returns:
- Returns the file.
getFilePathInProject
public java.lang.String getFilePathInProject()
getPackageName
public java.lang.String getPackageName()
- Returns:
- Returns the packageName.
hasTopLevelSubclassNodes
protected boolean hasTopLevelSubclassNodes()
- Returns:
- Returns the hasTopLevelSubclassNodes.
getDocument
public org.w3c.dom.Document getDocument()
- Return the XML document relating to this mapping file