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

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

Best Java code snippets using org.milyn.edisax.model.EDIConfigDigester.setValuesForField (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 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.modelEDIConfigDigestersetValuesForField

Javadoc

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

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,
  • setValuesForComponent

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Notification (javax.management)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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