Codota Logo
FixedLengthReader.assertValidFieldName
Code IndexAdd Codota to your IDE (free)

How to use
assertValidFieldName
method
in
org.milyn.fixedlength.FixedLengthReader

Best Java code snippets using org.milyn.fixedlength.FixedLengthReader.assertValidFieldName (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.milyn/milyn-smooks-all

public void addVisitors(VisitorConfigMap visitorMap) {
  initialize();
  if(bindBeanId != null && bindBeanClass != null) {
    Bean bean;
    if(bindingType == FixedLengthBindingType.LIST) {
      Bean listBean = new Bean(ArrayList.class, bindBeanId, "$document");
      bean = listBean.newBean(bindBeanClass, recordElementName);
      listBean.bindTo(bean);
      addFieldBindings(bean);
      listBean.addVisitors(visitorMap);
    } else if(bindingType == FixedLengthBindingType.MAP) {
      if(bindMapKeyField == null) {
        throw new SmooksConfigurationException("FixedLenght 'MAP' Binding must specify a 'keyField' property on the binding configuration.");
      }
      assertValidFieldName(bindMapKeyField);
      Bean mapBean = new Bean(LinkedHashMap.class, bindBeanId, "$document");
      Bean recordBean = new Bean(bindBeanClass, RECORD_BEAN, recordElementName);
      MapBindingWiringVisitor wiringVisitor = new MapBindingWiringVisitor(bindMapKeyField, bindBeanId);
      addFieldBindings(recordBean);
      mapBean.addVisitors(visitorMap);
      recordBean.addVisitors(visitorMap);
      visitorMap.addVisitor(wiringVisitor, recordElementName, null, false);
    } else {
      bean = new Bean(bindBeanClass, bindBeanId, recordElementName);
      addFieldBindings(bean);
      bean.addVisitors(visitorMap);
    }
  }
}
origin: org.virtuslab/milyn-smooks-fixed-length

public void addVisitors(VisitorConfigMap visitorMap) {
  initialize();
  if(bindBeanId != null && bindBeanClass != null) {
    Bean bean;
    if(bindingType == FixedLengthBindingType.LIST) {
      Bean listBean = new Bean(ArrayList.class, bindBeanId, "$document");
      bean = listBean.newBean(bindBeanClass, recordElementName);
      listBean.bindTo(bean);
      addFieldBindings(bean);
      listBean.addVisitors(visitorMap);
    } else if(bindingType == FixedLengthBindingType.MAP) {
      if(bindMapKeyField == null) {
        throw new SmooksConfigurationException("FixedLenght 'MAP' Binding must specify a 'keyField' property on the binding configuration.");
      }
      assertValidFieldName(bindMapKeyField);
      Bean mapBean = new Bean(LinkedHashMap.class, bindBeanId, "$document");
      Bean recordBean = new Bean(bindBeanClass, RECORD_BEAN, recordElementName);
      MapBindingWiringVisitor wiringVisitor = new MapBindingWiringVisitor(bindMapKeyField, bindBeanId);
      addFieldBindings(recordBean);
      mapBean.addVisitors(visitorMap);
      recordBean.addVisitors(visitorMap);
      visitorMap.addVisitor(wiringVisitor, recordElementName, null, false);
    } else {
      bean = new Bean(bindBeanClass, bindBeanId, recordElementName);
      addFieldBindings(bean);
      bean.addVisitors(visitorMap);
    }
  }
}
origin: org.milyn/milyn-smooks-fixed-length

public void addVisitors(VisitorConfigMap visitorMap) {
  initialize();
  if(bindBeanId != null && bindBeanClass != null) {
    Bean bean;
    if(bindingType == FixedLengthBindingType.LIST) {
      Bean listBean = new Bean(ArrayList.class, bindBeanId, "$document");
      bean = listBean.newBean(bindBeanClass, recordElementName);
      listBean.bindTo(bean);
      addFieldBindings(bean);
      listBean.addVisitors(visitorMap);
    } else if(bindingType == FixedLengthBindingType.MAP) {
      if(bindMapKeyField == null) {
        throw new SmooksConfigurationException("FixedLenght 'MAP' Binding must specify a 'keyField' property on the binding configuration.");
      }
      assertValidFieldName(bindMapKeyField);
      Bean mapBean = new Bean(LinkedHashMap.class, bindBeanId, "$document");
      Bean recordBean = new Bean(bindBeanClass, RECORD_BEAN, recordElementName);
      MapBindingWiringVisitor wiringVisitor = new MapBindingWiringVisitor(bindMapKeyField, bindBeanId);
      addFieldBindings(recordBean);
      mapBean.addVisitors(visitorMap);
      recordBean.addVisitors(visitorMap);
      visitorMap.addVisitor(wiringVisitor, recordElementName, null, false);
    } else {
      bean = new Bean(bindBeanClass, bindBeanId, recordElementName);
      addFieldBindings(bean);
      bean.addVisitors(visitorMap);
    }
  }
}
org.milyn.fixedlengthFixedLengthReaderassertValidFieldName

Popular methods of FixedLengthReader

  • addFieldBindings
  • buildFields
  • initialize

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • JButton (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
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