Return-Path: X-Original-To: apmail-onami-commits-archive@minotaur.apache.org Delivered-To: apmail-onami-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AF7BE505 for ; Sat, 9 Feb 2013 20:27:26 +0000 (UTC) Received: (qmail 62711 invoked by uid 500); 9 Feb 2013 20:27:26 -0000 Delivered-To: apmail-onami-commits-archive@onami.apache.org Received: (qmail 62678 invoked by uid 500); 9 Feb 2013 20:27:26 -0000 Mailing-List: contact commits-help@onami.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@onami.incubator.apache.org Delivered-To: mailing list commits@onami.incubator.apache.org Received: (qmail 62669 invoked by uid 99); 9 Feb 2013 20:27:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 20:27:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 20:27:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 8AD262388C48; Sat, 9 Feb 2013 20:26:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1444424 [18/25] - in /incubator/onami/site/converters: ./ apidocs/ apidocs/assets/ apidocs/assets/images/ apidocs/reference/ apidocs/reference/org/ apidocs/reference/org/apache/ apidocs/reference/org/apache/onami/ apidocs/reference/org/apa... Date: Sat, 09 Feb 2013 20:25:59 -0000 To: commits@onami.incubator.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130209202608.8AD262388C48@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: incubator/onami/site/converters/format.html URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/format.html?rev=1444424&view=auto ============================================================================== --- incubator/onami/site/converters/format.html (added) +++ incubator/onami/site/converters/format.html Sat Feb 9 20:25:51 2013 @@ -0,0 +1,294 @@ + + + + + + + + + + Apache Onami-Converters - Parent - Apache Onami Converters | Format + + + + + + + + + + + + + + + + +
+ + + + + +
+
+ +
+ + +
+ +

Apache Onami Converters - Format

The Format module contains java.text.XXXFormat converters implementations.

Users that want to use the Format module, have to add the following dependency in the pom.xml:

<dependency>
+  <groupId>org.apache.onami.converters</groupId>
+  <artifactId>org.apache.onami.converters.format</artifactId>
+  <version>1.0.0-incubating-SNAPSHOT</version>
+  <scope>compile</scope>
+</dependency>

The Converters

DecimalFormatConverter

Is the converter that converts a java.lang.String representation to a java.text.DecimalFormat

SimpleDateFormatConverter

Is the converter that converts a java.lang.String representation to a java.text.SimpleDateFormat

+
+
+
+ +
+ +
+
+
Copyright © 2012-2013 + The Apache Software Foundation. + All Rights Reserved. + +
+ + +
Apache Onami, Apache Onami Configuration, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+ + +
+
+ + \ No newline at end of file Propchange: incubator/onami/site/converters/format.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/converters/format.html ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: incubator/onami/site/converters/format.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: incubator/onami/site/converters/i18n.html URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/i18n.html?rev=1444424&view=auto ============================================================================== --- incubator/onami/site/converters/i18n.html (added) +++ incubator/onami/site/converters/i18n.html Sat Feb 9 20:25:51 2013 @@ -0,0 +1,300 @@ + + + + + + + + + + Apache Onami-Converters - Parent - Apache Onami Converters | i18n + + + + + + + + + + + + + + + + +
+ + + + + +
+
+ +
+ + +
+ +

Apache Onami Converters - i18n

The i18n module contains useful i18n converters implementations.

Users that want to use the Format module, have to add the following dependency in the pom.xml:

<dependency>
+  <groupId>org.apache.onami.converters</groupId>
+  <artifactId>org.apache.onami.converters.i18n</artifactId>
+  <version>1.0.0-incubating-SNAPSHOT</version>
+  <scope>compile</scope>
+</dependency>

The Converters

CurrencyConverter

Is the converter that converts a java.lang.String representation to a java.util.Currency.

DateConverter

Is the converter that converts a java.lang.String representation to a java.util.Calendar and to java.util.Date.

By default, this converter manages the following ISO Date format representation:

  • yyyy;
  • yyyy-MM;
  • yyyy-MM-dd;
  • yyyy-MM-dd'T'hh:mmZ;
  • yyyy-MM-dd'T'hh:mm:ssZ;
  • yyyy-MM-dd'T'hh:mm:ss.sZ

    If users need to add new supported date formats, first they have to retrieve the DateConverter, then add a new pattern:

    DateConverter dateConverter = module.lookup( Date.class, Date
     Converter.class );
    +dateConverter.addPattern( "EEE, MMM d, ''yy" );

    If users need to set the java.util.Locale and/or the java.util.TimeZone, first they have to retrieve the DateConverter, then set their preferences:

    import java.util.Locale;
    +import java.util.TimeZone;
    +...
    +DateConverter dateConverter = module.lookup( Date.class, DateConverter.class );
    +dateConverter.setLocale( Locale.getDefault() );
    +dateConverter.setTimeZone( TimeZone.getDefault() );

LocaleConverter

Is the converter that converts a java.lang.String representation to a java.util.Locale

The converter checks first if the input String matches with the pattern languageCode_counrtyCode to create the java.util.Locale otherwise will use the input value as Locale language.

TimeZoneConverter

Is the converter that converts a java.lang.String representation to a java.util.TimeZone.

