org.eclipse.core.internal.content.XMLContentDescriber Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2004, 2010 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.internal.content;
/**
* DO NOT REMOVE, used in a product.
*
* A content describer for XML files. This class provides basis for XML-based
* content describers.
*
* The document is detected by the describer as VALID
, if it
* contains an xml declaration with <?xml
prefix and the
* encoding in the declaration is correct.
*
* Below are sample declarations recognized by the describer as
* VALID
*
* - <?xml version="1.0"?>
* - <?xml version="1.0"
* - <?xml version="1.0" encoding="utf-16"?>
* - <?xml version="1.0" encoding="utf-16?>
*
*
* @noinstantiate This class is not intended to be instantiated by clients.
* Clients should use it to provide their own XML-based
* describers that can be referenced by the "describer"
* configuration element in extensions to the
* org.eclipse.core.runtime.contentTypes
extension
* point.
*
* @see org.eclipse.core.runtime.content.IContentDescriber
* @see "http://www.w3.org/TR/REC-xml *"
*
* @deprecated As of 3.5, replaced by {@link org.eclipse.core.runtime.content.XMLContentDescriber}
*/
@Deprecated
public class XMLContentDescriber extends org.eclipse.core.runtime.content.XMLContentDescriber {
}