/** * * * @see org.w3c.dom.Element */ public final String getTagName() { return dtm.getNodeName(node); }
this.m_contentHandler.endElement(ns, m_dtm.getLocalName(node), m_dtm.getNodeName(node)); lh.endEntity(m_dtm.getNodeName(node));
/** * * * @see org.w3c.dom.Node */ public final String getNodeName() { return dtm.getNodeName(node); }
this.m_contentHandler.endElement(ns, m_dtm.getLocalName(node), m_dtm.getNodeName(node)); lh.endEntity(m_dtm.getNodeName(node));
/** * * * @see org.w3c.dom.Attr */ public final String getName() { return dtm.getNodeName(node); }
/** * * * @see org.w3c.dom.Attr */ public final String getName() { return dtm.getNodeName(node); }
/** * * * @see org.w3c.dom.Element */ public final String getTagName() { return dtm.getNodeName(node); }
/** * * * @see org.w3c.dom.Node */ public final String getNodeName() { return dtm.getNodeName(node); }
/** * A PI's "target" states what processor channel the PI's data * should be directed to. It is defined differently in HTML and XML. * <p> * In XML, a PI's "target" is the first (whitespace-delimited) token * following the "<?" token that begins the PI. * <p> * In HTML, target is always null. * <p> * Note that getNodeName is aliased to getTarget. * * */ public final String getTarget() { return dtm.getNodeName(node); } // getTarget():String
/** * A PI's "target" states what processor channel the PI's data * should be directed to. It is defined differently in HTML and XML. * <p> * In XML, a PI's "target" is the first (whitespace-delimited) token * following the "<?" token that begins the PI. * <p> * In HTML, target is always null. * <p> * Note that getNodeName is aliased to getTarget. * * */ public final String getTarget() { return dtm.getNodeName(node); } // getTarget():String
/** * Diagnostics. * * @param n Node to give diagnostic information about, or null. * * @return Informative string about the argument. */ protected String nodeToString(int n) { if(DTM.NULL != n) { DTM dtm = m_lpi.getXPathContext().getDTM(n); return dtm.getNodeName(n) + "{" + (n+1) + "}"; } else { return "null"; } }
case DTM.ENTITY_NODE : head = (TemplateSubPatternAssociation) m_patternTable.get( dtm.getNodeName(targetNode)); // %REVIEW% I think this is right break; case DTM.PROCESSING_INSTRUCTION_NODE : default : head = (TemplateSubPatternAssociation) m_patternTable.get( dtm.getNodeName(targetNode)); // %REVIEW% I think this is right
/** * Diagnostics. * * @param n Node to give diagnostic information about, or null. * * @return Informative string about the argument. */ protected String nodeToString(int n) { if(DTM.NULL != n) { DTM dtm = m_lpi.getXPathContext().getDTM(n); return dtm.getNodeName(n) + "{" + (n+1) + "}"; } else { return "null"; } }
/** * Retrieves a node specified by name. * @param name The <code>nodeName</code> of a node to retrieve. * @return A <code>Node</code> (of any type) with the specified * <code>nodeName</code>, or <code>null</code> if it does not identify * any node in this map. */ public Node getNamedItem(String name) { for (int n = dtm.getFirstAttribute(element); n != DTM.NULL; n = dtm.getNextAttribute(n)) { if (dtm.getNodeName(n).equals(name)) return dtm.getNode(n); } return null; }
/** * Retrieves a node specified by name. * @param name The <code>nodeName</code> of a node to retrieve. * @return A <code>Node</code> (of any type) with the specified * <code>nodeName</code>, or <code>null</code> if it does not identify * any node in this map. */ public Node getNamedItem(String name) { for (int n = dtm.getFirstAttribute(element); n != DTM.NULL; n = dtm.getNextAttribute(n)) { if (dtm.getNodeName(n).equals(name)) return dtm.getNode(n); } return null; }
s = dtm.getNodeName(context); if(s.startsWith("xmlns:") || s.equals("xmlns")) return XString.EMPTYSTRING;
s = dtm.getNodeName(context); if(s.startsWith("xmlns:") || s.equals("xmlns")) return XString.EMPTYSTRING;
ns, dtm.getLocalName(attr), dtm.getNodeName(attr), "CDATA", dtm.getNodeValue(attr), false);
ns, dtm.getLocalName(attr), dtm.getNodeName(attr), "CDATA", dtm.getNodeValue(attr), false);
String elemName = m_dtm.getNodeName(node); String localName = m_dtm.getLocalName(node); String namespace = m_dtm.getNamespaceURI(node);