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

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

Best Java code snippets using org.milyn.edisax.model.EDIConfigDigester.retrieveNamespace (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: org.milyn/milyn-smooks-all

/**
 * Digest child elements of edimap.
 * @param configDoc the Edimap element.
 * @param edimap the {@link org.milyn.edisax.model.internal.Edimap} to populate.
 * @param schemaName the schema uri.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when unable to retrieve namespace in configuration.
 */
private void digestXSDValidatedConfig(Document configDoc, Edimap edimap, String schemaName) throws EDIConfigurationException {
  // Check the namespace attribute
  Element documentElement = configDoc.getDocumentElement();
  //Retrieve the namespace for the schema.
  String namespacePrefix = retrieveNamespace(documentElement, schemaName);
  NodeList nodes = documentElement.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node node = nodes.item(i);
    if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "import")) {
      digestImport(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "description")) {
      digestDescription(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "delimiters")) {
      digestDelimiters(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "segments")) {
      digestSegments(node, edimap, namespacePrefix);
    }
  }
}
origin: smooks/smooks

/**
 * Digest child elements of edimap.
 * @param configDoc the Edimap element.
 * @param edimap the {@link org.milyn.edisax.model.internal.Edimap} to populate.
 * @param schemaName the schema uri.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when unable to retrieve namespace in configuration.
 */
private void digestXSDValidatedConfig(Document configDoc, Edimap edimap, String schemaName) throws EDIConfigurationException {
  // Check the namespace attribute
  Element documentElement = configDoc.getDocumentElement();
  //Retrieve the namespace for the schema.
  String namespacePrefix = retrieveNamespace(documentElement, schemaName);
  NodeList nodes = documentElement.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node node = nodes.item(i);
    if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "import")) {
      digestImport(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "description")) {
      digestDescription(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "delimiters")) {
      digestDelimiters(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "segments")) {
      digestSegments(node, edimap, namespacePrefix);
    }
  }
}
origin: org.virtuslab/milyn-edisax-parser

/**
 * Digest child elements of edimap.
 * @param configDoc the Edimap element.
 * @param edimap the {@link org.milyn.edisax.model.internal.Edimap} to populate.
 * @param schemaName the schema uri.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when unable to retrieve namespace in configuration.
 */
private void digestXSDValidatedConfig(Document configDoc, Edimap edimap, String schemaName) throws EDIConfigurationException {
  // Check the namespace attribute
  Element documentElement = configDoc.getDocumentElement();
  //Retrieve the namespace for the schema.
  String namespacePrefix = retrieveNamespace(documentElement, schemaName);
  NodeList nodes = documentElement.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node node = nodes.item(i);
    if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "import")) {
      digestImport(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "description")) {
      digestDescription(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "delimiters")) {
      digestDelimiters(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "segments")) {
      digestSegments(node, edimap, namespacePrefix);
    }
  }
}
origin: org.milyn/milyn-edisax-parser

/**
 * Digest child elements of edimap.
 * @param configDoc the Edimap element.
 * @param edimap the {@link org.milyn.edisax.model.internal.Edimap} to populate.
 * @param schemaName the schema uri.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when unable to retrieve namespace in configuration.
 */
private void digestXSDValidatedConfig(Document configDoc, Edimap edimap, String schemaName) throws EDIConfigurationException {
  // Check the namespace attribute
  Element documentElement = configDoc.getDocumentElement();
  //Retrieve the namespace for the schema.
  String namespacePrefix = retrieveNamespace(documentElement, schemaName);
  NodeList nodes = documentElement.getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node node = nodes.item(i);
    if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "import")) {
      digestImport(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "description")) {
      digestDescription(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "delimiters")) {
      digestDelimiters(node, edimap);
    } else if (node.getNodeName().equalsIgnoreCase(namespacePrefix + "segments")) {
      digestSegments(node, edimap, namespacePrefix);
    }
  }
}
org.milyn.edisax.modelEDIConfigDigesterretrieveNamespace

Javadoc

Retrives the namespaceprefix from edimap element in edi-message-mapping.

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

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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