Tabnine Logo
EDIConfigDigester.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.milyn.edisax.model.EDIConfigDigester
constructor

Best Java code snippets using org.milyn.edisax.model.EDIConfigDigester.<init> (Showing top 12 results out of 315)

origin: org.milyn/milyn-edisax-parser

/**
 * Digest the XML edi-message-mapping configuration stream.
 * @param stream the edi-message-mapping stream.
 * @return the {@link org.milyn.edisax.model.internal.Edimap}.
 * @throws IOException Error parsing the XML stream.
 * @throws SAXException Error parsing the XML stream.
 * @throws EDIConfigurationException Multiple or no namespaces in edi-message-mapping.
 */
public static Edimap digestConfig(InputStream stream) throws IOException, SAXException, EDIConfigurationException {
  return new EDIConfigDigester().digestEDIConfig(stream);
}
 
origin: smooks/smooks

/**
 * Digest the XML edi-message-mapping configuration stream.
 * @param stream the edi-message-mapping stream.
 * @return the {@link org.milyn.edisax.model.internal.Edimap}.
 * @throws IOException Error parsing the XML stream.
 * @throws SAXException Error parsing the XML stream.
 * @throws EDIConfigurationException Multiple or no namespaces in edi-message-mapping.
 */
public static Edimap digestConfig(InputStream stream) throws IOException, SAXException, EDIConfigurationException {
  return new EDIConfigDigester().digestEDIConfig(stream);
}
 
origin: org.virtuslab/milyn-edisax-parser

/**
 * Digest the XML edi-message-mapping configuration stream.
 * @param stream the edi-message-mapping stream.
 * @return the {@link org.milyn.edisax.model.internal.Edimap}.
 * @throws IOException Error parsing the XML stream.
 * @throws SAXException Error parsing the XML stream.
 * @throws EDIConfigurationException Multiple or no namespaces in edi-message-mapping.
 */
public static Edimap digestConfig(InputStream stream) throws IOException, SAXException, EDIConfigurationException {
  return new EDIConfigDigester().digestEDIConfig(stream);
}
 
origin: org.milyn/milyn-smooks-all

/**
 * Digest the XML edi-message-mapping configuration stream.
 * @param stream the edi-message-mapping stream.
 * @return the {@link org.milyn.edisax.model.internal.Edimap}.
 * @throws IOException Error parsing the XML stream.
 * @throws SAXException Error parsing the XML stream.
 * @throws EDIConfigurationException Multiple or no namespaces in edi-message-mapping.
 */
public static Edimap digestConfig(InputStream stream) throws IOException, SAXException, EDIConfigurationException {
  return new EDIConfigDigester().digestEDIConfig(stream);
}
 
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: 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-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: 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.virtuslab/milyn-edisax-parser

EDIConfigDigester digester = new EDIConfigDigester(importUri, URIResourceLocator.extractBaseURI(importUri));
origin: org.milyn/milyn-smooks-all

EDIConfigDigester digester = new EDIConfigDigester(importUri, URIResourceLocator.extractBaseURI(importUri));
origin: smooks/smooks

EDIConfigDigester digester = new EDIConfigDigester(importUri, URIResourceLocator.extractBaseURI(importUri));
origin: org.milyn/milyn-edisax-parser

EDIConfigDigester digester = new EDIConfigDigester(importUri, URIResourceLocator.extractBaseURI(importUri));
org.milyn.edisax.modelEDIConfigDigester<init>

Javadoc

Public default Constructor.

Popular methods of EDIConfigDigester

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • startActivity (Activity)
  • findViewById (Activity)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • JTextField (javax.swing)
  • From CI to AI: The AI layer in your organization
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