|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.xml.xmldssGraph.XMLDSSRestructurer
public class XMLDSSRestructurer
Class that automatically integrates two fully conformed AutoMed XML DataSource Schemas S1 and S2.
Main Pseudocode:
Growing Phase Pseudocode:
Traverse target schema in a depth-first way. For each element e in T, do:
NOTE Synthetic structure is inserted with add transformations - if this is not wanted, the user has to switch it off.
NOTE The only case where synthetic structure is inserted with extend transformations is when TODO
| Constructor Summary | |
|---|---|
XMLDSSRestructurer(Schema sourceSchema,
org.w3c.dom.Document sourceUIDXMLDSS,
Schema targetSchema,
org.w3c.dom.Document targetUIDXMLDSS)
|
|
| Method Summary | |
|---|---|
void |
listPathway()
|
void |
restructure()
After instantiating the class, this method restructures the source XMLDSS to match the target, by transforming both source and target schemas. |
void |
setAttribute2ElementSwitch(boolean value)
|
void |
setDebug(boolean value)
|
void |
setElement2AttributeSwitch(boolean value)
|
void |
setPrintStream(java.io.PrintStream ps)
|
void |
setSkolemOn(boolean value)
|
void |
setSyntheticSwitch(boolean value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLDSSRestructurer(Schema sourceSchema,
org.w3c.dom.Document sourceUIDXMLDSS,
Schema targetSchema,
org.w3c.dom.Document targetUIDXMLDSS)
throws XMLException
XMLException| Method Detail |
|---|
public void restructure()
throws XMLException
XMLException
XMLExceptionpublic void listPathway()
public void setDebug(boolean value)
value - determines whether debugging is on or offpublic void setSyntheticSwitch(boolean value)
value - determines whether synthetic structure is created or not during restructuring; controls all other switches simulataneouslypublic void setElement2AttributeSwitch(boolean value)
value - determines whether element-to-attribute transformations occur or not during restructuringpublic void setAttribute2ElementSwitch(boolean value)
value - determines whether attribute-to-element transformations occur or not during restructuringpublic void setSkolemOn(boolean value)
value - determines whether synthetic structure based on skolemisation is created or not during restructuringpublic void setPrintStream(java.io.PrintStream ps)
value - determines whether synthetic structure based on skolemisation is created or not during restructuring
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||