25 import com.sun.org.apache.xerces.internal.impl.dv.xs.XSSimpleTypeDecl;
26 import com.sun.org.apache.xerces.internal.impl.xs.XSComplexTypeDecl;
27 import com.sun.org.apache.xerces.internal.util.URI;
28 import com.sun.org.apache.xerces.internal.xni.NamespaceContext;
29 import org.w3c.dom.Attr;
30 import org.w3c.dom.DOMException;
31
32
33
34 /**
35 * ElementNSImpl inherits from ElementImpl and adds namespace support.
36 * <P>
37 * The qualified name is the node name, and we store localName which is also
38 * used in all queries. On the other hand we recompute the prefix when
39 * necessary.
40 *
41 * @xerces.internal
42 *
43 * @author Elena litani, IBM
44 * @author Neeraj Bajaj, Sun Microsystems
45 * @version $Id: ElementNSImpl.java,v 1.7 2010-11-01 04:39:39 joehw Exp $
46 */
47 public class ElementNSImpl
48 extends ElementImpl {
49
50 //
51 // Constants
52 //
53
54 /** Serialization version. */
55 static final long serialVersionUID = -9142310625494392642L;
56 static final String xmlURI = "http://www.w3.org/XML/1998/namespace";
57
58 //
59 // Data
60 //
61
62 /** DOM2: Namespace URI. */
63 protected String namespaceURI;
64
65 /** DOM2: localName. */
|
25 import com.sun.org.apache.xerces.internal.impl.dv.xs.XSSimpleTypeDecl;
26 import com.sun.org.apache.xerces.internal.impl.xs.XSComplexTypeDecl;
27 import com.sun.org.apache.xerces.internal.util.URI;
28 import com.sun.org.apache.xerces.internal.xni.NamespaceContext;
29 import org.w3c.dom.Attr;
30 import org.w3c.dom.DOMException;
31
32
33
34 /**
35 * ElementNSImpl inherits from ElementImpl and adds namespace support.
36 * <P>
37 * The qualified name is the node name, and we store localName which is also
38 * used in all queries. On the other hand we recompute the prefix when
39 * necessary.
40 *
41 * @xerces.internal
42 *
43 * @author Elena litani, IBM
44 * @author Neeraj Bajaj, Sun Microsystems
45 */
46 public class ElementNSImpl
47 extends ElementImpl {
48
49 //
50 // Constants
51 //
52
53 /** Serialization version. */
54 static final long serialVersionUID = -9142310625494392642L;
55 static final String xmlURI = "http://www.w3.org/XML/1998/namespace";
56
57 //
58 // Data
59 //
60
61 /** DOM2: Namespace URI. */
62 protected String namespaceURI;
63
64 /** DOM2: localName. */
|