IVariantConstants.java :  » Scripting » atomico » com » semagia » atomico » server » impl » restlet » resources » Java Open Source

Java Open Source » Scripting » atomico 
atomico » com » semagia » atomico » server » impl » restlet » resources » IVariantConstants.java
/*
 * Copyright 2008 - 2009 Lars Heuer (heuer[at]semagia.com). All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.semagia.atomico.server.impl.restlet.resources;

import org.restlet.representation.Variant;

import com.semagia.atomico.MediaType;

/**
 * Provides just a constant.
 * 
 * @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
 * @version $Rev: 66 $ - $Date: 2010-09-06 08:29:07 -0700 (Mon, 06 Sep 2010) $
 */
interface IVariantConstants {

    /**
     * Represents a variant with the application/tm+xml media type.
     */
    public static final Variant VARIANT_XTM = new ImmutableVariant(MediaTypeUtils.toRestletMediaType(MediaType.XTM));

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.