2005/5/9

     
 

namespace org::w3c::dom

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

org::w3c::dom Namespace Reference


Detailed Description

Interfaces Document acdk::lang::Object Model for XML files.


Compounds

class  Attr
 The Attr interface represents an attribute in an Element object. More...

class  Branch
 Extension inspired by dom4j. More...

class  CDATASection
 CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. More...

class  CharacterData
 The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM. More...

class  Comment
 This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!--' and ending '-->'. More...

class  Document
 The Document interface represents the entire HTML or XML document. More...

class  DocumentFragment
 DocumentFragment is a lightweight or minimal Document object. More...

class  DocumentType
 Each Document has a doctype attribute whose value is either null or a DocumentType object. More...

class  DOMConfiguration
 Interface documentation The DOMConfiguration interface represents the configuration of a document and maintains a table of recognized parameters. More...

class  DOMError
 DOMError is an interface that describes an error. More...

class  DOMErrorHandler
 DOMErrorHandler is a callback interface that the DOM implementation can call when reporting errors that happens while processing XML data, or when doing some other processing (e.g. More...

class  DOMException
 DOM operations only raise exceptions in exceptional circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable). More...

class  DOMImplementation
 The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. More...

class  DOMLocator
 DOMLocator is an interface that describes a location (e.g. More...

class  DOMWriter
 The DOMWriter class is an ACDK extension, not specified by w3c org. More...

class  DOMWriterFormat
 defines a format for writing a dom More...

class  Element
 The Element interface represents an element in an HTML or XML document. More...

class  Entity
 This interface represents a known entity, either parsed or unparsed, in an XML document. More...

class  EntityReference
 EntityReference nodes may be used to represent an entity reference in the tree. More...

class  NamedNodeMap
 Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name. More...

class  Node
 The Node interface is the primary datatype for the entire Document acdk::lang::Object Model. More...

class  NodeList
 The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. More...

class  NodeListIterator
 internal implementation for NodeList::iterator() method More...

class  Notation
 This interface represents a notation declared in the DTD. More...

class  ProcessingInstruction
 The ProcessingInstruction interface represents a processing instruction, used in XML as a way to keep processor-specific information in the text of the document. More...

class  Text
 The Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr. More...


Enumerations

enum  ErrorSeverity { SevertyWarning = 1, SevertyError = 2, SevertyFatalError = 3 }
enum  ErrorCodes {
  INDEX_SIZE_ERR = 1, DOMSTRING_SIZE_ERR = 2, HIERARCHY_REQUEST_ERR = 3, WRONG_DOCUMENT_ERR = 4,
  INVALID_CHARACTER_ERR = 5, NO_DATA_ALLOWED_ERR = 6, NO_MODIFICATION_ALLOWED_ERR = 7, NOT_FOUND_ERR = 8,
  NOT_SUPPORTED_ERR = 9, INUSE_ATTRIBUTE_ERR = 10, INVALID_STATE_ERR = 11, SYNTAX_ERR = 12,
  INVALID_MODIFICATION_ERR = 13, NAMESPACE_ERR = 14, INVALID_ACCESS_ERR = 15, VALIDATION_ERR = 16,
  TYPE_MISMATCH_ERR = 17
}
enum  DOMWriterFormatFlags {
  DWFFNewLines = 0x0001, DWFFSuppressEncodingDecl = 0x0002, DWFFWithNewLinesAfterDecl = 0x0004, DWFFExpandEmptyElements = 0x0008,
  DWFFTrimText = 0x0010, DWFFPadText = 0x0020, DWFFSuppressXmlDecl = 0x0040, DWFFDefaultXmlFlags = 0,
  DWFFCompactFlags = 0, DWFFPrettyFlags = DWFFNewLines | DWFFWithNewLinesAfterDecl | DWFFNewLines
}
enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4,
  ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8,
  DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11, NOTATION_NODE = 12
}
 defines the type of a Node More...

enum  DocumentPosition {
  DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04, DOCUMENT_POSITION_CONTAINS = 0x08,
  DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
}
enum  NodeWriteFlags { NWFWithIndent = 0x01, NWFWHtmlAsXml = 0x10, NWFWDefaultFlags = NWFWithIndent }
 used in Node::write More...


Enumeration Type Documentation

enum org::w3c::dom::DocumentPosition
 

Enumeration values:
DOCUMENT_POSITION_DISCONNECTED  The two nodes are disconnected.

Order between disconnected nodes is always implementation-specific.

DOCUMENT_POSITION_PRECEDING  The second node precedes the reference node.
DOCUMENT_POSITION_FOLLOWING  The node follows the reference node.
DOCUMENT_POSITION_CONTAINS  The node contains the reference node.

