|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.repository.JxProject
Stores information about a project.
| Field Summary | |
protected JxProjectRepository |
repository
The repository of this project. |
| Constructor Summary | |
protected |
JxProject()
Creates a new, empty object. |
|
JxProject(JxProjectRepository repo)
Creates a new object. |
| Method Summary | |
org.w3c.dom.Document[] |
getDocuments()
Obtains DOM document objects of all files stored in this project. |
java.lang.String |
getProjectDir()
Returns the directory name of this project. |
java.lang.String |
getProjectName()
Returns the name of this project. |
JxProjectRepository |
getRepository()
Returns the repository of this project. |
static JxProject |
newJxProject(org.w3c.dom.Document doc)
Creates a project which contains a file corresponding to an XML document. |
static JxProject |
newJxProject(org.w3c.dom.Element elem)
Creates a project which contains a code fragment corresponding to an XML element. |
static JxProject |
newJxProject(JxElement jelem)
Creates a project which contains a wrapper of an XML element. |
static JxProject |
newJxProject(java.lang.String name)
Creates a project with a name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected JxProjectRepository repository
| Constructor Detail |
protected JxProject()
public JxProject(JxProjectRepository repo)
| Method Detail |
public static JxProject newJxProject(java.lang.String name)
name - A project name.
public static JxProject newJxProject(org.w3c.dom.Document doc)
doc - An XML document.
public static JxProject newJxProject(org.w3c.dom.Element elem)
elem - An XML element.
public static JxProject newJxProject(JxElement jelem)
jelem - A wrapper of an XML element.
public JxProjectRepository getRepository()
public java.lang.String getProjectDir()
public java.lang.String getProjectName()
public org.w3c.dom.Document[] getDocuments()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||