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

org.fcrepo.common.xml.namespace.XMLNSNamespace Maven / Gradle / Ivy

There is a newer version: 6.5.0
Show newest version
/* 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.namespace;

/**
 * The XMLNS XML namespace.
 * 
 * 
 * Namespace URI    : http://www.w3.org/2000/xmlns/ 
 * Preferred Prefix : xmlns
 * 
* * @author Chris Wilper */ public class XMLNSNamespace extends XMLNamespace { //--- // Attributes //--- /** The xmlns attribute. */ public final QName XMLNS; //--- // Singleton instantiation //--- /** The only instance of this class. */ private static final XMLNSNamespace ONLY_INSTANCE = new XMLNSNamespace(); /** * Constructs the instance. */ private XMLNSNamespace() { super("http://www.w3.org/2000/xmlns/", "xmlns"); // attributes XMLNS = new QName(this, "xmlns"); } /** * Gets the only instance of this class. * * @return the instance. */ public static XMLNSNamespace getInstance() { return ONLY_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy