Codota Logo
SmooksContentHandler.resetNestedContentHandler
Code IndexAdd Codota to your IDE (free)

How to use
resetNestedContentHandler
method
in
org.milyn.delivery.SmooksContentHandler

Best Java code snippets using org.milyn.delivery.SmooksContentHandler.resetNestedContentHandler (Showing top 4 results out of 315)

  • Common ways to obtain SmooksContentHandler
private void myMethod () {
SmooksContentHandler s =
  • Codota IconExecutionContext executionContext;SmooksContentHandler.getHandler(executionContext)
  • Codota IconExecutionContext executionContext;(SmooksContentHandler) executionContext.getAttribute(DefaultHandler2.class)
  • Smart code suggestions by Codota
}
origin: smooks/smooks

@Override
public final void endElement(String uri, String localName, String qName) throws SAXException {
  try {
    endEvent.set(uri, localName, qName);
    lastEvent = endEvent;
    endElement(endEvent);
    depth--;
  } finally {
    if(!endReplayed && depth == 0 && parentContentHandler != null) {
      endReplayed = true;
      // Replay the last sax event from this handler onto the parent handler ...
      replay(parentContentHandler);
      // Reinstate the parent handler on the XMLReader so all events are
      // forwarded to it again ...
      XMLReader xmlReader = AbstractParser.getXMLReader(executionContext);
      xmlReader.setContentHandler(parentContentHandler);
      // Remove the nested handler (this handler) form the parent handler...
      parentContentHandler.resetNestedContentHandler();
    }
  }
  getNamespaceDeclarationStack().popNamespaces();
}
origin: org.milyn/milyn-smooks-core

@Override
public final void endElement(String uri, String localName, String qName) throws SAXException {
  try {
    endEvent.set(uri, localName, qName);
    lastEvent = endEvent;
    endElement(endEvent);
    depth--;
  } finally {
    if(!endReplayed && depth == 0 && parentContentHandler != null) {
      endReplayed = true;
      // Replay the last sax event from this handler onto the parent handler ...
      replay(parentContentHandler);
      // Reinstate the parent handler on the XMLReader so all events are
      // forwarded to it again ...
      XMLReader xmlReader = AbstractParser.getXMLReader(executionContext);
      xmlReader.setContentHandler(parentContentHandler);
      // Remove the nested handler (this handler) form the parent handler...
      parentContentHandler.resetNestedContentHandler();
    }
  }
  getNamespaceDeclarationStack().popNamespaces();
}
origin: org.milyn/milyn-smooks-all

@Override
public final void endElement(String uri, String localName, String qName) throws SAXException {
  try {
    endEvent.set(uri, localName, qName);
    lastEvent = endEvent;
    endElement(endEvent);
    depth--;
  } finally {
    if(!endReplayed && depth == 0 && parentContentHandler != null) {
      endReplayed = true;
      // Replay the last sax event from this handler onto the parent handler ...
      replay(parentContentHandler);
      // Reinstate the parent handler on the XMLReader so all events are
      // forwarded to it again ...
      XMLReader xmlReader = AbstractParser.getXMLReader(executionContext);
      xmlReader.setContentHandler(parentContentHandler);
      // Remove the nested handler (this handler) form the parent handler...
      parentContentHandler.resetNestedContentHandler();
    }
  }
  getNamespaceDeclarationStack().popNamespaces();
}
origin: org.virtuslab/milyn-smooks-core

@Override
public final void endElement(String uri, String localName, String qName) throws SAXException {
  try {
    endEvent.set(uri, localName, qName);
    lastEvent = endEvent;
    endElement(endEvent);
    depth--;
  } finally {
    if(!endReplayed && depth == 0 && parentContentHandler != null) {
      endReplayed = true;
      // Replay the last sax event from this handler onto the parent handler ...
      replay(parentContentHandler);
      // Reinstate the parent handler on the XMLReader so all events are
      // forwarded to it again ...
      XMLReader xmlReader = AbstractParser.getXMLReader(executionContext);
      xmlReader.setContentHandler(parentContentHandler);
      // Remove the nested handler (this handler) form the parent handler...
      parentContentHandler.resetNestedContentHandler();
    }
  }
  getNamespaceDeclarationStack().popNamespaces();
}
org.milyn.deliverySmooksContentHandlerresetNestedContentHandler

Popular methods of SmooksContentHandler

  • attachHandler
  • endElement
  • getExecutionContext
  • getHandler
  • getNamespaceDeclarationStack
  • getNestedContentHandler
  • replay
  • startDocument
  • startElement

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • String (java.lang)
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JCheckBox (javax.swing)
  • JFrame (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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