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

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Top plugins for Android Studio
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