Commit 26dc3c8d authored by Eric Bruneton's avatar Eric Bruneton

Merge branch 'deprecate-xml-api' into 'master'

Deprecate the XML API.

See merge request !54
parents 35448964 1b8bfbd3
......@@ -51,10 +51,13 @@ import org.xml.sax.helpers.DefaultHandler;
* file. This class can be feeded by any kind of SAX 2.0 event producers, e.g. XML parser, XSLT or
* XPath engines, or custom code.
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @see org.objectweb.asm.xml.SAXClassAdapter
* @see org.objectweb.asm.xml.Processor
* @author Eugene Kuleshov
*/
@Deprecated
public class ASMContentHandler extends DefaultHandler implements Opcodes {
/** Stack of the intermediate processing contexts. */
......
......@@ -102,8 +102,11 @@ import org.xml.sax.helpers.XMLReaderFactory;
*
* </blockquote>
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @author Eugene Kuleshov
*/
@Deprecated
public class Processor {
public static final int BYTECODE = 1;
......
......@@ -34,8 +34,11 @@ import org.xml.sax.SAXException;
/**
* SAXAdapter
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @author Eugene Kuleshov
*/
@Deprecated
public class SAXAdapter {
private final ContentHandler h;
......
......@@ -36,8 +36,11 @@ import org.xml.sax.helpers.AttributesImpl;
/**
* SAXAnnotationAdapter
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @author Eugene Kuleshov
*/
@Deprecated
public final class SAXAnnotationAdapter extends AnnotationVisitor {
SAXAdapter sa;
......
......@@ -42,10 +42,13 @@ import org.xml.sax.helpers.AttributesImpl;
* visited class. It can feed any kind of {@link org.xml.sax.ContentHandler ContentHandler}, e.g.
* XML serializer, XSLT or XQuery engines.
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @see org.objectweb.asm.xml.Processor
* @see org.objectweb.asm.xml.ASMContentHandler
* @author Eugene Kuleshov
*/
@Deprecated
public final class SAXClassAdapter extends ClassVisitor {
SAXAdapter sa;
......
......@@ -43,10 +43,13 @@ import org.xml.sax.helpers.AttributesImpl;
/**
* A {@link MethodVisitor} that generates SAX 2.0 events from the visited method.
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @see org.objectweb.asm.xml.SAXClassAdapter
* @see org.objectweb.asm.xml.Processor
* @author Eugene Kuleshov
*/
@Deprecated
public final class SAXCodeAdapter extends MethodVisitor {
static final String[] TYPES = {
......
......@@ -36,8 +36,11 @@ import org.xml.sax.Attributes;
/**
* SAXFieldAdapter
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @author Eugene Kuleshov
*/
@Deprecated
public final class SAXFieldAdapter extends FieldVisitor {
SAXAdapter sa;
......
......@@ -34,8 +34,11 @@ import org.xml.sax.helpers.AttributesImpl;
/**
* Generate SAX event for a module description.
*
* @deprecated This class is no longer maintained, will not support new Java features, and will
* eventually be deleted. Use the asm or asm.tree API instead.
* @author Remi Forax
*/
@Deprecated
public final class SAXModuleAdapter extends ModuleVisitor {
private final SAXAdapter sa;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment