Tabnine Logo
BuiltInConverters
Code IndexAdd Tabnine to your IDE (free)

How to use
BuiltInConverters
in
org.apache.polygene.spi.serialization

Best Java code snippets using org.apache.polygene.spi.serialization.BuiltInConverters (Showing top 4 results out of 315)

origin: apache/attic-polygene-java

@Override
public void initialize()
{
  JavaxJsonSettings settings = orDefault( descriptor.metaInfo( JavaxJsonSettings.class ) );
  settings.getConverters()
      .forEach( ( type, converter ) -> converters.registerConverter( type, converter ) );
  builtInConverters.registerBuiltInConverters( converters );
  settings.getAdapters().forEach( adapters::put );
  registerBaseJavaxJsonAdapters();
}
origin: apache/attic-polygene-java

@Override
public void initialize()
{
  MessagePackSettings settings = orDefault( descriptor.metaInfo( MessagePackSettings.class ) );
  settings.getConverters()
      .forEach( ( type, converter ) -> converters.registerConverter( type, converter ) );
  builtInConverters.registerBuiltInConverters( converters );
  settings.getAdapters().forEach( adapters::put );
  registerBaseMessagePackAdapters();
}
origin: org.apache.polygene.core/org.apache.polygene.core.spi

@Override
public void initialize()
{
  JavaxJsonSettings settings = orDefault( descriptor.metaInfo( JavaxJsonSettings.class ) );
  settings.getConverters()
      .forEach( ( type, converter ) -> converters.registerConverter( type, converter ) );
  builtInConverters.registerBuiltInConverters( converters );
  settings.getAdapters().forEach( adapters::put );
  registerBaseJavaxJsonAdapters();
}
origin: apache/attic-polygene-java

@Override
public void initialize() throws Exception
{
  JavaxXmlSettings settings = orDefault( descriptor.metaInfo( JavaxXmlSettings.class ) );
  settings.getConverters()
      .forEach( ( type, converter ) -> converters.registerConverter( type, converter ) );
  builtInConverters.registerBuiltInConverters( converters );
  settings.getAdapters().forEach( adapters::put );
  registerBaseJavaxXmlAdapters();
}
org.apache.polygene.spi.serializationBuiltInConverters

Javadoc

Built-in serialization converters. Mixin for org.apache.polygene.api.serialization.Serialization implementations that provides built-in Converters for the following types:
  • Identity
  • EntityReference
  • BigDecimal
  • BigInteger
  • Instant
  • ZonedDateTime
  • OffsetDateTime
  • LocalDateTime
  • LocalDate
  • LocalTime
  • Duration
  • Period
Note that this does not include String nor primitive values and their boxed counterparts. Serialization implementations must handle those.

Most used methods

  • registerBuiltInConverters

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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