/** * Allow two nodes to share the same set of attributes. There may be some * problems because the parent of any attribute will be the original node * they were assigned to. Need to see how the attribute walker works, then * we should be able to fake it out. * @param toNode * @param fromNode * */ protected void cloneAttributeFromNode( int toNode, int fromNode ) { try { if (m_attribute.elementAt(toNode) != DTM.NULL) { error("Cloneing Attributes, where from Node already had addtibures assigned"); } m_attribute.setElementAt(m_attribute.elementAt(fromNode), toNode); } catch(Exception e) { error("Cloning attributes"); } }
/** * @param parm1 * */ public String getNodeValue( int parm1 ) { if (DEBUG) System.out.println("getNodeValue(" + parm1 + ")"); try { Object o = m_ObjectArray.getAt(makeNodeIdentity(parm1)); if (o != null && o != S_ELEMENT_NODE) { return o.toString(); } else { return ""; } } catch(Exception e) { error("Getting String Value"); return null; } }
error("Error in addAttributeToNode: "+e.getMessage());
error("Error in addElement: "+e.getMessage());
/** * Allow two nodes to share the same set of attributes. There may be some * problems because the parent of any attribute will be the original node * they were assigned to. Need to see how the attribute walker works, then * we should be able to fake it out. * @param toNode * @param fromNode * */ protected void cloneAttributeFromNode( int toNode, int fromNode ) { try { if (m_attribute.elementAt(toNode) != DTM.NULL) { error("Cloneing Attributes, where from Node already had addtibures assigned"); } m_attribute.setElementAt(m_attribute.elementAt(fromNode), toNode); } catch(Exception e) { error("Cloning attributes"); } }
/** * Allow two nodes to share the same set of attributes. There may be some * problems because the parent of any attribute will be the original node * they were assigned to. Need to see how the attribute walker works, then * we should be able to fake it out. * @param toNode * @param fromNode * */ protected void cloneAttributeFromNode( int toNode, int fromNode ) { try { if (m_attribute.elementAt(toNode) != DTM.NULL) { error("Cloneing Attributes, where from Node already had addtibures assigned"); } m_attribute.setElementAt(m_attribute.elementAt(fromNode), toNode); } catch(Exception e) { error("Cloning attributes"); } }
/** * Allow two nodes to share the same set of attributes. There may be some * problems because the parent of any attribute will be the original node * they were assigned to. Need to see how the attribute walker works, then * we should be able to fake it out. * @param toNode * @param fromNode * */ protected void cloneAttributeFromNode( int toNode, int fromNode ) { try { if (m_attribute.elementAt(toNode) != DTM.NULL) { error("Cloneing Attributes, where from Node already had addtibures assigned"); } m_attribute.setElementAt(m_attribute.elementAt(fromNode), toNode); } catch(Exception e) { error("Cloning attributes"); } }
/** * @param parm1 * */ public String getNodeValue( int parm1 ) { if (DEBUG) System.out.println("getNodeValue(" + parm1 + ")"); try { Object o = m_ObjectArray.getAt(makeNodeIdentity(parm1)); if (o != null && o != S_ELEMENT_NODE) { return o.toString(); } else { return ""; } } catch(Exception e) { error("Getting String Value"); return null; } }
/** * @param parm1 * */ public String getNodeValue( int parm1 ) { if (DEBUG) System.out.println("getNodeValue(" + parm1 + ")"); try { Object o = m_ObjectArray.getAt(makeNodeIdentity(parm1)); if (o != null && o != S_ELEMENT_NODE) { return o.toString(); } else { return ""; } } catch(Exception e) { error("Getting String Value"); return null; } }
/** * @param parm1 * */ public String getNodeValue( int parm1 ) { if (DEBUG) System.out.println("getNodeValue(" + parm1 + ")"); try { Object o = m_ObjectArray.getAt(makeNodeIdentity(parm1)); if (o != null && o != S_ELEMENT_NODE) { return o.toString(); } else { return ""; } } catch(Exception e) { error("Getting String Value"); return null; } }
if (dataIdent == DTM.NULL) error("Streaming Mode, Data Error");
if (dataIdent == DTM.NULL) error("Streaming Mode, Data Error");
error("Error in addAttributeToNode: "+e.getMessage());
error("Error in addAttributeToNode: "+e.getMessage());
error("Error in addAttributeToNode: "+e.getMessage());
error("Error in addElement: "+e.getMessage());
error("Error in addElement: "+e.getMessage());
error("Error in addElement: "+e.getMessage());