A node which contains is always preceding, too.

DOCUMENT_POSITION_CONTAINED_BY  The node is contained by the reference node.

A node which is contained is always following, too.

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC  The determination of preceding versus following is implementation-specific.

enum org::w3c::dom::DOMWriterFormatFlags
 

Enumeration values:
DWFFNewLines  print new lines
DWFFSuppressEncodingDecl  print xml encoding in declaration
DWFFWithNewLinesAfterDecl  print a new line after each declaration
DWFFExpandEmptyElements  write empty tags with open and close tag
DWFFTrimText  Trim the text elements.
DWFFPadText  use this if to add a single white space after text, but before (child) start tag
DWFFSuppressXmlDecl  don't print XML decl at start of document
DWFFDefaultXmlFlags 
DWFFCompactFlags 
DWFFPrettyFlags 

enum org::w3c::dom::ErrorCodes
 

Enumeration values:
INDEX_SIZE_ERR  If index or size is negative, or greater than the allowed value.
DOMSTRING_SIZE_ERR  If the specified range of text does not fit into a DOMString.
HIERARCHY_REQUEST_ERR  If any Node is inserted somewhere it doesn't belong.
WRONG_DOCUMENT_ERR  If a Node is used in a different document than the one that created it (that doesn't support it).
INVALID_CHARACTER_ERR  If an invalid or illegal character is specified, such as in an XML name.
NO_DATA_ALLOWED_ERR  If data is specified for a Node which does not support data.
NO_MODIFICATION_ALLOWED_ERR  If an attempt is made to modify an object where modifications are not allowed.
NOT_FOUND_ERR  If an attempt is made to reference a Node in a context where it does not exist.
NOT_SUPPORTED_ERR  If the implementation does not support the requested type of object or operation.
INUSE_ATTRIBUTE_ERR  If an attempt is made to add an attribute that is already in use elsewhere.
INVALID_STATE_ERR  If an attempt is made to use an object that is not, or is no longer, usable.

Since:
DOM Level 2
SYNTAX_ERR  If an invalid or illegal string is specified.

Since:
DOM Level 2
INVALID_MODIFICATION_ERR  If an attempt is made to modify the type of the underlying object.

Since:
DOM Level 2
NAMESPACE_ERR  If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

Since:
DOM Level 2
INVALID_ACCESS_ERR  If a parameter or an operation is not supported by the underlying object.

Since:
DOM Level 2
VALIDATION_ERR  If a call to a method such as insertBefore or removeChild would make the Node invalid with respect to partial validity, this exception would be raised and the operation would not be done.

This code is used in [DOM Level 3 Validation] . Refer to this specification for further information.

Since:
DOM Level 3
TYPE_MISMATCH_ERR  If the type of an object is incompatible with the expected type of the parameter associated to the object.

Since:
DOM Level 3

enum org::w3c::dom::ErrorSeverity
 

Enumeration values:
SevertyWarning  The severity of the error described by the DOMError is warning.

A SEVERITY_WARNING will not cause the processing to stop, unless DOMErrorHandler::handleError() returns false.

SevertyError  The severity of the error described by the DOMError is error.

A SEVERITY_ERROR may not cause the processing to stop if the error can be recovered, unless DOMErrorHandler::handleError() returns false.

SevertyFatalError  The severity of the error described by the DOMError is fatal error.

A SEVERITY_FATAL_ERROR will cause the normal processing to stop. The return value of DOMErrorHandler::handleError() is ignored unless the implementation chooses to continue, in which case the behavior becomes undefined.

enum org::w3c::dom::NodeType
 

defines the type of a Node

Enumeration values:
ELEMENT_NODE  The node is an Element.
ATTRIBUTE_NODE  The node is an Element.
TEXT_NODE  The node is a Text node.
CDATA_SECTION_NODE  The node is a CDATASection.
ENTITY_REFERENCE_NODE  The node is an EntityReference.
ENTITY_NODE  The node is an Entity.
PROCESSING_INSTRUCTION_NODE  The node is a ProcessingInstruction.
COMMENT_NODE  The node is a Comment.
DOCUMENT_NODE  The node is a Document.
DOCUMENT_TYPE_NODE  The node is a DocumentType.
DOCUMENT_FRAGMENT_NODE  The node is a DocumentFragment.
NOTATION_NODE  The node is a Notation.

enum org::w3c::dom::NodeWriteFlags
 

used in Node::write

Enumeration values:
NWFWithIndent 
NWFWHtmlAsXml 
NWFWDefaultFlags