|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
ApplicationProfile.java The xmiddle application profile binds together an application along with its access and reconciliation policies, its Document/Tree, its dtd and its XML Schema related to data tree. Created: Thu Jul 19 14:06:18 2001
Field Summary | |
protected XApp |
app
|
protected Tree |
data
The application's data Tree |
protected org.w3c.dom.Document |
dataSchema
The XML Schema related to the application's data Tree |
protected java.lang.Integer |
id
The application's ID |
Constructor Summary | |
ApplicationProfile()
|
Method Summary | |
abstract Tree |
createDocument()
Creates a new XML document for the application based on the dtd defined, and returns it as a Tree |
XApp |
getApp()
|
Tree |
getData()
Returns the application's tree |
org.w3c.dom.Document |
getDataSchema()
Returns the XML Schema related to XML data document |
java.lang.Integer |
getID()
Returns the application ID of the application which owns this profile |
abstract Tree |
setData(org.w3c.dom.Document document)
Allows an application to bind an XML document to a Tree and use it as its data element |
void |
setDataSchema(org.w3c.dom.Document document)
Allows an application to bind an XML Schema to XML document that contains its data |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Integer id
protected Tree data
Tree
protected org.w3c.dom.Document dataSchema
Tree
protected XApp app
Constructor Detail |
public ApplicationProfile()
Method Detail |
public java.lang.Integer getID()
public abstract Tree createDocument()
Tree
Tree
representing the new documentpublic abstract Tree setData(org.w3c.dom.Document document)
document
- The XML Document
that the
application wishes to bind.
Tree
representing the given Documentpublic Tree getData()
Tree
public void setDataSchema(org.w3c.dom.Document document)
public org.w3c.dom.Document getDataSchema()
Document
related to the XML document that contains datapublic XApp getApp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |