Tabnine Logo
org.milyn.delivery
Code IndexAdd Tabnine to your IDE (free)

How to use org.milyn.delivery

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

origin: stackoverflow.com

if(item.equals(f)) {
origin: smooks/smooks

/**
 * Extract the ContentHandler instances from the SmooksResourceConfiguration table and add them to
 * their respective tables.
 */
private void extractContentHandlers() {
  ContentHandlerExtractionStrategy cduStrategy = new ContentHandlerExtractionStrategy(applicationContext);
  SmooksResourceConfigurationTableIterator tableIterator = new SmooksResourceConfigurationTableIterator(cduStrategy);
  tableIterator.iterate();
}
origin: org.milyn/milyn-smooks-all

public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
  // Push a new DOMCreator onto the DOMCreator stack and install it in the
  // Dynamic Vistor list in the SAX handler...
  pushCreator(new DOMCreator(), executionContext);
}
origin: org.milyn/milyn-smooks-core

/**
 * Add a delivery unit mapping for the specified selector.
 *
 * @param elementName The target element for the content handler.
 * @param resourceConfig Resource configuration.
 * @param contentHandler The delivery unit.
 */
public void addMapping(String elementName, SmooksResourceConfiguration resourceConfig, T contentHandler) {
  addMapping(elementName, new ContentHandlerConfigMap<T>(contentHandler, resourceConfig));
}
origin: smooks/smooks

/**
 * Private (hidden) constructor.
 * @param profileSet Profile set.
 * @param applicationContext Container context.
 */
private ContentDeliveryConfigBuilder(ProfileSet profileSet, ApplicationContext applicationContext) {
  this.profileSet = profileSet;
  this.applicationContext = applicationContext;
  visitorConfig = new VisitorConfigMap(applicationContext);
  visitorConfig.setConfigBuilderEvents(configBuilderEvents);
}
origin: smooks/smooks

public void sort() throws SmooksConfigurationException {
  visitBefores.sort(Sorter.SortOrder.PRODUCERS_FIRST);
  childVisitors.sort(Sorter.SortOrder.PRODUCERS_FIRST);
  visitAfters.sort(Sorter.SortOrder.CONSUMERS_FIRST);
}
origin: smooks/smooks

/**
 * Add a visitor instances to <code>this</code> Smooks instance
 * via a {@link VisitorAppender}.
 *
 * @param appender The visitor appender.
 */
public void addVisitor(VisitorAppender appender) {
  appender.addVisitors(visitorConfigMap);
}
origin: smooks/smooks

public void executeHandlerInit(ExecutionContext executionContext) {
  for(ExecutionLifecycleInitializable handler : execInitializableHandlers) {
    handler.executeExecutionLifecycleInitialize(executionContext);
  }
}
origin: smooks/smooks

  private int score(DependencySpec spec) {
    int score = 0;
    if(spec.visitor.getContentHandler() instanceof Producer) {
      score += 2;
    }
    if(spec.visitor.getContentHandler() instanceof Consumer) {
      score -= 1;
    }
    return score;
  }
});
origin: smooks/smooks

public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
  // Pop the DOMCreator off the DOMCreator stack and uninstall it from the
  // Dynamic Vistor list in the SAX handler...
  popCreator(executionContext);
}
origin: org.milyn/milyn-smooks-all

/**
 * Extract the ContentHandler instances from the SmooksResourceConfiguration table and add them to
 * their respective tables.
 */
private void extractContentHandlers() {
  ContentHandlerExtractionStrategy cduStrategy = new ContentHandlerExtractionStrategy(applicationContext);
  SmooksResourceConfigurationTableIterator tableIterator = new SmooksResourceConfigurationTableIterator(cduStrategy);
  tableIterator.iterate();
}
origin: org.virtuslab/milyn-smooks-core

public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
  // Push a new DOMCreator onto the DOMCreator stack and install it in the
  // Dynamic Vistor list in the SAX handler...
  pushCreator(new DOMCreator(), executionContext);
}
origin: smooks/smooks

