/** * Returns the pseudo attributes in a table. */ public HashTable getPseudoAttributes() { if (pseudoAttributes == null) { pseudoAttributes = new HashTable(); pseudoAttributes.put("alternate", "no"); pseudoAttributes.put("media", "all"); DOMUtilities.parseStyleSheetPIData(data, pseudoAttributes); } return pseudoAttributes; }
/** * Gets the value of an entry * @return the value or null */ public Object get(Object o1, Object o2, Object o3) { int hash = hashCode(o1, o2, o3) & 0x7FFFFFFF; int index = hash % table.length; for (Entry e = table[index]; e != null; e = e.next) { if ((e.hash == hash) && e.match(o1, o2, o3)) { return e.value; } } return null; }
/** * <b>DOM</b>: Returns the xml:space attribute value. */ public String getXMLspace() { return XMLSupport.getXMLSpace(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }
if (!(document.getImplementation() instanceof SVGDOMImplementation)) { DOMImplementation impl = (DOMImplementation) hints.get(KEY_DOM_IMPLEMENTATION); document = DOMUtilities.deepCloneDocument(document, impl);
/** * <b>SAX</b>: Implements {@link * org.xml.sax.ContentHandler#endElement(String,String,String)}. */ public void endElement(String uri, String localName, String rawName) throws SAXException { appendStringData(); // add string data if any. if (currentNode != null) currentNode = currentNode.getParentNode(); namespaces.pop(); }
/** * Declares a new prefix mapping by returning a new * <code>NSMap</code> object that links to this one. */ public NSMap declare(String prefix, String ns) { NSMap m = new NSMap(); m.prefix = prefix; m.ns = ns; m.next = this; m.nextPrefixNumber = this.nextPrefixNumber; return m; }
/** * <b>SAX</b>: Implements {@link * org.xml.sax.ext.LexicalHandler#startCDATA()}. */ public void startCDATA() throws SAXException { appendStringData(); // Add any collected String Data before CData inCDATA = true; stringContent = true; // always create CDATA even if empty. }
/** * Returns a new, generated namespace prefix. */ public String getNewPrefix() { String prefix; do { prefix = "a" + nextPrefixNumber++; } while (getNamespace(prefix) != null); return prefix; }
/** * <b>DOM</b>: Returns the xml:space attribute value. */ public String getXMLspace() { return XMLSupport.getXMLSpace(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }
/** * Gets the value of an entry * @return the value or null */ public Object get(Object o1, Object o2, Object o3) { int hash = hashCode(o1, o2, o3) & 0x7FFFFFFF; int index = hash % table.length; for (Entry e = table[index]; e != null; e = e.next) { if ((e.hash == hash) && e.match(o1, o2, o3)) { return e.value; } } return null; }
/** * <b>DOM</b>: Returns the xml:space attribute value. */ public String getXMLspace() { return XMLSupport.getXMLSpace(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }
/** * <b>DOM</b>: Returns the xml:space attribute value. */ public String getXMLspace() { return XMLSupport.getXMLSpace(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }
/** * <b>DOM</b>: Returns the xml:space attribute value. */ public String getXMLspace() { return XMLSupport.getXMLSpace(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }
/** * <b>DOM</b>: Returns the xml:lang attribute value. */ public String getXMLlang() { return XMLSupport.getXMLLang(this); }