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

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

Best Java code snippets using org.milyn.delivery.SmooksContentHandler.getExecutionContext (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

public static void addDynamicVisitor(SAXVisitor visitor, ExecutionContext executionContext) {
  SmooksContentHandler contentHandler = SmooksContentHandler.getHandler(executionContext);
  SmooksContentHandler nestedContentHandler = contentHandler.getNestedContentHandler();
  if(nestedContentHandler == null) {
    DynamicSAXElementVisitorList list = getList(executionContext);
    if(visitor instanceof SAXVisitBefore) {
      list.visitBefores.add((SAXVisitBefore) visitor);
    }
    if(visitor instanceof SAXVisitChildren) {
      list.childVisitors.add((SAXVisitChildren) visitor);
    }
    if(visitor instanceof SAXVisitAfter) {
      list.visitAfters.add((SAXVisitAfter) visitor);
    }
  } else {
    addDynamicVisitor(visitor, nestedContentHandler.getExecutionContext());
  }
}
origin: org.virtuslab/milyn-smooks-core

public static void addDynamicVisitor(SAXVisitor visitor, ExecutionContext executionContext) {
  SmooksContentHandler contentHandler = SmooksContentHandler.getHandler(executionContext);
  SmooksContentHandler nestedContentHandler = contentHandler.getNestedContentHandler();
  if(nestedContentHandler == null) {
    DynamicSAXElementVisitorList list = getList(executionContext);
    if(visitor instanceof SAXVisitBefore) {
      list.visitBefores.add((SAXVisitBefore) visitor);
    }
    if(visitor instanceof SAXVisitChildren) {
      list.childVisitors.add((SAXVisitChildren) visitor);
    }
    if(visitor instanceof SAXVisitAfter) {
      list.visitAfters.add((SAXVisitAfter) visitor);
    }
  } else {
    addDynamicVisitor(visitor, nestedContentHandler.getExecutionContext());
  }
}
origin: org.milyn/milyn-smooks-all

public static void addDynamicVisitor(SAXVisitor visitor, ExecutionContext executionContext) {
  SmooksContentHandler contentHandler = SmooksContentHandler.getHandler(executionContext);
  SmooksContentHandler nestedContentHandler = contentHandler.getNestedContentHandler();
  if(nestedContentHandler == null) {
    DynamicSAXElementVisitorList list = getList(executionContext);
    if(visitor instanceof SAXVisitBefore) {
      list.visitBefores.add((SAXVisitBefore) visitor);
    }
    if(visitor instanceof SAXVisitChildren) {
      list.childVisitors.add((SAXVisitChildren) visitor);
    }
    if(visitor instanceof SAXVisitAfter) {
      list.visitAfters.add((SAXVisitAfter) visitor);
    }
  } else {
    addDynamicVisitor(visitor, nestedContentHandler.getExecutionContext());
  }
}
origin: org.milyn/milyn-smooks-core

public static void addDynamicVisitor(SAXVisitor visitor, ExecutionContext executionContext) {
  SmooksContentHandler contentHandler = SmooksContentHandler.getHandler(executionContext);
  SmooksContentHandler nestedContentHandler = contentHandler.getNestedContentHandler();
  if(nestedContentHandler == null) {
    DynamicSAXElementVisitorList list = getList(executionContext);
    if(visitor instanceof SAXVisitBefore) {
      list.visitBefores.add((SAXVisitBefore) visitor);
    }
    if(visitor instanceof SAXVisitChildren) {
      list.childVisitors.add((SAXVisitChildren) visitor);
    }
    if(visitor instanceof SAXVisitAfter) {
      list.visitAfters.add((SAXVisitAfter) visitor);
    }
  } else {
    addDynamicVisitor(visitor, nestedContentHandler.getExecutionContext());
  }
}
org.milyn.deliverySmooksContentHandlergetExecutionContext

Popular methods of SmooksContentHandler

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JFrame (javax.swing)
  • JTextField (javax.swing)
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