Tabnine Logo
EDIConfigDigester.digestComponent
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: smooks/smooks

/**
 * Digests attributes and child elements of Field element.
 * @param node the Field element.
 * @param field the {@link org.milyn.edisax.model.internal.Field} 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 digestField(Node node, Field field, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForField(field, 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 + "component")) {
      Component component = new Component();
      field.getComponents().add(component);
      digestComponent(currentNode, component, namespacePrefix, field);
    }
  }
}
origin: org.virtuslab/milyn-edisax-parser

/**
 * Digests attributes and child elements of Field element.
 * @param node the Field element.
 * @param field the {@link org.milyn.edisax.model.internal.Field} 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 digestField(Node node, Field field, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForField(field, 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 + "component")) {
      Component component = new Component();
      field.getComponents().add(component);
      digestComponent(currentNode, component, namespacePrefix, field);
    }
  }
}
origin: org.milyn/milyn-smooks-all

/**
 * Digests attributes and child elements of Field element.
 * @param node the Field element.
 * @param field the {@link org.milyn.edisax.model.internal.Field} 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 digestField(Node node, Field field, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForField(field, 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 + "component")) {
      Component component = new Component();
      field.getComponents().add(component);
      digestComponent(currentNode, component, namespacePrefix, field);
    }
  }
}
origin: org.milyn/milyn-edisax-parser

/**
 * Digests attributes and child elements of Field element.
 * @param node the Field element.
 * @param field the {@link org.milyn.edisax.model.internal.Field} 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 digestField(Node node, Field field, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForField(field, 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 + "component")) {
      Component component = new Component();
      field.getComponents().add(component);
      digestComponent(currentNode, component, namespacePrefix, field);
    }
  }
}
org.milyn.edisax.modelEDIConfigDigesterdigestComponent

Javadoc

Digests attributes and child elements of Component element.

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
  • 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.
  • digestXSDValidatedConfig
    Digest child elements of edimap.
  • digestSegments,
  • digestXSDValidatedConfig,
  • getAttributeValue,
  • getNodeValue,
  • getNodeValueAsBoolean,
  • getNodeValueAsInteger,
  • retrieveNamespace,
  • setValuesForComponent,
  • setValuesForField

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • CodeWhisperer alternatives
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