org.apache.xerces.impl.xs.opti

Class ElementImpl

public class ElementImpl extends DefaultElement

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Version: $Id: ElementImpl.java,v 1.9 2004/12/16 16:45:20 ankitp Exp $

Author: Rahul Srivastava, Sun Microsystems Inc. Sandy Gao, IBM

Constructor Summary
ElementImpl(int line, int column, int offset)
ElementImpl(int line, int column)
ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset)
ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column)
Method Summary
StringgetAttribute(String name)
AttrgetAttributeNode(String name)
AttrgetAttributeNodeNS(String namespaceURI, String localName)
StringgetAttributeNS(String namespaceURI, String localName)
NamedNodeMapgetAttributes()
intgetCharacterOffset()
Returns the character offset.
intgetColumnNumber()
Returns the column number.
NodegetFirstChild()
NodegetLastChild()
intgetLineNumber()
Returns the line number.
NodegetNextSibling()
DocumentgetOwnerDocument()
NodegetParentNode()
NodegetPreviousSibling()
StringgetSyntheticAnnotation()
StringgetTagName()
booleanhasAttribute(String name)
booleanhasAttributeNS(String namespaceURI, String localName)
booleanhasAttributes()
booleanhasChildNodes()
voidsetAttribute(String name, String value)

Constructor Detail

ElementImpl

public ElementImpl(int line, int column, int offset)

ElementImpl

public ElementImpl(int line, int column)

ElementImpl

public ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset)

ElementImpl

public ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column)

Method Detail

getAttribute

public String getAttribute(String name)

getAttributeNode

public Attr getAttributeNode(String name)

getAttributeNodeNS

public Attr getAttributeNodeNS(String namespaceURI, String localName)

getAttributeNS

public String getAttributeNS(String namespaceURI, String localName)

getAttributes

public NamedNodeMap getAttributes()

getCharacterOffset

public int getCharacterOffset()
Returns the character offset.

getColumnNumber

public int getColumnNumber()
Returns the column number.

getFirstChild

public Node getFirstChild()

getLastChild

public Node getLastChild()

getLineNumber

public int getLineNumber()
Returns the line number.

getNextSibling

public Node getNextSibling()

getOwnerDocument

public Document getOwnerDocument()

getParentNode

public Node getParentNode()

getPreviousSibling

public Node getPreviousSibling()

getSyntheticAnnotation

public String getSyntheticAnnotation()

getTagName

public String getTagName()

hasAttribute

public boolean hasAttribute(String name)

hasAttributeNS

public boolean hasAttributeNS(String namespaceURI, String localName)

hasAttributes

public boolean hasAttributes()

hasChildNodes

public boolean hasChildNodes()

setAttribute

public void setAttribute(String name, String value)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.