Tabnine Logo
FormatElement.setSerializerName
Code IndexAdd Tabnine to your IDE (free)

How to use
setSerializerName
method
in
org.jibx.binding.model.FormatElement

Best Java code snippets using org.jibx.binding.model.FormatElement.setSerializerName (Showing top 3 results out of 315)

origin: apache/axis2-java

/**
 * Add format definition for type with built-in JiBX handling to map.
 *
 * @param stype schema type name
 * @param jtype java type name
 * @param sname serializer method name
 * @param dname deserializer method name
 * @param dflt  default value
 * @param map   schema type qname to format definition map
 */
private static void buildFormat(String stype, String jtype, String sname,
                String dname, String dflt, Map map) {
  FormatElement format = new FormatElement();
  format.setTypeName(jtype);
  format.setSerializerName(sname);
  format.setDeserializerName(dname);
  format.setDefaultText(dflt);
  map.put(new QName(SCHEMA_NAMESPACE, stype), format);
}
origin: org.apache.axis2/axis2-jibx

/**
 * Add format definition for type with built-in JiBX handling to map.
 *
 * @param stype schema type name
 * @param jtype java type name
 * @param sname serializer method name
 * @param dname deserializer method name
 * @param dflt  default value
 * @param map   schema type qname to format definition map
 */
private static void buildFormat(String stype, String jtype, String sname,
                String dname, String dflt, Map map) {
  FormatElement format = new FormatElement();
  format.setTypeName(jtype);
  format.setSerializerName(sname);
  format.setDeserializerName(dname);
  format.setDefaultText(dflt);
  map.put(new QName(SCHEMA_NAMESPACE, stype), format);
}
origin: org.jibx/jibx-tools

/**
 * Generate any required format definitions. Format definitions are used for all classes defining serializer or
 * deserializer methods.
 */
private void generateFormats() {
  
  // add any required format definitions
  for (Iterator iter = m_formatSet.iterator(); iter.hasNext();) {
    String type = (String)iter.next();
    ClassCustom clas = m_global.getClassCustomization(type);
    if (clas.getSerializer() != null || clas.getDeserializer() != null) {
      FormatElement format = new FormatElement();
      format.setDeserializerName(clas.getDeserializer());
      format.setSerializerName(clas.getSerializer());
      format.setTypeName(type);
      m_directory.addFormat(format);
    }
  }
}

org.jibx.binding.modelFormatElementsetSerializerName

Popular methods of FormatElement

  • <init>
  • getDefaultText
  • getDeserializerName
  • getQName
  • getSerializerName
  • getTypeName
  • setDeserializerName
  • setTypeName
  • setDefaultText
  • getEnumValueName
  • setEnumValueName
  • setQName
  • setEnumValueName,
  • setQName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now