Logo Search packages:      
Sourcecode: xae version File versions

com::icl::saxon::tree::ElementWithAttributes Class Reference

Inheritance diagram for com::icl::saxon::tree::ElementWithAttributes:

com::icl::saxon::tree::ElementImpl com::icl::saxon::om::ElementInfo com::icl::saxon::tree::ParentNodeImpl com::icl::saxon::om::ElementInfo com::icl::saxon::om::NodeInfo com::icl::saxon::tree::NodeImpl com::icl::saxon::om::NodeInfo com::icl::saxon::om::NodeInfo com::icl::saxon::style::StyleElement com::icl::saxon::sql::SQLConnect com::icl::saxon::sql::SQLInsert com::icl::saxon::style::AbsentExtensionElement com::icl::saxon::style::LiteralResultElement com::icl::saxon::style::SAXONDoctype com::icl::saxon::style::SAXONEntityRef com::icl::saxon::style::SAXONFunction com::icl::saxon::style::SAXONItem com::icl::saxon::style::SAXONOutput com::icl::saxon::style::SAXONPreview com::icl::saxon::style::SAXONWhile com::icl::saxon::style::XSLApplyImports com::icl::saxon::style::XSLApplyTemplates com::icl::saxon::style::XSLAttribute com::icl::saxon::style::XSLAttributeSet com::icl::saxon::style::XSLCallTemplate com::icl::saxon::style::XSLChoose com::icl::saxon::style::XSLComment com::icl::saxon::style::XSLCopy com::icl::saxon::style::XSLCopyOf com::icl::saxon::style::XSLDecimalFormat com::icl::saxon::style::XSLElement com::icl::saxon::style::XSLFallback com::icl::saxon::style::XSLForEach com::icl::saxon::style::XSLGeneralIncorporate com::icl::saxon::style::XSLGeneralVariable com::icl::saxon::style::XSLIf com::icl::saxon::style::XSLKey com::icl::saxon::style::XSLMessage com::icl::saxon::style::XSLNamespaceAlias com::icl::saxon::style::XSLNumber com::icl::saxon::style::XSLOtherwise com::icl::saxon::style::XSLOutput com::icl::saxon::style::XSLPreserveSpace com::icl::saxon::style::XSLProcessingInstruction com::icl::saxon::style::XSLSort com::icl::saxon::style::XSLStyleSheet com::icl::saxon::style::XSLTemplate com::icl::saxon::style::XSLText com::icl::saxon::style::XSLValueOf com::icl::saxon::style::XSLWhen

List of all members.

Detailed Description

A node in the XML parse tree representing an XML element.

This class is an implementation of ElementInfo

<A HREF="mailto:Michael.Kay@icl.com>Michael H. Kay, ICL
8 August 2000: separated from ElementImpl

Definition at line 27 of file ElementWithAttributes.java.

Public Member Functions

void addChild (NodeImpl node, int index)
void addNamespaceNodes (ElementInfo owner, Vector list, NodeInfo stop) throws SAXException
Node appendChild (Node newChild) throws DOMException
Node cloneNode (boolean deep)
void compact (int size)
void copy (Outputter out) throws SAXException
void copyStringValue (Outputter out) throws SAXException
void defaultAction (Context c) throws SAXException
void dropChildren ()
String getAbsoluteName ()
NodeInfo[] getAllChildNodes ()
final NodeInfo getAncestor (Pattern pat, Context c) throws SAXException
final ElementInfo getAncestor (Name name)
String getAttribute (String name)
AttributeCollection getAttributeList ()
Attr getAttributeNode (String name)
Attr getAttributeNodeNS (String namespaceURI, String localName)
String getAttributeNS (String namespaceURI, String localName)
NamedNodeMap getAttributes ()
String getAttributeValue (String name)
String getAttributeValue (Name name)
NodeList getChildNodes ()
int getColumnNumber ()
String getDisplayName ()
Element getDocumentElement ()
DocumentInfo getDocumentRoot ()
NodeList getElementsByTagName (String name)
NodeList getElementsByTagNameNS (String namespaceURI, String localName)
final Name getExpandedName ()
final NodeInfo getFirstChild (Pattern pattern, Context c) throws SAXException
Node getFirstChild ()
final int getIndex ()
String getInheritedAttribute (Name name) throws SAXException
final NodeInfo getLastChild (Pattern pattern, Context c) throws SAXException
Node getLastChild ()
int getLength ()
int getLineNumber ()
String getLocalName ()
Node getNamedItem (String name)
Node getNamedItemNS (String uri, String localName)
String getNamespaceURI ()
NodeInfo getNextInDocument (NodeInfo anchor)
final NodeInfo getNextSibling (Pattern pattern, Context c) throws SAXException
Node getNextSibling ()
String getNodeName ()
final short getNodeType ()
String getNodeValue ()
int getNumberAny (Pattern count, Pattern from, Context context) throws SAXException
Vector getNumberMulti (Pattern count, Pattern from, Context context) throws SAXException
int getNumberOfChildren ()
int getNumberSimple ()
int getNumberSimple (Context context)
int getNumberSingle (Pattern count, Pattern from, Context context) throws SAXException
Document getOwnerDocument ()
final Node getParentNode ()
String getPath ()
final String getPrefix ()
String getPrefixForURI (String uri)
final NodeInfo getPreviousInDocument (Pattern pattern, Context c) throws SAXException
NodeInfo getPreviousInDocument ()
final NodeInfo getPreviousSibling (Pattern pattern, Context c) throws SAXException
Node getPreviousSibling ()
String getPublicId ()
long getSequenceNumber ()
String getSequentialKey ()
final String getSystemId ()
String getTagName ()
final String getURI ()
String getURIforPrefix (String prefix) throws SAXException
String getValue ()
boolean hasAttribute (String name)
boolean hasAttributeNS (String namespaceURI, String localName)
boolean hasAttributes ()
boolean hasChildNodes ()
boolean hasName (Name name)
void initialise (Name name, AttributeCollection atts, NodeInfo parent, String baseURI, int lineNumber, int sequenceNumber) throws SAXException
Node insertBefore (Node newChild, Node refChild) throws DOMException
final boolean isa (int nodeType)
boolean isAncestor (NodeInfo other)
boolean isDocumentElement ()
boolean isFirstChild ()
boolean isFirstInGroup ()
boolean isLastChild ()
boolean isLastInGroup ()
boolean isSameNode (NodeInfo other)
boolean isSupported (String feature, String version)
Node item (int index)
AttributeInfo makeAttributeNode (Name attributeName)
final Name makeName (String qname, boolean useDefault) throws SAXException
final NameTest makePrefixTest (String wildcard) throws SAXException
void normalize ()
void outputNamespaceNodes (Outputter out) throws SAXException
void removeAttribute (String name)
Attr removeAttributeNode (Attr oldAttr) throws DOMException
void removeAttributeNS (String namespaceURI, String localName) throws DOMException
Node removeChild (Node oldChild) throws DOMException
void removeChild (int index)
Node removeNamedItem (String name) throws DOMException
Node removeNamedItemNS (String uri, String localName) throws DOMException
void removeNode () throws SAXException
void renumberChildren ()
Node replaceChild (Node newChild, Node oldChild) throws DOMException
void setAttribute (String name, String value) throws DOMException
Attr setAttributeNode (Attr newAttr) throws DOMException
Attr setAttributeNodeNS (Attr newAttr) throws DOMException
void setAttributeNS (String namespaceURI, String qualifiedName, String value) throws DOMException
void setLineNumber (int line)
Node setNamedItem (Node arg) throws DOMException
Node setNamedItemNS (Node arg) throws DOMException
void setNamespaceDeclarations (String[] namespaces, int namespacesUsed) throws SAXException
void setNodeValue (String nodeValue) throws DOMException
void setPrefix (String prefix) throws DOMException
boolean supports (String feature, String version)
String toString ()
void useChildrenArray (NodeImpl[] array)

Static Public Member Functions

static String getNodeTypeName (int type)

Static Public Attributes

static final short ATTRIBUTE = 2
static final short COMMENT = 8
static final short DOCUMENT = 4
static final short ELEMENT = 1
static final short NAMESPACE = 9
static final short NODE = 0
static final short NONE = 9999
static final short NUMBER_OF_TYPES = 10
static final short PI = 7
static final short TEXT = 3

Protected Member Functions

void disallowUpdate () throws DOMException
final NodeInfo getNthChild (int n)

Static Protected Member Functions

static String alphaKey (int value)

Protected Attributes

AttributeCollection attributeList
Name fullName
int index
String[] namespaceList = null
ParentNodeImpl parent
int sequence

Static Protected Attributes

static NodeInfo[] emptyArray = new NodeInfo[0]

Static Private Attributes

static AttributeCollection emptyAtts = new AttributeCollection()


class  NamespaceAttribute

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index