org.apache.xerces.impl.xs.dom
Class ElementNSImpl
java.lang.Object
|
+--org.apache.xerces.dom.NodeImpl
|
+--org.apache.xerces.dom.ChildNode
|
+--org.apache.xerces.dom.ParentNode
|
+--org.apache.xerces.dom.ElementImpl
|
+--org.apache.xerces.dom.ElementNSImpl
|
+--org.apache.xerces.impl.xs.dom.ElementNSImpl
- All Implemented Interfaces:
- java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, java.io.Serializable
- public class ElementNSImpl
- extends ElementNSImpl
Our own document implementation, which contains line/column information
- Version:
- $Id: ElementNSImpl.java,v 1.2 2002/04/03 23:48:27 elena Exp $
- Author:
- Sandy Gao, IBM
- See Also:
- Serialized Form
Fields inherited from class org.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IDATTRIBUTE, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary |
|
ElementNSImpl()
|
protected |
ElementNSImpl(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localpart,
int lineNum,
int columnNum)
DOM2: Constructor for line/column information. |
Method Summary |
int |
getColumnNumber()
Returns the column number. |
int |
getLineNumber()
Returns the line number. |
protected void |
setValues(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localpart,
int lineNum,
int columnNum)
|
Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttributeNode, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareTreePosition, dispatchEvent, getInterface, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, isSupported, removeChild, replaceChild, setNodeValue |
lineNum
protected int lineNum
columnNum
protected int columnNum
ElementNSImpl
public ElementNSImpl()
ElementNSImpl
protected ElementNSImpl(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localpart,
int lineNum,
int columnNum)
throws org.w3c.dom.DOMException
- DOM2: Constructor for line/column information.
setValues
protected void setValues(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localpart,
int lineNum,
int columnNum)
getLineNumber
public int getLineNumber()
- Returns the line number.
getColumnNumber
public int getColumnNumber()
- Returns the column number.
Copyright © 1999-2002 Apache XML Project. All Rights Reserved.