|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xmto2xmta.tree.TreeElement | +--xmto2xmta.tree.ConvertElement
Class which describes the various operations for converting from elements from XMT-O to XMT-A
History:
Field Summary | |
private java.util.Hashtable |
convertIndexTable_
|
private static boolean |
debug_
Whether debug information is to be printed to the console. |
private java.lang.Integer |
index_
the unique index identifier for this element. |
private org.w3c.dom.Document |
xmtaDoc_
|
private java.util.Hashtable |
xmtaIds_
|
private java.util.Vector |
xmtaParNodes_
|
private java.util.Vector |
xmtaParOds_
|
private java.util.Vector |
xmtaParRoutes_
|
private Xmto2Xmta |
xmto2Xmta_
|
private java.util.ResourceBundle |
xmto2XmtaRes_
|
private java.lang.String |
xmtoAttrId_
|
private org.w3c.dom.Element |
xmtoElement_
|
private java.util.Hashtable |
xmtoIds_
|
Fields inherited from class xmto2xmta.tree.TreeElement |
children, parent_ |
Constructor Summary | |
ConvertElement(org.w3c.dom.Element xmtoElement,
java.util.Hashtable xmtoIds,
java.util.Hashtable xmtaIds,
java.util.Hashtable convertIndexTable,
org.w3c.dom.Document xmtaDoc,
Xmto2Xmta xmto2Xmta)
constructor. |
Method Summary | |
void |
addToParNode(org.w3c.dom.Node node)
Add the node to the Par that contains the BIFS tree node changes. |
void |
addToParOd(org.w3c.dom.Node node)
Add the node to the Par that contains the OD changes. |
void |
addToParRoutes(org.w3c.dom.Node node)
Add the node to the Par that contains the Routes changes. |
boolean |
createChildren()
Determine whether or not children of this DOMParser element should be parsed and create children ConvertElments or not. |
void |
fireErrorEvent(int errorLevel,
int errorId,
java.lang.String message)
|
void |
fireErrorEvent(int errorLevel,
int errorId,
java.lang.String message,
org.w3c.dom.Element xmtoElement)
|
void |
fireErrorEvent(int errorLevel,
int errorId,
java.lang.String message,
org.w3c.dom.Element xmtoElement,
java.lang.String xmtoAttribute)
|
java.util.Hashtable |
getConvertIndexTable()
|
java.lang.Integer |
getIndex()
|
org.w3c.dom.Document |
getXmtaDoc()
|
java.util.Hashtable |
getXmtaIds()
|
Xmto2Xmta |
getXmto2Xmta()
|
java.lang.String |
getXmtoAttrId()
|
org.w3c.dom.Element |
getXmtoElement()
|
java.util.Hashtable |
getXmtoIds()
|
protected boolean |
handleValidateSyntax(java.lang.String attributeName,
java.lang.String attributeValue)
Validate the syntax of the element. |
boolean |
insertIntoXmtaTree()
|
void |
remove()
This method removes the element from the tree. |
static void |
setDebug(boolean debug)
Enable debugging information to be printed to the console. |
boolean |
validateSyntax()
Validate the syntax of the element. |
Methods inherited from class xmto2xmta.tree.TreeElement |
addChild, getChildren, getParent, removeChild, setParent, toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static boolean debug_
private java.lang.String xmtoAttrId_
private java.lang.Integer index_
private org.w3c.dom.Element xmtoElement_
private java.util.Hashtable xmtoIds_
private java.util.Hashtable xmtaIds_
private java.util.Hashtable convertIndexTable_
private org.w3c.dom.Document xmtaDoc_
private Xmto2Xmta xmto2Xmta_
private java.util.Vector xmtaParNodes_
private java.util.Vector xmtaParOds_
private java.util.Vector xmtaParRoutes_
private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail |
public ConvertElement(org.w3c.dom.Element xmtoElement, java.util.Hashtable xmtoIds, java.util.Hashtable xmtaIds, java.util.Hashtable convertIndexTable, org.w3c.dom.Document xmtaDoc, Xmto2Xmta xmto2Xmta)
xmtoElement
- XMT-O element for conversion.xmtoIds
- hashtable to contain XMT-O Conversion elements
with the key of their XMT-O id.xmtaIds
- hashtable to contain XMT-A elements with the key
of their XMT-A id.xmtaDoc
- DOM Document for the new XMT-A elements.xmto2Xmta
- Converter, used for firing error events.Method Detail |
public void addToParNode(org.w3c.dom.Node node)
public void addToParOd(org.w3c.dom.Node node)
public void addToParRoutes(org.w3c.dom.Node node)
public boolean createChildren()
public void fireErrorEvent(int errorLevel, int errorId, java.lang.String message)
public void fireErrorEvent(int errorLevel, int errorId, java.lang.String message, org.w3c.dom.Element xmtoElement)
public void fireErrorEvent(int errorLevel, int errorId, java.lang.String message, org.w3c.dom.Element xmtoElement, java.lang.String xmtoAttribute)
public java.util.Hashtable getConvertIndexTable()
public java.lang.Integer getIndex()
public org.w3c.dom.Document getXmtaDoc()
public java.util.Hashtable getXmtaIds()
public Xmto2Xmta getXmto2Xmta()
public java.lang.String getXmtoAttrId()
public org.w3c.dom.Element getXmtoElement()
public java.util.Hashtable getXmtoIds()
protected boolean handleValidateSyntax(java.lang.String attributeName, java.lang.String attributeValue)
public boolean insertIntoXmtaTree()
public void remove()
public static void setDebug(boolean debug)
debug
- sets debug information is printedpublic boolean validateSyntax()
|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |