Tabnine Logo
EdifactModel$DependencyTree
Code IndexAdd Tabnine to your IDE (free)

How to use
EdifactModel$DependencyTree
in
org.milyn.edisax.model

Best Java code snippets using org.milyn.edisax.model.EdifactModel$DependencyTree (Showing top 12 results out of 315)

origin: org.virtuslab/milyn-edisax-parser

public List<T> getUniqueValues() {
  List<T> result = new ArrayList<T>();
  return getUniqueValuesForNode(root, result);
}
origin: org.milyn/milyn-edisax-parser

conflictNode = tree.add(parent, child);
if ( conflictNode != null ) {
  throw new EDIParseException(edimap, "Circular dependency encountered in edi-message-mapping with imported files [" + importUri + "] and [" + conflictNode.getValue() + "]");
origin: org.milyn/milyn-smooks-all

conflictNode = tree.add(parent, child);
if ( conflictNode != null ) {
  throw new EDIParseException(edimap, "Circular dependency encountered in edi-message-mapping with imported files [" + importUri + "] and [" + conflictNode.getValue() + "]");
origin: smooks/smooks

conflictNode = tree.add(parent, child);
if ( conflictNode != null ) {
  throw new EDIParseException(edimap, "Circular dependency encountered in edi-message-mapping with imported files [" + importUri + "] and [" + conflictNode.getValue() + "]");
origin: org.virtuslab/milyn-edisax-parser

conflictNode = tree.add(parent, child);
if ( conflictNode != null ) {
  throw new EDIParseException(edimap, "Circular dependency encountered in edi-message-mapping with imported files [" + importUri + "] and [" + conflictNode.getValue() + "]");
origin: org.virtuslab/milyn-edisax-parser

/**
 * Set the edifact edimap from the mapping model InputStream.
 * @throws org.milyn.edisax.EDIParseException is thrown when EdifactModel is unable to initialize edimap.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when edi-message-mapping contains multiple or no namespace declaration.
 * @throws java.io.IOException is thrown when error occurs when parsing edi-message-mapping.
 */
private synchronized void parseSequence() throws EDIConfigurationException, IOException, SAXException {
  if(edimap != null) {
    return;
  }
  //To prevent circular dependency the name/url of all imported urls are stored in a dependency tree.
  //If a name/url already exists in a parent node, we have a circular dependency.
  DependencyTree<String> tree = new DependencyTree<String>();
  EDIConfigDigester digester = new EDIConfigDigester(modelURI, importBaseURI);
  edimap = digester.digestEDIConfig(new StringReader(mappingConfig));
  description = edimap.getDescription();
  importFiles(tree.getRoot(), edimap, tree);
}
origin: org.milyn/milyn-smooks-all

/**
 * Set the edifact edimap from the mapping model InputStream.
 * @throws org.milyn.edisax.EDIParseException is thrown when EdifactModel is unable to initialize edimap.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when edi-message-mapping contains multiple or no namespace declaration.
 * @throws java.io.IOException is thrown when error occurs when parsing edi-message-mapping.
 */
private synchronized void parseSequence() throws EDIConfigurationException, IOException, SAXException {
  if(edimap != null) {
    return;
  }
  //To prevent circular dependency the name/url of all imported urls are stored in a dependency tree.
  //If a name/url already exists in a parent node, we have a circular dependency.
  DependencyTree<String> tree = new DependencyTree<String>();
  EDIConfigDigester digester = new EDIConfigDigester(modelURI, importBaseURI);
  edimap = digester.digestEDIConfig(new StringReader(mappingConfig));
  description = edimap.getDescription();
  importFiles(tree.getRoot(), edimap, tree);
}
origin: smooks/smooks

/**
 * Set the edifact edimap from the mapping model InputStream.
 * @throws org.milyn.edisax.EDIParseException is thrown when EdifactModel is unable to initialize edimap.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when edi-message-mapping contains multiple or no namespace declaration.
 * @throws java.io.IOException is thrown when error occurs when parsing edi-message-mapping.
 */
private synchronized void parseSequence() throws EDIConfigurationException, IOException, SAXException {
  if(edimap != null) {
    return;
  }
  //To prevent circular dependency the name/url of all imported urls are stored in a dependency tree.
  //If a name/url already exists in a parent node, we have a circular dependency.
  DependencyTree<String> tree = new DependencyTree<String>();
  EDIConfigDigester digester = new EDIConfigDigester(modelURI, importBaseURI);
  edimap = digester.digestEDIConfig(new StringReader(mappingConfig));
  description = edimap.getDescription();
  importFiles(tree.getRoot(), edimap, tree);
}
origin: org.milyn/milyn-edisax-parser

/**
 * Set the edifact edimap from the mapping model InputStream.
 * @throws org.milyn.edisax.EDIParseException is thrown when EdifactModel is unable to initialize edimap.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when edi-message-mapping contains multiple or no namespace declaration.
 * @throws java.io.IOException is thrown when error occurs when parsing edi-message-mapping.
 */
private synchronized void parseSequence() throws EDIConfigurationException, IOException, SAXException {
  if(edimap != null) {
    return;
  }
  //To prevent circular dependency the name/url of all imported urls are stored in a dependency tree.
  //If a name/url already exists in a parent node, we have a circular dependency.
  DependencyTree<String> tree = new DependencyTree<String>();
  EDIConfigDigester digester = new EDIConfigDigester(modelURI, importBaseURI);
  edimap = digester.digestEDIConfig(new StringReader(mappingConfig));
  description = edimap.getDescription();
  importFiles(tree.getRoot(), edimap, tree);
}
origin: org.milyn/milyn-smooks-all

public List<T> getUniqueValues() {
  List<T> result = new ArrayList<T>();
  return getUniqueValuesForNode(root, result);
}
origin: smooks/smooks

public List<T> getUniqueValues() {
  List<T> result = new ArrayList<T>();
  return getUniqueValuesForNode(root, result);
}
origin: org.milyn/milyn-edisax-parser

public List<T> getUniqueValues() {
  List<T> result = new ArrayList<T>();
  return getUniqueValuesForNode(root, result);
}
org.milyn.edisax.modelEdifactModel$DependencyTree

Javadoc

Private classes used for locating and preventing cyclic dependency.

Most used methods

  • <init>
  • add
    Add child to parent Node if value does not exist in direct path from child to root node, i.e. in any
  • getRoot
  • getUniqueValuesForNode

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JComboBox (javax.swing)
  • Github Copilot 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