Codota Logo
EDIConfigDigester.setValuesForComponent
Code IndexAdd Codota to your IDE (free)

How to use
setValuesForComponent
method
in
org.milyn.edisax.model.EDIConfigDigester

Best Java code snippets using org.milyn.edisax.model.EDIConfigDigester.setValuesForComponent (Showing top 4 results out of 315)

  • Common ways to obtain EDIConfigDigester
private void myMethod () {
EDIConfigDigester e =
  • Codota IconURI uRI;URI resourceURI;new EDIConfigDigester(uRI, URIResourceLocator.extractBaseURI(resourceURI))
  • Codota IconURI modelURI;URI importBaseURI;new EDIConfigDigester(modelURI, importBaseURI)
  • Smart code suggestions by Codota
}
origin: smooks/smooks

/**
 * Digests attributes and child elements of Component element.
 * @param node the Component element.
 * @param component the {@link org.milyn.edisax.model.internal.Component} to populate.
 * @param namespacePrefix the prefix used to name elements in xml.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void digestComponent(Node node, Component component, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForComponent(component, node, namespacePrefix, parent);
  NodeList nodes = node.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node currentNode = nodes.item(i);
    if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "sub-component")) {
      SubComponent subComponent = new SubComponent();
      component.getSubComponents().add(subComponent);
      setValuesForSubComponent(currentNode, subComponent, namespacePrefix, component);
    }
  }
}
origin: org.milyn/milyn-edisax-parser

/**
 * Digests attributes and child elements of Component element.
 * @param node the Component element.
 * @param component the {@link org.milyn.edisax.model.internal.Component} to populate.
 * @param namespacePrefix the prefix used to name elements in xml.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void digestComponent(Node node, Component component, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForComponent(component, node, namespacePrefix, parent);
  NodeList nodes = node.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node currentNode = nodes.item(i);
    if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "sub-component")) {
      SubComponent subComponent = new SubComponent();
      component.getSubComponents().add(subComponent);
      setValuesForSubComponent(currentNode, subComponent, namespacePrefix, component);
    }
  }
}
origin: org.milyn/milyn-smooks-all

/**
 * Digests attributes and child elements of Component element.
 * @param node the Component element.
 * @param component the {@link org.milyn.edisax.model.internal.Component} to populate.
 * @param namespacePrefix the prefix used to name elements in xml.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void digestComponent(Node node, Component component, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForComponent(component, node, namespacePrefix, parent);
  NodeList nodes = node.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node currentNode = nodes.item(i);
    if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "sub-component")) {
      SubComponent subComponent = new SubComponent();
      component.getSubComponents().add(subComponent);
      setValuesForSubComponent(currentNode, subComponent, namespacePrefix, component);
    }
  }
}
origin: org.virtuslab/milyn-edisax-parser

/**
 * Digests attributes and child elements of Component element.
 * @param node the Component element.
 * @param component the {@link org.milyn.edisax.model.internal.Component} to populate.
 * @param namespacePrefix the prefix used to name elements in xml.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void digestComponent(Node node, Component component, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForComponent(component, node, namespacePrefix, parent);
  NodeList nodes = node.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node currentNode = nodes.item(i);
    if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "sub-component")) {
      SubComponent subComponent = new SubComponent();
      component.getSubComponents().add(subComponent);
      setValuesForSubComponent(currentNode, subComponent, namespacePrefix, component);
    }
  }
}
org.milyn.edisax.modelEDIConfigDigestersetValuesForComponent

Javadoc

Set values in org.milyn.edisax.model.internal.Component.

Popular methods of EDIConfigDigester

  • <init>
    Public constructor.
  • assertValidXSD
    Assert that schema used for validation are valid, i.e. the schema is either edi-message-mapping-1.0
  • digestComponent
    Digests attributes and child elements of Component element.
  • digestDelimiters
    Digest attributes of Delimiter element and populate Delimiter.
  • digestDescription
    Digest attributes of Description element and populate Description.
  • digestEDIConfig
  • digestField
    Digests attributes and child elements of Field element.
  • digestImport
    Digest attributes of Import element and populate Import.
  • digestParameters
    Digests parameters from parameters attribute and insertsthe parameters into the valueNode. If first
  • digestSegment
    Digests attributes and child elements of Segment element.
  • digestSegmentGroup
  • digestSegments
    Digest attributes and child elements of Segments element. Populates Segments.
  • digestSegmentGroup,
  • digestSegments,
  • digestXSDValidatedConfig,
  • getAttributeValue,
  • getNodeValue,
  • getNodeValueAsBoolean,
  • getNodeValueAsInteger,
  • retrieveNamespace,
  • setValuesForField

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
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ImageIO (javax.imageio)
  • Reference (javax.naming)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
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