14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21 package com.sun.org.apache.xerces.internal.impl.xs.opti;
22
23 import org.w3c.dom.Attr;
24 import org.w3c.dom.Document;
25 import org.w3c.dom.NamedNodeMap;
26 import org.w3c.dom.Node;
27
28 /**
29 * @xerces.internal
30 *
31 * @author Rahul Srivastava, Sun Microsystems Inc.
32 * @author Sandy Gao, IBM
33 *
34 * @version $Id: ElementImpl.java,v 1.7 2010-11-01 04:40:01 joehw Exp $
35 */
36 public class ElementImpl extends DefaultElement {
37
38 SchemaDOM schemaDOM;
39 Attr[] attrs;
40 int row;
41 int col;
42 int parentRow;
43
44 int line;
45 int column;
46 int charOffset;
47 String fAnnotation;
48 String fSyntheticAnnotation;
49
50 public ElementImpl(int line, int column, int offset) {
51 row = -1;
52 col = -1;
53 parentRow = -1;
54 nodeType = Node.ELEMENT_NODE;
|
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21 package com.sun.org.apache.xerces.internal.impl.xs.opti;
22
23 import org.w3c.dom.Attr;
24 import org.w3c.dom.Document;
25 import org.w3c.dom.NamedNodeMap;
26 import org.w3c.dom.Node;
27
28 /**
29 * @xerces.internal
30 *
31 * @author Rahul Srivastava, Sun Microsystems Inc.
32 * @author Sandy Gao, IBM
33 *
34 */
35 public class ElementImpl extends DefaultElement {
36
37 SchemaDOM schemaDOM;
38 Attr[] attrs;
39 int row;
40 int col;
41 int parentRow;
42
43 int line;
44 int column;
45 int charOffset;
46 String fAnnotation;
47 String fSyntheticAnnotation;
48
49 public ElementImpl(int line, int column, int offset) {
50 row = -1;
51 col = -1;
52 parentRow = -1;
53 nodeType = Node.ELEMENT_NODE;
|