public @NsUri String getUri(int mode) { return uri[mode]; }
public @NsUri String getUri(int mode) { return uri[mode]; }
public @NsUri String getUri(int mode) { return uri[mode]; }
public @NsUri String getURI(int index) { if (index < length && index >= 0) { return names[index].getUri(mode); } else { return null; } }
/** * Variant of <code>getURI(int index)</code> without bounds check. * @param index a valid attribute index * @return the namespace URI at index */ public @NsUri String getURINoBoundsCheck(int index) { return names[index].getUri(mode); }
public @NsUri String getURI(int index) { if (index < length && index >= 0) { return names[index].getUri(mode); } else { return null; } }
public @NsUri String getXmlnsURI(int index) { if (index < xmlnsLength && index >= 0) { return xmlnsNames[index].getUri(mode); } else { return null; } }
public @NsUri String getXmlnsURI(int index) { if (index < xmlnsLength && index >= 0) { return xmlnsNames[index].getUri(mode); } else { return null; } }
public @NsUri String getURI(int index) { if (index < length && index >= 0) { return names[index].getUri(mode); } else { return null; } }
public @NsUri String getXmlnsURI(int index) { if (index < xmlnsLength && index >= 0) { return xmlnsNames[index].getUri(mode); } else { return null; } }
/** * Variant of <code>getURI(int index)</code> without bounds check. * @param index a valid attribute index * @return the namespace URI at index */ public @NsUri String getURINoBoundsCheck(int index) { return names[index].getUri(mode); }
/** * The argument MUST be an interned string or <code>null</code>. * * @param context */ public final void setFragmentContext(@Local String context, @NsUri String ns, T node, boolean quirks) { this.contextName = context; this.contextNamespace = ns; this.contextNode = node; this.fragment = (contextName != null); this.quirks = quirks; }
protected void elementPushed(@NsUri String ns, @Local String name, T node) throws SAXException { }
protected void elementPushed(@NsUri String ns, @Local String name, T node) throws SAXException { }
protected void elementPopped(@NsUri String ns, @Local String name, T node) throws SAXException { }
protected void elementPopped(@NsUri String ns, @Local String name, T node) throws SAXException { }
protected void elementPopped(@NsUri String ns, @Local String name, T node) throws SAXException { }
protected void elementPushed(@NsUri String ns, @Local String name, T node) throws SAXException { }
protected T createElement(@NsUri String ns, @Local String name, HtmlAttributes attributes, T form) throws SAXException { return createElement("http://www.w3.org/1999/xhtml", name, attributes); }
/** * The argument MUST be an interned string or <code>null</code>. * * @param context */ public final void setFragmentContext(@Local String context, @NsUri String ns, T node, boolean quirks) { // [NOCPP[ if (!((context == null && ns == null) || "http://www.w3.org/1999/xhtml" == ns || "http://www.w3.org/2000/svg" == ns || "http://www.w3.org/1998/Math/MathML" == ns)) { throw new IllegalArgumentException( "The namespace must be the HTML, SVG or MathML namespace (or null when the local name is null). Got: " + ns); } // ]NOCPP] this.contextName = context; this.contextNamespace = ns; this.contextNode = node; this.fragment = (contextName != null); this.quirks = quirks; }