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

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

Best Java code snippets using org.milyn.edisax.model.EDIConfigDigester.getNodeValue (Showing top 8 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

private boolean digestSegmentGroup(Node currentNode, List<SegmentGroup> segmentGroupList, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segmentGroup")) {
    SegmentGroup segment = new SegmentGroup();
    segment.setDocumentation(getNodeValue(currentNode, namespacePrefix + "documentation"));
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  } else if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segment")) {
    Segment segment = new Segment();
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  }
  return false;
}
origin: org.milyn/milyn-smooks-all

private boolean digestSegmentGroup(Node currentNode, List<SegmentGroup> segmentGroupList, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segmentGroup")) {
    SegmentGroup segment = new SegmentGroup();
    segment.setDocumentation(getNodeValue(currentNode, namespacePrefix + "documentation"));
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  } else if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segment")) {
    Segment segment = new Segment();
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  }
  return false;
}
origin: org.milyn/milyn-edisax-parser

private boolean digestSegmentGroup(Node currentNode, List<SegmentGroup> segmentGroupList, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segmentGroup")) {
    SegmentGroup segment = new SegmentGroup();
    segment.setDocumentation(getNodeValue(currentNode, namespacePrefix + "documentation"));
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  } else if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segment")) {
    Segment segment = new Segment();
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  }
  return false;
}
origin: org.virtuslab/milyn-edisax-parser

private boolean digestSegmentGroup(Node currentNode, List<SegmentGroup> segmentGroupList, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segmentGroup")) {
    SegmentGroup segment = new SegmentGroup();
    segment.setDocumentation(getNodeValue(currentNode, namespacePrefix + "documentation"));
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  } else if (currentNode.getNodeName().equalsIgnoreCase(namespacePrefix + "segment")) {
    Segment segment = new Segment();
    segmentGroupList.add(segment);
    digestSegment(currentNode, segment, namespacePrefix, parent);
    return true;
  }
  return false;
}
origin: smooks/smooks

/**
 * Set values in {@link org.milyn.edisax.model.internal.MappingNode}.
 * @param node the {@link org.milyn.edisax.model.internal.MappingNode} to populate.
 * @param mappingNode the MappingNode element.
 */
private void setValuesForMappingNode(Node node, MappingNode mappingNode, String namespacePrefix, MappingNode parent) {
  mappingNode.setName(getAttributeValue(node, "name"));
  mappingNode.setXmltag(getAttributeValue(node, "xmltag"));
  mappingNode.setNodeTypeRef(getAttributeValue(node, "nodeTypeRef"));
  mappingNode.setDocumentation(getNodeValue(node, namespacePrefix + "documentation"));
  mappingNode.setParent(parent);
  if (parent != null) {
    mappingNode.setNamespace(parent.getNamespace());
  }
}
origin: org.milyn/milyn-edisax-parser

/**
 * Set values in {@link org.milyn.edisax.model.internal.MappingNode}.
 * @param node the {@link org.milyn.edisax.model.internal.MappingNode} to populate.
 * @param mappingNode the MappingNode element.
 */
private void setValuesForMappingNode(Node node, MappingNode mappingNode, String namespacePrefix, MappingNode parent) {
  mappingNode.setName(getAttributeValue(node, "name"));
  mappingNode.setXmltag(getAttributeValue(node, "xmltag"));
  mappingNode.setNodeTypeRef(getAttributeValue(node, "nodeTypeRef"));
  mappingNode.setDocumentation(getNodeValue(node, namespacePrefix + "documentation"));
  mappingNode.setParent(parent);
  if (parent != null) {
    mappingNode.setNamespace(parent.getNamespace());
  }
}
origin: org.virtuslab/milyn-edisax-parser

/**
 * Set values in {@link org.milyn.edisax.model.internal.MappingNode}.
 * @param node the {@link org.milyn.edisax.model.internal.MappingNode} to populate.
 * @param mappingNode the MappingNode element.
 */
private void setValuesForMappingNode(Node node, MappingNode mappingNode, String namespacePrefix, MappingNode parent) {
  mappingNode.setName(getAttributeValue(node, "name"));
  mappingNode.setXmltag(getAttributeValue(node, "xmltag"));
  mappingNode.setNodeTypeRef(getAttributeValue(node, "nodeTypeRef"));
  mappingNode.setDocumentation(getNodeValue(node, namespacePrefix + "documentation"));
  mappingNode.setParent(parent);
  if (parent != null) {
    mappingNode.setNamespace(parent.getNamespace());
  }
}
origin: org.milyn/milyn-smooks-all

/**
 * Set values in {@link org.milyn.edisax.model.internal.MappingNode}.
 * @param node the {@link org.milyn.edisax.model.internal.MappingNode} to populate.
 * @param mappingNode the MappingNode element.
 */
private void setValuesForMappingNode(Node node, MappingNode mappingNode, String namespacePrefix, MappingNode parent) {
  mappingNode.setName(getAttributeValue(node, "name"));
  mappingNode.setXmltag(getAttributeValue(node, "xmltag"));
  mappingNode.setNodeTypeRef(getAttributeValue(node, "nodeTypeRef"));
  mappingNode.setDocumentation(getNodeValue(node, namespacePrefix + "documentation"));
  mappingNode.setParent(parent);
  if (parent != null) {
    mappingNode.setNamespace(parent.getNamespace());
  }
}
org.milyn.edisax.modelEDIConfigDigestergetNodeValue

Javadoc

Gets attribute value from node if it exists. Otherwise returns null.

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,
  • getNodeValueAsBoolean,
  • getNodeValueAsInteger,
  • retrieveNamespace,
  • setValuesForComponent,
  • setValuesForField

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Socket (java.net)
    Provides a client-side TCP socket.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
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