congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TreeWalker
Code IndexAdd Tabnine to your IDE (free)

How to use
TreeWalker
in
org.apache.xml.serializer

Best Java code snippets using org.apache.xml.serializer.TreeWalker (Showing top 20 results out of 315)

origin: robovm/robovm

/**
 * Serializes the DOM node. Throws an exception only if an I/O
 * exception occured while serializing.
 *
 * @param node Node to serialize.
 * @throws IOException An I/O exception occured while serializing
 */
public void serialize(Node node) throws IOException
{
  try
  {
    TreeWalker walker =
      new TreeWalker(this);
    walker.traverse(node);
  }
  catch (org.xml.sax.SAXException se)
  {
    throw new WrappedRuntimeException(se);
  }
}
origin: robovm/robovm

dispatachChars(node);
 dispatachChars(node);
 m_contentHandler.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
 dispatachChars(node);
origin: robovm/robovm

startNode(pos);
 endNode(pos);
    endNode(pos);
origin: robovm/robovm

walker = new org.apache.xml.serializer.TreeWalker(this, m_systemID);
walker.traverse(dNode);
origin: robovm/robovm

startNode(pos);
 endNode(pos);
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

dispatachChars(node);
 dispatachChars(node);
 m_contentHandler.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
 dispatachChars(node);
origin: xalan/xalan

walker = new org.apache.xml.serializer.TreeWalker(this, m_systemID);
walker.traverse(dNode);
origin: MobiVM/robovm

startNode(pos);
 endNode(pos);
    endNode(pos);
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

dispatachChars(node);
 dispatachChars(node);
 m_contentHandler.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
 dispatachChars(node);
origin: org.geoserver.csw/csw-core

private void dumpAsXML(Document document) {
  try {
    TreeWalker tw = new TreeWalker(contentHandler);
    tw.traverse(document);
  } catch (Exception e) {
    throw new ServiceException(
        "Failed to re-encode the original request in the Acknowledgement response");
  }
}
origin: com.mobidevelop.robovm/robovm-rt

startNode(pos);
 endNode(pos);
    endNode(pos);
origin: ibinti/bugvm

dispatachChars(node);
 dispatachChars(node);
 m_contentHandler.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
 dispatachChars(node);
origin: org.geoserver.csw/gs-csw-core

private void dumpAsXML(Document document) {
  try {
    TreeWalker tw = new TreeWalker(contentHandler);
    tw.traverse(document);
  } catch (Exception e) {
    throw new ServiceException(
        "Failed to re-encode the original request in the Acknowledgement response");
  }
}
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

startNode(pos);
 endNode(pos);
    endNode(pos);
origin: MobiVM/robovm

dispatachChars(node);
 dispatachChars(node);
 m_contentHandler.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
 dispatachChars(node);
origin: MobiVM/robovm

/**
 * Serializes the DOM node. Throws an exception only if an I/O
 * exception occured while serializing.
 *
 * @param node Node to serialize.
 * @throws IOException An I/O exception occured while serializing
 */
public void serialize(Node node) throws IOException
{
  try
  {
    TreeWalker walker =
      new TreeWalker(this);
    walker.traverse(node);
  }
  catch (org.xml.sax.SAXException se)
  {
    throw new WrappedRuntimeException(se);
  }
}
origin: ibinti/bugvm

startNode(pos);
 endNode(pos);
    endNode(pos);
origin: xalan/serializer

dispatachChars(node);
 dispatachChars(node);
 m_contentHandler.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
 dispatachChars(node);
origin: ibinti/bugvm

/**
 * Serializes the DOM node. Throws an exception only if an I/O
 * exception occured while serializing.
 *
 * @param node Node to serialize.
 * @throws IOException An I/O exception occured while serializing
 */
public void serialize(Node node) throws IOException
{
  try
  {
    TreeWalker walker =
      new TreeWalker(this);
    walker.traverse(node);
  }
  catch (org.xml.sax.SAXException se)
  {
    throw new WrappedRuntimeException(se);
  }
}
origin: xalan/serializer

startNode(pos);
 endNode(pos);
    endNode(pos);
org.apache.xml.serializerTreeWalker

Javadoc

This class does a pre-order walk of the DOM tree, calling a ContentHandler interface as it goes. This class is a copy of the one in org.apache.xml.utils. It exists to cut the serializers dependancy on that package.

Most used methods

  • <init>
    Constructor.
  • traverse
    Perform a pre-order traversal non-recursive style. Note that TreeWalker assumes that the subtree is
  • dispatachChars
    Optimized dispatch of characters.
  • endNode
    End processing of given node
  • startNode
    Start processing given node

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Permission (java.security)
    Legacy security code; do not use.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JCheckBox (javax.swing)
  • Top Vim plugins
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