Tabnine Logo
org.apache.batik.dom.util
Code IndexAdd Tabnine to your IDE (free)

How to use org.apache.batik.dom.util

Best Java code snippets using org.apache.batik.dom.util (Showing top 20 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

/**
 * 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;
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * 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;
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Returns the xml:space attribute value.
 */
public String getXMLspace() {
  return XMLSupport.getXMLSpace(this);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
origin: haraldk/TwelveMonkeys

if (!(document.getImplementation() instanceof SVGDOMImplementation)) {
  DOMImplementation impl = (DOMImplementation) hints.get(KEY_DOM_IMPLEMENTATION);
  document = DOMUtilities.deepCloneDocument(document, impl);
origin: org.apache.xmlgraphics/batik-dom

/**
 * <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();
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * 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;
}
origin: org.apache.xmlgraphics/batik-dom

/**
 * <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.
}
origin: org.apache.xmlgraphics/batik-dom

/**
 * Returns a new, generated namespace prefix.
 */
public String getNewPrefix() {
  String prefix;
  do {
    prefix = "a" + nextPrefixNumber++;
  } while (getNamespace(prefix) != null);
  return prefix;
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Returns the xml:space attribute value.
 */
public String getXMLspace() {
  return XMLSupport.getXMLSpace(this);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
origin: org.apache.xmlgraphics/batik-dom

/**
 * 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;
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Returns the xml:space attribute value.
 */
public String getXMLspace() {
  return XMLSupport.getXMLSpace(this);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Returns the xml:space attribute value.
 */
public String getXMLspace() {
  return XMLSupport.getXMLSpace(this);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Returns the xml:space attribute value.
 */
public String getXMLspace() {
  return XMLSupport.getXMLSpace(this);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Returns the xml:lang attribute value.
 */
public String getXMLlang() {
  return XMLSupport.getXMLLang(this);
}
org.apache.batik.dom.util

Most used classes

  • DOMUtilities
    A collection of utility functions for the DOM.
  • SAXDocumentFactory
    This class contains methods for creating Document instances from an URI using SAX2.
  • XMLSupport
    This class provides support for XML features.
  • XLinkSupport
    This class provides support for XLink features.
  • DocumentDescriptor
    This class contains informations about a document.
  • HashTableStack,
  • TriplyIndexedTable,
  • DOMUtilities$NSMap,
  • DocumentDescriptor$Entry,
  • HashTableStack$Link,
  • IntTable$Entry,
  • IntTable,
  • ListNodeList,
  • SAXDocumentFactory$CDataInfo,
  • SAXDocumentFactory$CommentInfo,
  • SAXDocumentFactory$PreInfo,
  • SAXDocumentFactory$ProcessingInstructionInfo,
  • SAXDocumentFactory$TextInfo,
  • SAXIOException
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now