All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.jersey.atom.rome.impl.ImplMessages Maven / Gradle / Ivy

Go to download

A bundle containing code of all jar-based modules that provide JAX-RS and Jersey-related features. Such a bundle is *only intended* for developers that do not use Maven's dependency system. The bundle does not include code for contributes, tests and samples.

The newest version!

package com.sun.jersey.atom.rome.impl;

import com.sun.jersey.localization.Localizable;
import com.sun.jersey.localization.LocalizableMessageFactory;
import com.sun.jersey.localization.Localizer;


/**
 * Defines string formatting method for each constant in the resource file
 * 
 */
public final class ImplMessages {

    private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.jersey.atom.rome.impl.impl");
    private final static Localizer localizer = new Localizer();

    public static Localizable localizableERROR_MARSHALLING_ATOM(Object arg0) {
        return messageFactory.getMessage("error.marshalling.atom", arg0);
    }

    /**
     * Error marshalling out Atom object of type "{0}".
     * 
     */
    public static String ERROR_MARSHALLING_ATOM(Object arg0) {
        return localizer.localize(localizableERROR_MARSHALLING_ATOM(arg0));
    }

    public static Localizable localizableERROR_NOT_ATOM_FEED(Object arg0) {
        return messageFactory.getMessage("error.not.atom.feed", arg0);
    }

    /**
     * Feed is Not of type Atom Feed : "{0}".
     * 
     */
    public static String ERROR_NOT_ATOM_FEED(Object arg0) {
        return localizer.localize(localizableERROR_NOT_ATOM_FEED(arg0));
    }

    public static Localizable localizableERROR_CREATING_ATOM(Object arg0) {
        return messageFactory.getMessage("error.creating.atom", arg0);
    }

    /**
     * Error creating  Atom object of type "{0}".
     * 
     */
    public static String ERROR_CREATING_ATOM(Object arg0) {
        return localizer.localize(localizableERROR_CREATING_ATOM(arg0));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy