Codota Logo
HashTableStack
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.apache.xmlgraphics/batik-dom

/**
 * <b>SAX</b>: Implements {@link
 * org.xml.sax.ContentHandler#startDocument()}.
 */
public void startDocument() throws SAXException {
  preInfo    = new LinkedList();
  namespaces = new HashTableStack();
  namespaces.put("xml", XMLSupport.XML_NAMESPACE_URI);
  namespaces.put("xmlns", XMLSupport.XMLNS_NAMESPACE_URI);
  namespaces.put("", null);
  inDTD        = false;
  inCDATA      = false;
  inProlog     = true;
  currentNode  = null;
  document     = null;
  doctype      = null;
  isStandalone = false;
  xmlVersion   = XMLConstants.XML_VERSION_10;
  stringBuffer.setLength(0);
  stringContent = false;
  if (createDocumentDescriptor) {
    documentDescriptor = new DocumentDescriptor();
  } else {
    documentDescriptor = null;
  }
}
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: org.apache.xmlgraphics/batik-dom

namespaces.push();
String version = null;
for (int i = 0; i < len; i++) {
    if (ns.length() == 0)
      ns = null;
    namespaces.put("", ns);
  } else if (aname.charAt(5) == ':') {
    String ns = attributes.getValue(i);
      ns = null;
    namespaces.put(aname.substring(6), ns);
  ? ""
  : rawName.substring(0, idx);
String nsURI = namespaces.get(nsp);
if (currentNode == null) {
  implementation = getDOMImplementation(version);
    nsURI = (idx == -1)
      ? null
      : namespaces.get(aname.substring(0, idx));
    e.setAttributeNS(nsURI, aname, attributes.getValue(i));
origin: org.apache.cocoon/cocoon-batik-impl

/**
 * Receive notification of the beginning of a document.
 *
 * @exception SAXException If this method was not called appropriately.
 */
public void startDocument() throws SAXException {
  try {
    // Create SVG Document
    String namespaceURI = SVGDOMImplementation.SVG_NAMESPACE_URI;
    super.document = implementation.createDocument(namespaceURI, "svg", null);
    super.startDocument();
    // Add svg, and SVG_NAMESPACE to SAXDocumentFactory namespace handling.
    // This ties 'svg' prefix used above to the svg namespace uri.
    namespaces.put("svg", SVGDOMImplementation.SVG_NAMESPACE_URI);
  } catch (SAXException se) {
    throw se;
  } catch (Exception ex){
    if (getLogger().isDebugEnabled()) {
      getLogger().debug("Got exception in startDocument, rethrowing", ex);
    }
    throw new SAXException("Exception in startDocument", ex);
  }
}
origin: apache/batik

  ? ""
  : lname.substring(0, idx);
nsURI = namespaces.get(nsp);
if (idx != -1 && idx != lname.length()-1) {
  lname = lname.substring(idx+1);
origin: fr.avianey.apache-xmlgraphics/batik

namespaces.push();
String version = null;
for (int i = 0; i < len; i++) {
    if (ns.length() == 0)
      ns = null;
    namespaces.put("", ns);
  } else if (aname.charAt(5) == ':') {
    String ns = attributes.getValue(i);
      ns = null;
    namespaces.put(aname.substring(6), ns);
  ? ""
  : rawName.substring(0, idx);
String nsURI = namespaces.get(nsp);
if (currentNode == null) {
  implementation = getDOMImplementation(version);
    nsURI = (idx == -1)
      ? null
      : namespaces.get(aname.substring(0, idx));
    e.setAttributeNS(nsURI, aname, attributes.getValue(i));
origin: fr.avianey.apache-xmlgraphics/batik

  ? ""
  : lname.substring(0, idx);
nsURI = namespaces.get(nsp);
if (idx != -1 && idx != lname.length()-1) {
  lname = lname.substring(idx+1);
origin: apache/batik

namespaces.push();
String version = null;
for (int i = 0; i < len; i++) {
    if (ns.length() == 0)
      ns = null;
    namespaces.put("", ns);
  } else if (aname.charAt(5) == ':') {
    String ns = attributes.getValue(i);
      ns = null;
    namespaces.put(aname.substring(6), ns);
  ? ""
  : rawName.substring(0, idx);
String nsURI = namespaces.get(nsp);
if (currentNode == null) {
  implementation = getDOMImplementation(version);
    nsURI = (idx == -1)
      ? null
      : namespaces.get(aname.substring(0, idx));
    e.setAttributeNS(nsURI, aname, attributes.getValue(i));
origin: apache/batik

/**
 * <b>SAX</b>: Implements {@link
 * org.xml.sax.ContentHandler#startDocument()}.
 */
public void startDocument() throws SAXException {
  preInfo    = new LinkedList();
  namespaces = new HashTableStack();
  namespaces.put("xml", XMLSupport.XML_NAMESPACE_URI);
  namespaces.put("xmlns", XMLSupport.XMLNS_NAMESPACE_URI);
  namespaces.put("", null);
  inDTD        = false;
  inCDATA      = false;
  inProlog     = true;
  currentNode  = null;
  document     = null;
  doctype      = null;
  isStandalone = false;
  xmlVersion   = XMLConstants.XML_VERSION_10;
  stringBuffer.setLength(0);
  stringContent = false;
  if (createDocumentDescriptor) {
    documentDescriptor = new DocumentDescriptor();
  } else {
    documentDescriptor = null;
  }
}
origin: apache/batik

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

  ? ""
  : lname.substring(0, idx);
nsURI = namespaces.get(nsp);
if (idx != -1 && idx != lname.length()-1) {
  lname = lname.substring(idx+1);
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>SAX</b>: Implements {@link
 * org.xml.sax.ContentHandler#startDocument()}.
 */
public void startDocument() throws SAXException {
  preInfo    = new LinkedList();
  namespaces = new HashTableStack();
  namespaces.put("xml", XMLSupport.XML_NAMESPACE_URI);
  namespaces.put("xmlns", XMLSupport.XMLNS_NAMESPACE_URI);
  namespaces.put("", null);
  inDTD        = false;
  inCDATA      = false;
  inProlog     = true;
  currentNode  = null;
  document     = null;
  doctype      = null;
  isStandalone = false;
  xmlVersion   = XMLConstants.XML_VERSION_10;
  stringBuffer.setLength(0);
  stringContent = false;
  if (createDocumentDescriptor) {
    documentDescriptor = new DocumentDescriptor();
  } else {
    documentDescriptor = null;
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <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();
}
org.apache.batik.dom.utilHashTableStack

Javadoc

This class represents a stack of HashTable objects.

Most used methods

  • put
    Creates a mapping in the table on the top of the stack.
  • <init>
    Creates a new HashTableStack object.
  • get
    Gets an item in the table on the top of the stack.
  • pop
    Removes the table on the top of the stack.
  • push
    Pushes a new table on the stack.

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • onCreateOptionsMenu (Activity)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now