src/java.xml/share/classes/org/xml/sax/ext/Attributes2.java
changeset 58247 3aef3bccfae3
parent 47216 71c04702a3d5
equal deleted inserted replaced
58246:3c8f89e2ec03 58247:3aef3bccfae3
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 // Attributes2.java - extended Attributes
       
    27 // http://www.saxproject.org
       
    28 // Public Domain: no warranty.
       
    29 // $Id: Attributes2.java,v 1.2 2004/11/03 22:49:07 jsuttor Exp $
       
    30 
       
    31 package org.xml.sax.ext;
    26 package org.xml.sax.ext;
    32 
    27 
    33 import org.xml.sax.Attributes;
    28 import org.xml.sax.Attributes;
    34 
    29 
    35 
    30 
    36 /**
    31 /**
    37  * SAX2 extension to augment the per-attribute information
    32  * SAX2 extension to augment the per-attribute information
    38  * provided though {@link Attributes}.
    33  * provided through {@link Attributes}.
    39  * If an implementation supports this extension, the attributes
    34  * If an implementation supports this extension, the attributes
    40  * provided in {@link org.xml.sax.ContentHandler#startElement
    35  * provided in {@link org.xml.sax.ContentHandler#startElement
    41  * ContentHandler.startElement() } will implement this interface,
    36  * ContentHandler.startElement() } will implement this interface,
    42  * and the <em>http://xml.org/sax/features/use-attributes2</em>
    37  * and the <em>http://xml.org/sax/features/use-attributes2</em>
    43  * feature flag will have the value <em>true</em>.
    38  * feature flag will have the value <em>true</em>.
    44  *
       
    45  * <blockquote>
       
    46  * <em>This module, both source code and documentation, is in the
       
    47  * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
       
    48  * </blockquote>
       
    49  *
    39  *
    50  * <p> XMLReader implementations are not required to support this
    40  * <p> XMLReader implementations are not required to support this
    51  * information, and it is not part of core-only SAX2 distributions.</p>
    41  * information, and it is not part of core-only SAX2 distributions.</p>
    52  *
    42  *
    53  * <p>Note that if an attribute was defaulted (<em>!isSpecified()</em>)
    43  * <p>Note that if an attribute was defaulted (<em>!isSpecified()</em>)