/** * {@inheritDoc} */ @Override public String getNamespaceURI() { if (getPage().isHtmlPage() && !(getPage() instanceof XHtmlPage) && HTMLParser.XHTML_NAMESPACE.equals(namespaceURI_) && XPathUtils.isProcessingXPath()) { // for Xalan processing we have to strip the 'default' XHTML namespace for HTML pages to be able to find // the elements by XPath without needing to add the namespace to it return null; } return namespaceURI_; }
/** * {@inheritDoc} */ @Override public DomNode cloneNode(final boolean deep) { final DomElement clone = (DomElement) super.cloneNode(deep); clone.attributes_ = new NamedAttrNodeMapImpl(clone, isAttributeCaseSensitive()); clone.attributes_.putAll(attributes_); return clone; }
/** * {@inheritDoc} */ @Override public DomNode cloneNode(final boolean deep) { final DomElement clone = (DomElement) super.cloneNode(deep); clone.attributes_ = new NamedAttrNodeMapImpl(clone, isAttributeCaseSensitive()); clone.attributes_.putAll(attributes_); return clone; } }
/** * {@inheritDoc} */ @Override public String getNamespaceURI() { if (getPage().isHtmlPage() && !(getPage() instanceof XHtmlPage) && HTMLParser.XHTML_NAMESPACE.equals(namespaceURI_) && XPathUtils.isProcessingXPath()) { // for Xalan processing we have to strip the 'default' XHTML namespace for HTML pages to be able to find // the elements by XPath without needing to add the namespace to it return null; } return namespaceURI_; }
/** * {@inheritDoc} */ @Override public DomNode cloneNode(final boolean deep) { final DomElement clone = (DomElement) super.cloneNode(deep); clone.attributes_ = new NamedAttrNodeMapImpl(clone, isAttributeCaseSensitive()); clone.attributes_.putAll(attributes_); return clone; } }
/** * {@inheritDoc} */ @Override public String getLocalName() { final boolean caseSensitive = getPage().hasCaseSensitiveTagNames(); if (!caseSensitive && XPathUtils.isProcessingXPath()) { // and this method was called from Xalan return localName_.toLowerCase(); } return localName_; }
/** * {@inheritDoc} */ @Override public DomNode cloneNode(final boolean deep) { final DomElement clone = (DomElement) super.cloneNode(deep); clone.attributes_ = new NamedAttrNodeMapImpl(clone, isAttributeCaseSensitive()); clone.attributes_.putAll(attributes_); return clone; } }
/** * {@inheritDoc} */ @Override public String getLocalName() { final boolean caseSensitive = getPage().hasCaseSensitiveTagNames(); if (!caseSensitive && XPathUtils.isProcessingXPath()) { // and this method was called from Xalan return localName_.toLowerCase(); } return localName_; }
/** * {@inheritDoc} */ @Override public DomNode cloneNode(final boolean deep) { final DomElement clone = (DomElement) super.cloneNode(deep); clone.attributes_ = new NamedAttrNodeMapImpl(clone, isAttributeCaseSensitive()); clone.attributes_.putAll(attributes_); return clone; }
/** * {@inheritDoc} */ @Override public String getLocalName() { final boolean caseSensitive = getPage().hasCaseSensitiveTagNames(); if (!caseSensitive && XPathUtils.isProcessingXPath()) { // and this method was called from Xalan return localName_.toLowerCase(); } return localName_; }
/** * {@inheritDoc} */ @Override public String getLocalName() { final boolean caseSensitive = getPage().hasCaseSensitiveTagNames(); if (!caseSensitive && XPathUtils.isProcessingXPath()) { // and this method was called from Xalan return localNameLC_; } return localName_; }
/** * {@inheritDoc} */ @Override public String getLocalName() { final boolean caseSensitive = getPage().hasCaseSensitiveTagNames(); if (!caseSensitive && XPathUtils.isProcessingXPath()) { // and this method was called from Xalan return localNameLC_; } return localName_; }