/** * Get the local part of the qualified name. * * @return the local part of the qualified name */ public String getLocalPart() { return getLocalName(); }
/** * Get the local part of the qualified name. * * @return the local part of the qualified name */ public String getLocalPart() { return getLocalName(); }
/** * Tell if this is a psuedo variable reference, declared by Xalan instead * of by the user. */ public boolean isPsuedoVar() { java.lang.String ns = m_qname.getNamespaceURI(); if((null != ns) && ns.equals(RedundentExprEliminator.PSUEDOVARNAMESPACE)) { if(m_qname.getLocalName().startsWith("#")) return true; } return false; }
/** * Tell if this is a psuedo variable reference, declared by Xalan instead * of by the user. */ public boolean isPsuedoVarRef() { java.lang.String ns = m_qname.getNamespaceURI(); if((null != ns) && ns.equals(PSUEDOVARNAMESPACE)) { if(m_qname.getLocalName().startsWith("#")) return true; } return false; }
/** * Tell if this is a psuedo variable reference, declared by Xalan instead * of by the user. */ public boolean isPsuedoVar() { java.lang.String ns = m_qname.getNamespaceURI(); if((null != ns) && ns.equals(RedundentExprEliminator.PSUEDOVARNAMESPACE)) { if(m_qname.getLocalName().startsWith("#")) return true; } return false; }
/** * Tell if this is a psuedo variable reference, declared by Xalan instead * of by the user. */ public boolean isPsuedoVarRef() { java.lang.String ns = m_qname.getNamespaceURI(); if((null != ns) && ns.equals(PSUEDOVARNAMESPACE)) { if(m_qname.getLocalName().startsWith("#")) return true; } return false; }
/** * Override equals and agree that we're equal if * the passed object is a string and it matches * the name of the arg. * * @param ns Namespace URI to compare to * @param localPart Local part of qualified name to compare to * * @return True if the local name and uri match */ public boolean equals(String ns, String localPart) { String thisnamespace = getNamespaceURI(); return getLocalName().equals(localPart) && (((null != thisnamespace) && (null != ns)) ? thisnamespace.equals(ns) : ((null == thisnamespace) && (null == ns))); }
/** * Override equals and agree that we're equal if * the passed object is a string and it matches * the name of the arg. * * @param ns Namespace URI to compare to * @param localPart Local part of qualified name to compare to * * @return True if the local name and uri match */ public boolean equals(String ns, String localPart) { String thisnamespace = getNamespaceURI(); return getLocalName().equals(localPart) && (((null != thisnamespace) && (null != ns)) ? thisnamespace.equals(ns) : ((null == thisnamespace) && (null == ns))); }
/** * Override equals and agree that we're equal if * the passed object is a QName and it matches * the name of the arg. * * @return True if the qualified names are equal */ public boolean equals(Object object) { if (object == this) return true; if (object instanceof QName) { QName qname = (QName) object; String thisnamespace = getNamespaceURI(); String thatnamespace = qname.getNamespaceURI(); return getLocalName().equals(qname.getLocalName()) && (((null != thisnamespace) && (null != thatnamespace)) ? thisnamespace.equals(thatnamespace) : ((null == thisnamespace) && (null == thatnamespace))); } else return false; }
/** * Override equals and agree that we're equal if * the passed object is a QName and it matches * the name of the arg. * * @return True if the qualified names are equal */ public boolean equals(Object object) { if (object == this) return true; if (object instanceof QName) { QName qname = (QName) object; String thisnamespace = getNamespaceURI(); String thatnamespace = qname.getNamespaceURI(); return getLocalName().equals(qname.getLocalName()) && (((null != thisnamespace) && (null != thatnamespace)) ? thisnamespace.equals(thatnamespace) : ((null == thisnamespace) && (null == thatnamespace))); } else return false; }
/** * Given a qualified name, return an integer ID that can be * quickly compared. * * @param qname a qualified name object, must not be null. * * @return the expanded-name id of the qualified name. */ public int getQNameID(QName qname) { return m_ent.getExpandedTypeID(qname.getNamespace(), qname.getLocalName(), // The type doesn't matter for our // purposes. org.apache.xml.dtm.DTM.ELEMENT_NODE); }
/** * Given a qualified name, return an integer ID that can be * quickly compared. * * @param qname a qualified name object, must not be null. * * @return the expanded-name id of the qualified name. */ public int getQNameID(QName qname) { return m_ent.getExpandedTypeID(qname.getNamespace(), qname.getLocalName(), // The type doesn't matter for our // purposes. org.apache.xml.dtm.DTM.ELEMENT_NODE); }
XSLMessages.createMessage( XSLTErrorResources.ER_NO_XSLKEY_DECLARATION, new Object[] { name.getLocalName()}));
XSLMessages.createMessage( XSLTErrorResources.ER_NO_XSLKEY_DECLARATION, new Object[] { name.getLocalName()}));
XSLMessages.createMessage( XSLTErrorResources.ER_NO_XSLKEY_DECLARATION, new Object[] { name.getLocalName()})); return DTMIterator.FILTER_REJECT;
new Object[]{((ElemVariable)this.object()).getName().getLocalName()});
new Object[]{((ElemVariable)this.object()).getName().getLocalName()});
/** * Get the local part of the qualified name. * * @return the local part of the qualified name */ public String getLocalPart() { return getLocalName(); }
/** * Get the local part of the qualified name. * * @return the local part of the qualified name */ public String getLocalPart() { return getLocalName(); }
/** * Get the local part of the qualified name. * * @return the local part of the qualified name */ public String getLocalPart() { return getLocalName(); }