1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.dom; 59 60 import org.w3c.dom.DOMException ; 61 import com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl; 62 63 70 public class ElementNSImpl extends com.sun.org.apache.xerces.internal.dom.ElementNSImpl { 71 72 76 protected int lineNum; 77 78 protected int columnNum; 79 80 public ElementNSImpl(){ 81 super(); 82 } 83 84 87 protected ElementNSImpl(CoreDocumentImpl ownerDocument, 88 String namespaceURI, String qualifiedName, 89 String localpart, 90 int lineNum, int columnNum) 91 throws DOMException 92 { 93 super(ownerDocument, namespaceURI, qualifiedName, localpart); 94 this.lineNum = lineNum; 95 this.columnNum = columnNum; 96 } 97 98 protected void setValues(CoreDocumentImpl ownerDocument, 99 String namespaceURI, String qualifiedName, 100 String localpart, int lineNum, int columnNum){ 101 super.setValues(ownerDocument, namespaceURI, qualifiedName, localpart); 102 this.lineNum = lineNum; 103 this.columnNum = columnNum; 104 105 } 106 107 108 109 public int getLineNumber() { 110 return lineNum; 111 } 112 113 114 public int getColumnNumber() { 115 return columnNum; 116 } 117 118 } 119 | Popular Tags |