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
/*******************************************************************************
* 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?>
See Also: - IContentDescriber
- http://www.w3.org/TR/REC-xml *
@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. Deprecated: As of 3.5, replaced by XMLContentDescriber
/**
* DO NOT REMOVE, used in a product.
*
* A content describer for XML files. This class provides basis for XML-based
* content describers.
* <p>
* The document is detected by the describer as <code>VALID</code>, if it
* contains an xml declaration with <code><?xml</code> prefix and the
* encoding in the declaration is correct.
* </p>
* Below are sample declarations recognized by the describer as
* <code>VALID</code>
* <ul>
* <li><?xml version="1.0"?></li>
* <li><?xml version="1.0"</li>
* <li><?xml version="1.0" encoding="utf-16"?></li>
* <li><?xml version="1.0" encoding="utf-16?></li>
* </ul>
*
* @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
* <code>org.eclipse.core.runtime.contentTypes</code> 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}
*/
public class XMLContentDescriber extends org.eclipse.core.runtime.content.XMLContentDescriber {
}