+
+
+
+ +
+ +
+
+
Copyright © 2012-2013 + The Apache Software Foundation. + All Rights Reserved. + +
+ + +
Apache Onami, Apache Onami Configuration, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+ + +
+
+ + \ No newline at end of file Propchange: incubator/onami/site/converters/i18n.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/converters/i18n.html ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: incubator/onami/site/converters/i18n.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: incubator/onami/site/converters/images/accessories-text-editor.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/accessories-text-editor.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/accessories-text-editor.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/add.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/add.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/add.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/apache-maven-project-2.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/apache-maven-project-2.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/apache-maven-project-2.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/application-certificate.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/application-certificate.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/application-certificate.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/close.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/close.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/close.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/contact-new.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/contact-new.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/contact-new.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/document-properties.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/document-properties.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/document-properties.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/drive-harddisk.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/drive-harddisk.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/drive-harddisk.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/fix.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/fix.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/fix.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/icon_error_sml.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/icon_error_sml.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/icon_error_sml.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/icon_help_sml.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/icon_help_sml.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/icon_help_sml.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/icon_info_sml.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/icon_info_sml.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/icon_info_sml.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/icon_success_sml.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/icon_success_sml.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/icon_success_sml.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/icon_warning_sml.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/icon_warning_sml.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/icon_warning_sml.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/image-x-generic.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/image-x-generic.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/image-x-generic.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/internet-web-browser.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/internet-web-browser.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/internet-web-browser.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/logos/build-by-maven-black.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/logos/build-by-maven-black.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/logos/build-by-maven-black.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/logos/build-by-maven-white.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/logos/build-by-maven-white.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/logos/build-by-maven-white.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/logos/maven-feather.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/logos/maven-feather.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/logos/maven-feather.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/network-server.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/network-server.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/network-server.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/package-x-generic.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/package-x-generic.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/package-x-generic.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/profiles/pre-release.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/profiles/pre-release.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/profiles/pre-release.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/profiles/retired.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/profiles/retired.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/profiles/retired.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/profiles/sandbox.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/profiles/sandbox.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/profiles/sandbox.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/remove.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/remove.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/remove.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/rss.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/rss.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/rss.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/images/update.gif URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/update.gif?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/update.gif ------------------------------------------------------------------------------ svn:mime-type = image/gif Added: incubator/onami/site/converters/images/window-new.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/images/window-new.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/images/window-new.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/img/glyphicons-halflings-white.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/img/glyphicons-halflings-white.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/img/glyphicons-halflings-white.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/img/glyphicons-halflings.png URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/img/glyphicons-halflings.png?rev=1444424&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/onami/site/converters/img/glyphicons-halflings.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: incubator/onami/site/converters/index.html URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/index.html?rev=1444424&view=auto ============================================================================== --- incubator/onami/site/converters/index.html (added) +++ incubator/onami/site/converters/index.html Sat Feb 9 20:25:51 2013 @@ -0,0 +1,416 @@ + + + + + + + + + + Apache Onami-Converters - Parent - Introduction to Apache Onami Converters + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ +

Introduction

Apa che Onami Converters is a set of com.google.inject.spi.TypeConverter implementation not already present in Guice, such as:

+
+
+
+ +
+ +
+
+
Copyright © 2012-2013 + The Apache Software Foundation. + All Rights Reserved. + +
+ + +
Apache Onami, Apache Onami Configuration, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+ + +
+
+ + \ No newline at end of file Propchange: incubator/onami/site/converters/index.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/converters/index.html ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: incubator/onami/site/converters/index.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: incubator/onami/site/converters/integration.html URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/integration.html?rev=1444424&view=auto ============================================================================== --- incubator/onami/site/converters/integration.html (added) +++ incubator/onami/site/converters/integration.html Sat Feb 9 20:25:51 2013 @@ -0,0 +1,395 @@ + + + + + + + + + Apache Onami-Converters - Parent - Continuous Integration + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ +

Overview

This project uses Jenkins.

Access

The following is a link to the continuous integration system used by the project.

Notifiers

Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.

TypeAddressConfiguration
mail-address=dev@onami.incubator.apache.org
+
+
+
+ +
+ +
+
+
Copyright © 2012-2013 + The Apache Software Foundation. + All Rights Reserved. + +
+ + +
Apache Onami, Apache Onami Configuration, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+ + +
+
+ + \ No newline at end of file Propchange: incubator/onami/site/converters/integration.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/converters/integration.html ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: incubator/onami/site/converters/integration.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: incubator/onami/site/converters/issue-tracking.html URL: http://svn.apache.org/viewvc/incubator/onami/site/converters/issue-tracking.html?rev=1444424&view=auto ============================================================================== --- incubator/onami/site/converters/issue-tracking.html (added) +++ incubator/onami/site/converters/issue-tracking.html Sat Feb 9 20:25:51 2013 @@ -0,0 +1,395 @@ + + + + + + + + + Apache Onami-Converters - Parent - Issue Tracking + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ +

Overview

This project uses JIRA a J2EE-based, issue tracking and project management application.

Issue Tracking

Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.

+
+
+
+ +
+ + + + \ No newline at end of file