/* The contents of this file are subject to the license and copyright terms
* detailed in the license directory at the root of the source tree (also
* available online at http://fedora-commons.org/license/).
*/
package org.fcrepo.common.xml.format;
import org.fcrepo.common.xml.namespace.AtomNamespace;
/**
* The Atom 1.1 XML format.
*
* <pre>
* Format URI : info:fedora/fedora-system:ATOM-1.1
* Primary Namespace : http://www.w3.org/2005/Atom
* XSD Schema URL : http://www.kbcafe.com/rss/atom.xsd.xml
* </pre>
*
* @author Edwin Shin
*/
public class Atom1_1Format
extends XMLFormat {
/** The only instance of this class. */
private static final Atom1_1Format ONLY_INSTANCE = new Atom1_1Format();
/**
* Constructs the instance.
*/
private Atom1_1Format() {
super("info:fedora/fedora-system:ATOM-1.1",
AtomNamespace.getInstance(),
"http://www.kbcafe.com/rss/atom.xsd.xml");
}
/**
* Gets the only instance of this class.
*
* @return the instance.
*/
public static Atom1_1Format getInstance() {
return ONLY_INSTANCE;
}
}