Codota Logo
org.milyn.edisax.util
Code IndexAdd Codota to your IDE (free)

How to use org.milyn.edisax.util

Best Java code snippets using org.milyn.edisax.util (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: smooks/smooks

private void addImports(List<Import> imports, Element edimapEl) {
  for(Import importInst : imports) {
    mapBeanProperties(importInst, newElement("import", edimapEl), "resource", "namespace", "truncatableComponents", "truncatableFields", "truncatableSegments");
  }
}
origin: org.virtuslab/milyn-edisax-parser

  public void write(Writer writer) throws IOException {
    EdimapWriter.write(this, writer);
  }
}
origin: smooks/smooks

private void addComponents(List<Component> components, Element fieldEl) {
  for(Component component : components) {
    Element componentEl = newElement("component", fieldEl, component);
    mapBeanProperties(component, componentEl, "name", "xmltag", "nodeTypeRef", "truncatable", "maxLength", "minLength", "required", "dataType", "dataTypeParametersString|dataTypeParameters");
    addSubComponents(component.getSubComponents(), componentEl);
  }
}
origin: smooks/smooks

private void write(Edimap edimap) {
  Element edimapEl = newElement("edimap", doc);
  addImports(edimap.getImports(), edimapEl);
  addDescription(edimap.getDescription(), edimapEl);
  addDelimiters(edimap.getDelimiters(), edimapEl);
  SegmentGroup segments = edimap.getSegments();
  Element segmentsEl = newElement("segments", edimapEl, segments);
  mapBeanProperties(segments, segmentsEl, "name", "xmltag");
  addChildSegments(segments, segmentsEl);
}
origin: org.milyn/milyn-smooks-all

public String getJavaName() throws IllegalNameException {
  String javaName = xmltag.replace(INDEXED_NODE_SEPARATOR, "_");
  if(name != null && name.trim().length() > 0) {
    javaName += "_" + EDIUtils.encodeClassName(name);
  }
  return javaName;
}
origin: smooks/smooks

/**
 * Checks that the name is not a reserved word in java.
 * @param name the value to check.
 * @throws IllegalNameException when name is a reserved keyword in java.
 */
public static void assertLegalName(String name) throws IllegalNameException {
  if (reservedKeywords.contains(name)) {
    throw new IllegalNameException("Illegal attribute- or class-name. The name [" + name + "] is a reserved keyword in java.");
  }
}
origin: org.milyn/milyn-edisax-parser

private void addSubComponents(List<SubComponent> subComponents, Element componentEl) {
  for(SubComponent subComponent : subComponents) {
    Element subComponentEl = newElement("sub-component", componentEl, subComponent);
    mapBeanProperties(subComponent, subComponentEl, "name", "xmltag", "nodeTypeRef", "maxLength", "minLength", "required", "dataType", "dataTypeParametersString|dataTypeParameters");
  }
}
origin: smooks/smooks

  public void write(Writer writer) throws IOException {
    EdimapWriter.write(this, writer);
  }
}
origin: org.milyn/milyn-smooks-all

private void addSubComponents(List<SubComponent> subComponents, Element componentEl) {
  for(SubComponent subComponent : subComponents) {
    Element subComponentEl = newElement("sub-component", componentEl, subComponent);
    mapBeanProperties(subComponent, subComponentEl, "name", "xmltag", "nodeTypeRef", "maxLength", "minLength", "required", "dataType", "dataTypeParametersString|dataTypeParameters");
  }
}
origin: org.milyn/milyn-smooks-all

  public void write(Writer writer) throws IOException {
    EdimapWriter.write(this, writer);
  }
}
origin: smooks/smooks

private void addSubComponents(List<SubComponent> subComponents, Element componentEl) {
  for(SubComponent subComponent : subComponents) {
    Element subComponentEl = newElement("sub-component", componentEl, subComponent);
    mapBeanProperties(subComponent, subComponentEl, "name", "xmltag", "nodeTypeRef", "maxLength", "minLength", "required", "dataType", "dataTypeParametersString|dataTypeParameters");
  }
}
origin: org.milyn/milyn-edisax-parser

  public void write(Writer writer) throws IOException {
    EdimapWriter.write(this, writer);
  }
}
origin: org.milyn/milyn-smooks-all

private void addImports(List<Import> imports, Element edimapEl) {
  for(Import importInst : imports) {
    mapBeanProperties(importInst, newElement("import", edimapEl), "resource", "namespace", "truncatableComponents", "truncatableFields", "truncatableSegments");
  }
}
origin: org.milyn/milyn-edisax-parser

private void addImports(List<Import> imports, Element edimapEl) {
  for(Import importInst : imports) {
    mapBeanProperties(importInst, newElement("import", edimapEl), "resource", "namespace", "truncatableComponents", "truncatableFields", "truncatableSegments");
  }
}
origin: org.virtuslab/milyn-edisax-parser

private void addImports(List<Import> imports, Element edimapEl) {
  for(Import importInst : imports) {
    mapBeanProperties(importInst, newElement("import", edimapEl), "resource", "namespace", "truncatableComponents", "truncatableFields", "truncatableSegments");
  }
}
origin: org.virtuslab/milyn-edisax-parser

private void addSubComponents(List<SubComponent> subComponents, Element componentEl) {
  for(SubComponent subComponent : subComponents) {
    Element subComponentEl = newElement("sub-component", componentEl, subComponent);
    mapBeanProperties(subComponent, subComponentEl, "name", "xmltag", "nodeTypeRef", "maxLength", "minLength", "required", "dataType", "dataTypeParametersString|dataTypeParameters");
  }
}
origin: smooks/smooks

private void addDelimiters(Delimiters delimiters, Element edimapEl) {
  mapBeanProperties(delimiters, newElement("delimiters", edimapEl), "segment", "field", "component", "subComponent|sub-component", "escape", "fieldRepeat");
}
origin: org.milyn/milyn-smooks-all

private void addDelimiters(Delimiters delimiters, Element edimapEl) {
  mapBeanProperties(delimiters, newElement("delimiters", edimapEl), "segment", "field", "component", "subComponent|sub-component", "escape", "fieldRepeat");
}
origin: org.milyn/milyn-edisax-parser

private void addDelimiters(Delimiters delimiters, Element edimapEl) {
  mapBeanProperties(delimiters, newElement("delimiters", edimapEl), "segment", "field", "component", "subComponent|sub-component", "escape", "fieldRepeat");
}
origin: org.virtuslab/milyn-edisax-parser

private void addDelimiters(Delimiters delimiters, Element edimapEl) {
  mapBeanProperties(delimiters, newElement("delimiters", edimapEl), "segment", "field", "component", "subComponent|sub-component", "escape", "fieldRepeat");
}
org.milyn.edisax.util

Most used classes

  • EDIUtils
    EDIUtils contain different helper-methods for handling edifact.
  • EDIUtils$CharSequence
  • EdimapWriter
    EdimapWriter
  • IllegalNameException
    IllegalNameException is used when a JClass or JField is given a name matching a reserved keyword in
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