/**
 * Add a delivery unit mapping for the specified selector.
 *
 * @param elementName The target element for the content handler.
 * @param resourceConfig Resource configuration.
 * @param contentHandler The delivery unit.
 */
public void addMapping(String elementName, SmooksResourceConfiguration resourceConfig, T contentHandler) {
  addMapping(elementName, new ContentHandlerConfigMap<T>(contentHandler, resourceConfig));
}
origin: smooks/smooks

public void sort() throws SmooksConfigurationException {
  assemblyVisitBefores.sort(Sorter.SortOrder.PRODUCERS_FIRST);
  assemblyVisitAfters.sort(Sorter.SortOrder.CONSUMERS_FIRST);
  processingVisitBefores.sort(Sorter.SortOrder.PRODUCERS_FIRST);
  processingVisitAfters.sort(Sorter.SortOrder.CONSUMERS_FIRST);
}
origin: org.virtuslab/milyn-smooks-core

/**
 * Extract the ContentHandler instances from the SmooksResourceConfiguration table and add them to
 * their respective tables.
 */
private void extractContentHandlers() {
  ContentHandlerExtractionStrategy cduStrategy = new ContentHandlerExtractionStrategy(applicationContext);
  SmooksResourceConfigurationTableIterator tableIterator = new SmooksResourceConfigurationTableIterator(cduStrategy);
  tableIterator.iterate();
}
origin: smooks/smooks

public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
  // Push a new DOMCreator onto the DOMCreator stack and install it in the
  // Dynamic Vistor list in the SAX handler...
  pushCreator(new DOMCreator(), executionContext);
}
origin: org.milyn/milyn-smooks-all

/**
 * Add a delivery unit mapping for the specified selector.
 *
 * @param elementName The target element for the content handler.
 * @param resourceConfig Resource configuration.
 * @param contentHandler The delivery unit.
 */
public void addMapping(String elementName, SmooksResourceConfiguration resourceConfig, T contentHandler) {
  addMapping(elementName, new ContentHandlerConfigMap<T>(contentHandler, resourceConfig));
}
origin: org.milyn/milyn-smooks-core

/**
 * Extract the ContentHandler instances from the SmooksResourceConfiguration table and add them to
 * their respective tables.
 */
private void extractContentHandlers() {
  ContentHandlerExtractionStrategy cduStrategy = new ContentHandlerExtractionStrategy(applicationContext);
  SmooksResourceConfigurationTableIterator tableIterator = new SmooksResourceConfigurationTableIterator(cduStrategy);
  tableIterator.iterate();
}
origin: org.milyn/milyn-smooks-core

public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
  // Push a new DOMCreator onto the DOMCreator stack and install it in the
  // Dynamic Vistor list in the SAX handler...
  pushCreator(new DOMCreator(), executionContext);
}
origin: org.virtuslab/milyn-smooks-core

/**
 * Add a delivery unit mapping for the specified selector.
 *
 * @param elementName The target element for the content handler.
 * @param resourceConfig Resource configuration.
 * @param contentHandler The delivery unit.
 */
public void addMapping(String elementName, SmooksResourceConfiguration resourceConfig, T contentHandler) {
  addMapping(elementName, new ContentHandlerConfigMap<T>(contentHandler, resourceConfig));
}
org.milyn.delivery

Most used classes

  • Initialize
  • Fragment
    Fragment. Wrapper class for a DOM or SAX Fragment.
  • VisitorConfigMap
    Visitor Configuration Map. A Map of configured visitors. Used by the org.milyn.delivery.ContentDeliv
  • SAXElement
    Element details as described by the SAX even model API. org.milyn.delivery.sax.SAXVisitor implementa
  • Resource
  • ContentDeliveryConfig,
  • Filter,
  • VisitAfterIf,
  • VisitBeforeIf,
  • Phase,
  • AbstractParser,
  • VisitorAppender,
  • Uninitialize,
  • ContextObjectSerializationUnit,
  • DefaultSerializationUnit,
  • DefaultSAXElementSerializer,
  • DynamicSAXElementVisitorList,
  • SAXElementWriterUtil,
  • AbstractContentDeliveryConfig
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