WD-DOM-Level-2-19990719


Appendix D: Java Language Binding

This appendix contains the complete Java bindings for the Level 2 Document Object Model. The definitions are divided into Core, Namespaces, Stylesheets, CSS, Events, Filters and Iterators, and Range.

The Java files are also available as http://www.w3.org/TR/1999/WD-DOM-Level-2-19990719/java-binding.zip

D.1: Document Object Model Level 2 Core

org/w3c/dom/DocumentType2.java:

package org.w3c.dom;

public interface DocumentType2 extends DocumentType {
  public String             getPublicID();
  public String             getSystemID();
}

org/w3c/dom/DOMImplementation2.java:

package org.w3c.dom;

public interface DOMImplementation2 extends DOMImplementation {
  public DocumentType       createDocumentType(String name, 
                                               String publicID, 
                                               String systemID)
                                               throws DOMException;
  public Document           createDocument(String name, 
                                           DocumentType doctype)
                                           throws DOMException;
}

org/w3c/dom/Document2.java:

package org.w3c.dom;

public interface Document2 extends Document {
  public Node               importNode(Node importedNode, 
                                       boolean deep);
}

org/w3c/dom/Node2.java:

package org.w3c.dom;

public interface Node2 extends Node {
  public boolean            supports(String feature, 
                                     String version);
}

org/w3c/dom/Attr2.java:

package org.w3c.dom;

public interface Attr2 extends Attr {
  public Element            getOwnerElement();
}

org/w3c/dom/HTMLDOMImplementation.java:

package org.w3c.dom;

public interface HTMLDOMImplementation extends DOMImplementation {
  public HTMLDocument       createHTMLDocument(String title);
}


D.2: Document Object Model Level 2 Namespaces

org/w3c/dom/namespaces/NodeNS.java:

package org.w3c.dom.namespaces;

import org.w3c.dom.*;

public interface NodeNS {
  public String             getNamespaceName();
  public String             getPrefix();
  public void               setPrefix(String prefix)
                                               throws DOMException;
  public String             getLocalName();
}

org/w3c/dom/namespaces/DocumentNS.java:

package org.w3c.dom.namespaces;

import org.w3c.dom.*;

public interface DocumentNS {
  public Element            createElementNS(String namespaceName, 
                                            String qualifiedName)
                                            throws DOMException;
  public Attr               createAttributeNS(String namespaceName, 
                                              String qualifiedName)
                                              throws DOMException;
  public NodeList           getElementsByTagNameNS(String namespaceName, 
                                                   String localName);
}

org/w3c/dom/namespaces/ElementNS.java:

package org.w3c.dom.namespaces;

import org.w3c.dom.*;

public interface ElementNS {
  public String             getAttributeNS(String namespaceName, 
                                           String localName);
  public void               setAttributeNS(String namespaceName, 
                                           String localName, 
                                           String value)
                                           throws DOMException;
  public void               removeAttributeNS(String namespaceName, 
                                              String localName)
                                              throws DOMException;
  public Attr               getAttributeNodeNS(String namespaceName, 
                                               String localName);
  public Attr               setAttributeNodeNS(Attr newAttr)
                                               throws DOMException;
  public NodeList           getElementsByTagNameNS(String namespaceName, 
                                                   String localName);
}

org/w3c/dom/namespaces/NodeNS.java:

package org.w3c.dom.namespaces;

import org.w3c.dom.*;

public interface NodeNS {
  public String             getUniversalName();
  public String             getNamespaceName();
  public String             getPrefix();
  public void               setPrefix(String prefix)
                                                   throws DOMException;
  public String             getLocalName();
}


D.3: Document Object Model Level 2 Stylesheets

org/w3c/dom/stylesheets/StyleSheet.java:

package org.w3c.dom.stylesheets;

import org.w3c.dom.*;

public interface StyleSheet {
  public String             getType();
  public boolean            getDisabled();
  public void               setDisabled(boolean disabled);
  public Node               getOwnerNode();
  public StyleSheet         getParentStyleSheet();
  public String             getHref();
  public String             getTitle();
  public MediaList          getMedia();
}

org/w3c/dom/stylesheets/StyleSheetList.java:

package org.w3c.dom.stylesheets;

import org.w3c.dom.*;

public interface StyleSheetList {
  public int                getLength();
  public StyleSheet         item(int index);
}

org/w3c/dom/stylesheets/MediaList.java:

package org.w3c.dom.stylesheets;

import org.w3c.dom.*;

public interface MediaList {
  public String             getCssText();
  public void               setCssText(String cssText)
                                 throws DOMException;
  public int                getLength();
  public String             item(int index);
  public void               delete(String oldMedium)
                                   throws DOMException;
  public void               append(String newMedium)
                                   throws DOMException;
}

org/w3c/dom/stylesheets/DocumentStyle.java:

package org.w3c.dom.stylesheets;

import org.w3c.dom.*;

public interface DocumentStyle {
  public StyleSheetList     getStyleSheets();
}


D.4: Document Object Model Level 2 CSS

org/w3c/dom/css/CSSStyleSheet.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSStyleSheet extends StyleSheet {
  public CSSRule            getOwnerRule();
  public CSSRuleList        getCssRules();
  public int                insertRule(String rule, 
                                       int index)
                                       throws DOMException;
  public void               deleteRule(int index)
                                       throws DOMException;
}

org/w3c/dom/css/CSSRuleList.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSRuleList {
  public int                getLength();
  public CSSRule            item(int index);
}

org/w3c/dom/css/CSSRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSRule {
  // RuleType
  public static final short           UNKNOWN_RULE         = 0;
  public static final short           STYLE_RULE           = 1;
  public static final short           CHARSET_RULE         = 2;
  public static final short           IMPORT_RULE          = 3;
  public static final short           MEDIA_RULE           = 4;
  public static final short           FONT_FACE_RULE       = 5;
  public static final short           PAGE_RULE            = 6;

  public short              getType();
  public String             getCssText();
  public void               setCssText(String cssText)
                                 throws DOMException;
  public CSSStyleSheet      getParentStyleSheet();
  public CSSRule            getParentRule();
}

org/w3c/dom/css/CSSStyleRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSStyleRule extends CSSRule {
  public String             getSelectorText();
  public void               setSelectorText(String selectorText)
                                 throws DOMException;
  public CSSStyleDeclaration getStyle();
}

org/w3c/dom/css/CSSMediaRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSMediaRule extends CSSRule {
  public MediaList          getMedia();
  public CSSRuleList        getCssRules();
  public int                insertRule(String rule, 
                                       int index)
                                       throws DOMException;
  public void               deleteRule(int index)
                                       throws DOMException;
}

org/w3c/dom/css/CSSFontFaceRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSFontFaceRule extends CSSRule {
  public CSSStyleDeclaration getStyle();
}

org/w3c/dom/css/CSSPageRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSPageRule extends CSSRule {
  public String             getSelectorText();
  public void               setSelectorText(String selectorText)
                                       throws DOMException;
  public CSSStyleDeclaration getStyle();
}

org/w3c/dom/css/CSSImportRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSImportRule extends CSSRule {
  public String             getHref();
  public MediaList          getMedia();
  public CSSStyleSheet      getStyleSheet();
}

org/w3c/dom/css/CSSCharsetRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSCharsetRule extends CSSRule {
  public String             getEncoding();
  public void               setEncoding(String encoding)
                                       throws DOMException;
}

org/w3c/dom/css/CSSUnknownRule.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSUnknownRule extends CSSRule {
}

org/w3c/dom/css/CSSStyleDeclaration.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSStyleDeclaration {
  public String             getCssText();
  public void               setCssText(String cssText)
                                       throws DOMException;
  public String             getPropertyValue(String propertyName);
  public CSSValue           getPropertyCSSValue(String propertyName);
  public String             removeProperty(String propertyName)
                                           throws DOMException;
  public String             getPropertyPriority(String propertyName);
  public void               setProperty(String propertyName, 
                                        String value, 
                                        String priority)
                                        throws DOMException;
  public int                getLength();
  public String             item(int index);
  public CSSRule            getParentRule();
}

org/w3c/dom/css/CSSValue.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSValue {
  // UnitTypes
  public static final short           CSS_PRIMITIVE_VALUE  = 0;
  public static final short           CSS_VALUE_LIST       = 1;
  public static final short           CSS_CUSTOM           = 2;

  public String             getCssText();
  public void               setCssText(String cssText)
                                 throws DOMException;
  public short              getValueType();
}

org/w3c/dom/css/CSSPrimitiveValue.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSPrimitiveValue extends CSSValue {
  // UnitTypes
  public static final short           CSS_UNKNOWN          = 0;
  public static final short           CSS_INHERIT          = 1;
  public static final short           CSS_NUMBER           = 2;
  public static final short           CSS_PERCENTAGE       = 3;
  public static final short           CSS_EMS              = 4;
  public static final short           CSS_EXS              = 5;
  public static final short           CSS_PX               = 6;
  public static final short           CSS_CM               = 7;
  public static final short           CSS_MM               = 8;
  public static final short           CSS_IN               = 9;
  public static final short           CSS_PT               = 10;
  public static final short           CSS_PC               = 11;
  public static final short           CSS_DEG              = 12;
  public static final short           CSS_RAD              = 13;
  public static final short           CSS_GRAD             = 14;
  public static final short           CSS_MS               = 15;
  public static final short           CSS_S                = 16;
  public static final short           CSS_HZ               = 17;
  public static final short           CSS_KHZ              = 18;
  public static final short           CSS_DIMENSION        = 19;
  public static final short           CSS_STRING           = 20;
  public static final short           CSS_URI              = 21;
  public static final short           CSS_IDENT            = 22;
  public static final short           CSS_ATTR             = 23;
  public static final short           CSS_COUNTER          = 24;
  public static final short           CSS_RECT             = 26;
  public static final short           CSS_RGBCOLOR         = 27;

  public short              getPrimitiveType();
  public void               setFloatValue(short unitType, 
                                          float floatValue)
                                          throws DOMException;
  public float              getFloatValue(short unitType)
                                          throws DOMException;
  public void               setStringValue(short stringType, 
                                           String stringValue)
                                           throws DOMException;
  public String             getStringValue()
                                           throws DOMException;
  public Counter            getCounterValue()
                                            throws DOMException;
  public Rect               getRectValue()
                                         throws DOMException;
  public RGBColor           getRGBColorValue()
                                             throws DOMException;
}

org/w3c/dom/css/CSSValueList.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSSValueList extends CSSValue {
  public int                getLength();
  public CSSValue           item(int index);
}

org/w3c/dom/css/RGBColor.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface RGBColor {
  public CSSValue           getRed();
  public void               setRed(CSSValue red);
  public CSSValue           getGreen();
  public void               setGreen(CSSValue green);
  public CSSValue           getBlue();
  public void               setBlue(CSSValue blue);
}

org/w3c/dom/css/Rect.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface Rect {
  public CSSValue           getTop();
  public void               setTop(CSSValue top);
  public CSSValue           getRight();
  public void               setRight(CSSValue right);
  public CSSValue           getBottom();
  public void               setBottom(CSSValue bottom);
  public CSSValue           getLeft();
  public void               setLeft(CSSValue left);
}

org/w3c/dom/css/Counter.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface Counter {
  public String             getIdentifier();
  public void               setIdentifier(String identifier);
  public String             getListStyle();
  public void               setListStyle(String listStyle);
  public String             getSeparator();
  public void               setSeparator(String separator);
}

org/w3c/dom/css/CSS2Azimuth.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2Azimuth extends CSSValue {
  public short              getAzimuthType();
  public String             getIdentifier();
  public boolean            getBehind();
  public void               setAngleValue(short unitType, 
                                          float floatValue)
                                          throws DOMException;
  public float              getAngleValue(short unitType)
                                          throws DOMException;
  public void               setIdentifier(String identifier, 
                                          boolean behind)
                                          throws DOMException;
}

org/w3c/dom/css/CSS2BackgroundPosition.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2BackgroundPosition extends CSSValue {
  public short              getHorizontalType();
  public short              getVerticalType();
  public String             getHorizontalIdentifier();
  public String             getVerticalIdentifier();
  public float              getHorizontalPosition(float horizontalType)
                                                  throws DOMException;
  public float              getVerticalPosition(float verticalType)
                                                throws DOMException;
  public void               setHorizontalPosition(short horizontalType, 
                                                  float value)
                                                  throws DOMException;
  public void               setVerticalPosition(short verticalType, 
                                                float value)
                                                throws DOMException;
  public void               setPositionIdentifier(String horizontalIdentifier, 
                                                  String verticalIdentifier)
                                                  throws DOMException;
}

org/w3c/dom/css/CSS2BorderSpacing.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2BorderSpacing extends CSSValue {
  public short              getHorizontalType();
  public short              getVerticalType();
  public float              getHorizontalSpacing(float horizontalType)
                                                 throws DOMException;
  public float              getVerticalSpacing(float verticalType)
                                               throws DOMException;
  public void               setHorizontalSpacing(short horizontalType, 
                                                 float value)
                                                 throws DOMException;
  public void               setVerticalSpacing(short verticalType, 
                                               float value)
                                               throws DOMException;
  public void               setInherit()();
}

org/w3c/dom/css/CSS2CounterReset.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2CounterReset {
  public String             getIdentifier();
  public void               setIdentifier(String identifier)
                                         throws DOMException;
  public short              getReset();
  public void               setReset(short reset)
                                         throws DOMException;
}

org/w3c/dom/css/CSS2CounterIncrement.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2CounterIncrement {
  public String             getIdentifier();
  public void               setIdentifier(String identifier)
                                         throws DOMException;
  public short              getIncrement();
  public void               setIncrement(short increment)
                                         throws DOMException;
}

org/w3c/dom/css/CSS2Cursor.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2Cursor extends CSSValue {
  public short              getCursorType();
  public void               setCursorType(short cursorType);
  public CSSValueList       getUris();
  public String             getPredefinedCursor();
  public void               setPredefinedCursor(String predefinedCursor)
                                         throws DOMException;
}

org/w3c/dom/css/CSS2PlayDuring.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2PlayDuring extends CSSValue {
  public short              getPlayDuringType();
  public String             getPlayDuringIdentifier();
  public void               setPlayDuringIdentifier(String playDuringIdentifier)
                                         throws DOMException;
  public String             getUri();
  public void               setUri(String uri)
                                         throws DOMException;
  public boolean            getMix();
  public void               setMix(boolean mix)
                                         throws DOMException;
  public boolean            getRepeat();
  public void               setRepeat(boolean repeat)
                                         throws DOMException;
}

org/w3c/dom/css/CSS2TextShadow.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2TextShadow {
  public CSSValue           getColor();
  public CSSValue           getHorizontal();
  public CSSValue           getVertical();
  public CSSValue           getBlur();
}

org/w3c/dom/css/CSS2FontFaceSrc.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2FontFaceSrc {
  public String             getUri();
  public void               setUri(String uri)
                                         throws DOMException;
  public CSSValueList       getFormat();
  public String             getFontFaceName();
  public void               setFontFaceName(String fontFaceName)
                                         throws DOMException;
}

org/w3c/dom/css/CSS2FontFaceWidths.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2FontFaceWidths {
  public String             getUrange();
  public void               setUrange(String urange)
                                         throws DOMException;
  public CSSValueList       getNumbers();
}

org/w3c/dom/css/CSS2PageSize.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2PageSize extends CSSValue {
  public short              getWidthType();
  public short              getHeightType();
  public String             getIdentifier();
  public float              getWidth(float widthType)
                                     throws DOMException;
  public float              getHeightSize(float heightType)
                                          throws DOMException;
  public void               setWidthSize(short widthType, 
                                         float value)
                                         throws DOMException;
  public void               setHeightSize(short heightType, 
                                          float value)
                                          throws DOMException;
  public void               setIdentifier(String identifier)
                                          throws DOMException;
}

org/w3c/dom/css/CSS2Properties.java:

package org.w3c.dom.css;

import org.w3c.dom.*;
import org.w3c.dom.stylesheets.*;

public interface CSS2Properties {
  public String             getAzimuth();
  public void               setAzimuth(String azimuth);
  public String             getBackground();
  public void               setBackground(String background);
  public String             getBackgroundAttachment();
  public void               setBackgroundAttachment(String backgroundAttachment);
  public String             getBackgroundColor();
  public void               setBackgroundColor(String backgroundColor);
  public String             getBackgroundImage();
  public void               setBackgroundImage(String backgroundImage);
  public String             getBackgroundPosition();
  public void               setBackgroundPosition(String backgroundPosition);
  public String             getBackgroundRepeat();
  public void               setBackgroundRepeat(String backgroundRepeat);
  public String             getBorder();
  public void               setBorder(String border);
  public String             getBorderCollapse();
  public void               setBorderCollapse(String borderCollapse);
  public String             getBorderColor();
  public void               setBorderColor(String borderColor);
  public String             getBorderSpacing();
  public void               setBorderSpacing(String borderSpacing);
  public String             getBorderStyle();
  public void               setBorderStyle(String borderStyle);
  public String             getBorderTop();
  public void               setBorderTop(String borderTop);
  public String             getBorderRight();
  public void               setBorderRight(String borderRight);
  public String             getBorderBottom();
  public void               setBorderBottom(String borderBottom);
  public String             getBorderLeft();
  public void               setBorderLeft(String borderLeft);
  public String             getBorderTopColor();
  public void               setBorderTopColor(String borderTopColor);
  public String             getBorderRightColor();
  public void               setBorderRightColor(String borderRightColor);
  public String             getBorderBottomColor();
  public void               setBorderBottomColor(String borderBottomColor);
  public String             getBorderLeftColor();
  public void               setBorderLeftColor(String borderLeftColor);
  public String             getBorderTopStyle();
  public void               setBorderTopStyle(String borderTopStyle);
  public String             getBorderRightStyle();
  public void               setBorderRightStyle(String borderRightStyle);
  public String             getBorderBottomStyle();
  public void               setBorderBottomStyle(String borderBottomStyle);
  public String             getBorderLeftStyle();
  public void               setBorderLeftStyle(String borderLeftStyle);
  public String             getBorderTopWidth();
  public void               setBorderTopWidth(String borderTopWidth);
  public String             getBorderRightWidth();
  public void               setBorderRightWidth(String borderRightWidth);
  public String             getBorderBottomWidth();
  public void               setBorderBottomWidth(String borderBottomWidth);
  public String             getBorderLeftWidth();
  public void               setBorderLeftWidth(String borderLeftWidth);
  public String             getBorderWidth();
  public void               setBorderWidth(String borderWidth);
  public String             getBottom();
  public void               setBottom(String bottom);
  public String             getCaptionSide();
  public void               setCaptionSide(String captionSide);
  public String             getClear();
  public void               setClear(String clear);
  public String             getClip();
  public void               setClip(String clip);
  public String             getColor();
  public void               setColor(String color);
  public String             getContent();
  public void               setContent(String content);
  public String             getCounterIncrement();
  public void               setCounterIncrement(String counterIncrement);
  public String             getCounterReset();
  public void               setCounterReset(String counterReset);
  public String             getCue();
  public void               setCue(String cue);
  public String             getCueAfter();
  public void               setCueAfter(String cueAfter);
  public String             getCueBefore();
  public void               setCueBefore(String cueBefore);
  public String             getCursor();
  public void               setCursor(String cursor);
  public String             getDirection();
  public void               setDirection(String direction);
  public String             getDisplay();
  public void               setDisplay(String display);
  public String             getElevation();
  public void               setElevation(String elevation);
  public String             getEmptyCells();
  public void               setEmptyCells(String emptyCells);
  public String             getCssFloat();
  public void               setCssFloat(String cssFloat);
  public String             getFont();
  public void               setFont(String font);
  public String             getFontFamily();
  public void               setFontFamily(String fontFamily);
  public String             getFontSize();
  public void               setFontSize(String fontSize);
  public String             getFontSizeAdjust();
  public void               setFontSizeAdjust(String fontSizeAdjust);
  public String             getFontStretch();
  public void               setFontStretch(String fontStretch);
  public String             getFontStyle();
  public void               setFontStyle(String fontStyle);
  public String             getFontVariant();
  public void               setFontVariant(String fontVariant);
  public String             getFontWeight();
  public void               setFontWeight(String fontWeight);
  public String             getHeight();
  public void               setHeight(String height);
  public String             getLeft();
  public void               setLeft(String left);
  public String             getLetterSpacing();
  public void               setLetterSpacing(String letterSpacing);
  public String             getLineHeight();
  public void               setLineHeight(String lineHeight);
  public String             getListStyle();
  public void               setListStyle(String listStyle);
  public String             getListStyleImage();
  public void               setListStyleImage(String listStyleImage);
  public String             getListStylePosition();
  public void               setListStylePosition(String listStylePosition);
  public String             getListStyleType();
  public void               setListStyleType(String listStyleType);
  public String             getMargin();
  public void               setMargin(String margin);
  public String             getMarginTop();
  public void               setMarginTop(String marginTop);
  public String             getMarginRight();
  public void               setMarginRight(String marginRight);
  public String             getMarginBottom();
  public void               setMarginBottom(String marginBottom);
  public String             getMarginLeft();
  public void               setMarginLeft(String marginLeft);
  public String             getMarkerOffset();
  public void               setMarkerOffset(String markerOffset);
  public String             getMarks();
  public void               setMarks(String marks);
  public String             getMaxHeight();
  public void               setMaxHeight(String maxHeight);
  public String             getMaxWidth();
  public void               setMaxWidth(String maxWidth);
  public String             getMinHeight();
  public void               setMinHeight(String minHeight);
  public String             getMinWidth();
  public void               setMinWidth(String minWidth);
  public String             getOrphans();
  public void               setOrphans(String orphans);
  public String             getOutline();
  public void               setOutline(String outline);
  public String             getOutlineColor();
  public void               setOutlineColor(String outlineColor);
  public String             getOutlineStyle();
  public void               setOutlineStyle(String outlineStyle);
  public String             getOutlineWidth();
  public void               setOutlineWidth(String outlineWidth);
  public String             getOverflow();
  public void               setOverflow(String overflow);
  public String             getPadding();
  public void               setPadding(String padding);
  public String             getPaddingTop();
  public void               setPaddingTop(String paddingTop);
  public String             getPaddingRight();
  public void               setPaddingRight(String paddingRight);
  public String             getPaddingBottom();
  public void               setPaddingBottom(String paddingBottom);
  public String             getPaddingLeft();
  public void               setPaddingLeft(String paddingLeft);
  public String             getPage();
  public void               setPage(String page);
  public String             getPageBreakAfter();
  public void               setPageBreakAfter(String pageBreakAfter);
  public String             getPageBreakBefore();
  public void               setPageBreakBefore(String pageBreakBefore);
  public String             getPageBreakInside();
  public void               setPageBreakInside(String pageBreakInside);
  public String             getPause();
  public void               setPause(String pause);
  public String             getPauseAfter();
  public void               setPauseAfter(String pauseAfter);
  public String             getPauseBefore();
  public void               setPauseBefore(String pauseBefore);
  public String             getPitch();
  public void               setPitch(String pitch);
  public String             getPitchRange();
  public void               setPitchRange(String pitchRange);
  public String             getPlayDuring();
  public void               setPlayDuring(String playDuring);
  public String             getPosition();
  public void               setPosition(String position);
  public String             getQuotes();
  public void               setQuotes(String quotes);
  public String             getRichness();
  public void               setRichness(String richness);
  public String             getRight();
  public void               setRight(String right);
  public String             getSize();
  public void               setSize(String size);
  public String             getSpeak();
  public void               setSpeak(String speak);
  public String             getSpeakHeader();
  public void               setSpeakHeader(String speakHeader);
  public String             getSpeakNumeral();
  public void               setSpeakNumeral(String speakNumeral);
  public String             getSpeakPunctuation();
  public void               setSpeakPunctuation(String speakPunctuation);
  public String             getSpeechRate();
  public void               setSpeechRate(String speechRate);
  public String             getStress();
  public void               setStress(String stress);
  public String             getTableLayout();
  public void               setTableLayout(String tableLayout);
  public String             getTextAlign();
  public void               setTextAlign(String textAlign);
  public String             getTextDecoration();
  public void               setTextDecoration(String textDecoration);
  public String             getTextIndent();
  public void               setTextIndent(String textIndent);
  public String             getTextShadow();
  public void               setTextShadow(String textShadow);
  public String             getTextTransform();
  public void               setTextTransform(String textTransform);
  public String             getTop();
  public void               setTop(String top);
  public String             getUnicodeBidi();
  public void               setUnicodeBidi(String unicodeBidi);
  public String             getVerticalAlign();
  public void               setVerticalAlign(String verticalAlign);
  public String             getVisibility();
  public void               setVisibility(String visibility);
  public String             getVoiceFamily();
  public void               setVoiceFamily(String voiceFamily);
  public String             getVolume();
  public void               setVolume(String volume);
  public String             getWhiteSpace();
  public void               setWhiteSpace(String whiteSpace);
  public String             getWidows();
  public void               setWidows(String widows);
  public String             getWidth();
  public void               setWidth(String width);
  public String             getWordSpacing();
  public void               setWordSpacing(String wordSpacing);
  public String             getZIndex();
  public void               setZIndex(String zIndex);
}


D.5: Document Object Model Level 2 Events

org/w3c/dom/events/EventTarget.java:

package org.w3c.dom.events;

import org.w3c.dom.*;

public interface EventTarget {
  public void               addEventListener(String type, 
                                             EventListener listener, 
                                             boolean useCapture);
  public void               removeEventListener(String type, 
                                                EventListener listener, 
                                                boolean useCapture);
}

org/w3c/dom/events/EventListener.java:

package org.w3c.dom.events;

import org.w3c.dom.*;

public interface EventListener {
  public void               handleEvent(Event event);
}

org/w3c/dom/events/Event.java:

package org.w3c.dom.events;

import org.w3c.dom.*;

public interface Event {
  // PhaseType
  public static final short           BUBBLING_PHASE       = 1;
  public static final short           CAPTURING_PHASE      = 2;
  public static final short           AT_TARGET            = 3;

  public String             getType();
  public void               setType(String type);
  public Node               getTarget();
  public void               setTarget(Node target);
  public Node               getCurrentNode();
  public void               setCurrentNode(Node currentNode);
  public short              getEventPhase();
  public void               setEventPhase(short eventPhase);
  public void               preventBubble();
  public void               preventCapture();
  public void               preventDefault();
}

org/w3c/dom/events/UIEvent.java:

package org.w3c.dom.events;

import org.w3c.dom.*;

public interface UIEvent extends Event {
  public static final int             CHAR_UNDEFINED       = 1;
  public static final int             KEY_FIRST            = 1;
  public static final int             KEY_LAST             = 1;
  public static final int             VK_0                 = 1;
  public static final int             VK_1                 = 1;
  public static final int             VK_2                 = 1;
  public static final int             VK_3                 = 1;
  public static final int             VK_4                 = 1;
  public static final int             VK_5                 = 1;
  public static final int             VK_6                 = 1;
  public static final int             VK_7                 = 1;
  public static final int             VK_8                 = 1;
  public static final int             VK_9                 = 1;
  public static final int             VK_A                 = 1;
  public static final int             VK_ACCEPT            = 1;
  public static final int             VK_ADD               = 1;
  public static final int             VK_AGAIN             = 1;
  public static final int             VK_ALL_CANDIDATES    = 1;
  public static final int             VK_ALPHANUMERIC      = 1;
  public static final int             VK_ALT               = 1;
  public static final int             VK_ALT_GRAPH         = 1;
  public static final int             VK_AMPERSAND         = 1;
  public static final int             VK_ASTERISK          = 1;
  public static final int             VK_AT                = 1;
  public static final int             VK_B                 = 1;
  public static final int             VK_BACK_QUOTE        = 1;
  public static final int             VK_BACK_SLASH        = 1;
  public static final int             VK_BACK_SPACE        = 1;
  public static final int             VK_BRACELEFT         = 1;
  public static final int             VK_BRACERIGHT        = 1;
  public static final int             VK_C                 = 1;
  public static final int             VK_CANCEL            = 1;
  public static final int             VK_CAPS_LOCK         = 1;
  public static final int             VK_CIRCUMFLEX        = 1;
  public static final int             VK_CLEAR             = 1;
  public static final int             VK_CLOSE_BRACKET     = 1;
  public static final int             VK_CODE_INPUT        = 1;
  public static final int             VK_COLON             = 1;
  public static final int             VK_COMMA             = 1;
  public static final int             VK_COMPOSE           = 1;
  public static final int             VK_CONTROL           = 1;
  public static final int             VK_CONVERT           = 1;
  public static final int             VK_COPY              = 1;
  public static final int             VK_CUT               = 1;
  public static final int             VK_D                 = 1;
  public static final int             VK_DEAD_ABOVEDOT     = 1;
  public static final int             VK_DEAD_ABOVERING    = 1;
  public static final int             VK_DEAD_ACUTE        = 1;
  public static final int             VK_DEAD_BREVE        = 1;
  public static final int             VK_DEAD_CARON        = 1;
  public static final int             VK_DEAD_CEDILLA      = 1;
  public static final int             VK_DEAD_CIRCUMFLEX   = 1;
  public static final int             VK_DEAD_DIAERESIS    = 1;
  public static final int             VK_DEAD_DOUBLEACUTE  = 1;
  public static final int             VK_DEAD_GRAVE        = 1;
  public static final int             VK_DEAD_IOTA         = 1;
  public static final int             VK_DEAD_MACRON       = 1;
  public static final int             VK_DEAD_OGONEK       = 1;
  public static final int             VK_DEAD_SEMIVOICED_SOUND = 1;
  public static final int             VK_DEAD_TILDE        = 1;
  public static final int             VK_DEAD_VOICED_SOUND = 1;
  public static final int             VK_DECIMAL           = 1;
  public static final int             VK_DELETE            = 1;
  public static final int             VK_DIVIDE            = 1;
  public static final int             VK_DOLLAR            = 1;
  public static final int             VK_DOWN              = 1;
  public static final int             VK_E                 = 1;
  public static final int             VK_END               = 1;
  public static final int             VK_ENTER             = 1;
  public static final int             VK_EQUALS            = 1;
  public static final int             VK_ESCAPE            = 1;
  public static final int             VK_EURO_SIGN         = 1;
  public static final int             VK_EXCLAMATION_MARK  = 1;
  public static final int             VK_F                 = 1;
  public static final int             VK_F1                = 1;
  public static final int             VK_F10               = 1;
  public static final int             VK_F11               = 1;
  public static final int             VK_F12               = 1;
  public static final int             VK_F13               = 1;
  public static final int             VK_F14               = 1;
  public static final int             VK_F15               = 1;
  public static final int             VK_F16               = 1;
  public static final int             VK_F17               = 1;
  public static final int             VK_F18               = 1;
  public static final int             VK_F19               = 1;
  public static final int             VK_F2                = 1;
  public static final int             VK_F20               = 1;
  public static final int             VK_F21               = 1;
  public static final int             VK_F22               = 1;
  public static final int             VK_F23               = 1;
  public static final int             VK_F24               = 1;
  public static final int             VK_F3                = 1;
  public static final int             VK_F4                = 1;
  public static final int             VK_F5                = 1;
  public static final int             VK_F6                = 1;
  public static final int             VK_F7                = 1;
  public static final int             VK_F8                = 1;
  public static final int             VK_F9                = 1;
  public static final int             VK_FINAL             = 1;
  public static final int             VK_FIND              = 1;
  public static final int             VK_FULL_WIDTH        = 1;
  public static final int             VK_G                 = 1;
  public static final int             VK_GREATER           = 1;
  public static final int             VK_H                 = 1;
  public static final int             VK_HALF_WIDTH        = 1;
  public static final int             VK_HELP              = 1;
  public static final int             VK_HIRAGANA          = 1;
  public static final int             VK_HOME              = 1;
  public static final int             VK_I                 = 1;
  public static final int             VK_INSERT            = 1;
  public static final int             VK_INVERTED_EXCLAMATION_MARK = 1;
  public static final int             VK_J                 = 1;
  public static final int             VK_JAPANESE_HIRAGANA = 1;
  public static final int             VK_JAPANESE_KATAKANA = 1;
  public static final int             VK_JAPANESE_ROMAN    = 1;
  public static final int             VK_K                 = 1;
  public static final int             VK_KANA              = 1;
  public static final int             VK_KANJI             = 1;
  public static final int             VK_KATAKANA          = 1;
  public static final int             VK_KP_DOWN           = 1;
  public static final int             VK_KP_LEFT           = 1;
  public static final int             VK_KP_RIGHT          = 1;
  public static final int             VK_KP_UP             = 1;
  public static final int             VK_L                 = 1;
  public static final int             VK_LEFT              = 1;
  public static final int             VK_LEFT_PARENTHESIS  = 1;
  public static final int             VK_LESS              = 1;
  public static final int             VK_M                 = 1;
  public static final int             VK_META              = 1;
  public static final int             VK_MINUS             = 1;
  public static final int             VK_MODECHANGE        = 1;
  public static final int             VK_MULTIPLY          = 1;
  public static final int             VK_N                 = 1;
  public static final int             VK_NONCONVERT        = 1;
  public static final int             VK_NUM_LOCK          = 1;
  public static final int             VK_NUMBER_SIGN       = 1;
  public static final int             VK_NUMPAD0           = 1;
  public static final int             VK_NUMPAD1           = 1;
  public static final int             VK_NUMPAD2           = 1;
  public static final int             VK_NUMPAD3           = 1;
  public static final int             VK_NUMPAD4           = 1;
  public static final int             VK_NUMPAD5           = 1;
  public static final int             VK_NUMPAD6           = 1;
  public static final int             VK_NUMPAD7           = 1;
  public static final int             VK_NUMPAD8           = 1;
  public static final int             VK_NUMPAD9           = 1;
  public static final int             VK_O                 = 1;
  public static final int             VK_OPEN_BRACKET      = 1;
  public static final int             VK_P                 = 1;
  public static final int             VK_PAGE_DOWN         = 1;
  public static final int             VK_PAGE_UP           = 1;
  public static final int             VK_PASTE             = 1;
  public static final int             VK_PAUSE             = 1;
  public static final int             VK_PERIOD            = 1;
  public static final int             VK_PLUS              = 1;
  public static final int             VK_PREVIOUS_CANDIDATE = 1;
  public static final int             VK_PRINTSCREEN       = 1;
  public static final int             VK_PROPS             = 1;
  public static final int             VK_Q                 = 1;
  public static final int             VK_QUOTE             = 1;
  public static final int             VK_QUOTEDBL          = 1;
  public static final int             VK_R                 = 1;
  public static final int             VK_RIGHT             = 1;
  public static final int             VK_RIGHT_PARENTHESIS = 1;
  public static final int             VK_ROMAN_CHARACTERS  = 1;
  public static final int             VK_S                 = 1;
  public static final int             VK_SCROLL_LOCK       = 1;
  public static final int             VK_SEMICOLON         = 1;
  public static final int             VK_SEPARATER         = 1;
  public static final int             VK_SHIFT             = 1;
  public static final int             VK_SLASH             = 1;
  public static final int             VK_SPACE             = 1;
  public static final int             VK_STOP              = 1;
  public static final int             VK_SUBTRACT          = 1;
  public static final int             VK_T                 = 1;
  public static final int             VK_TAB               = 1;
  public static final int             VK_U                 = 1;
  public static final int             VK_UNDEFINED         = 1;
  public static final int             VK_UNDERSCORE        = 1;
  public static final int             VK_UNDO              = 1;
  public static final int             VK_UP                = 1;
  public static final int             VK_V                 = 1;
  public static final int             VK_W                 = 1;
  public static final int             VK_X                 = 1;
  public static final int             VK_Y                 = 1;
  public static final int             VK_Z                 = 1;
  public int                getScreenX();
  public void               setScreenX(int screenX);
  public int                getScreenY();
  public void               setScreenY(int screenY);
  public int                getClientX();
  public void               setClientX(int clientX);
  public int                getClientY();
  public void               setClientY(int clientY);
  public boolean            getCtrlKey();
  public void               setCtrlKey(boolean ctrlKey);
  public boolean            getShiftKey();
  public void               setShiftKey(boolean shiftKey);
  public boolean            getAltKey();
  public void               setAltKey(boolean altKey);
  public boolean            getMetaKey();
  public void               setMetaKey(boolean metaKey);
  public int                getKeyCode();
  public void               setKeyCode(int keyCode);
  public int                getCharCode();
  public void               setCharCode(int charCode);
  public short              getButton();
  public void               setButton(short button);
  public short              getClickCount();
  public void               setClickCount(short clickCount);
}

org/w3c/dom/events/MutationEvent.java:

package org.w3c.dom.events;

import org.w3c.dom.*;

public interface MutationEvent extends Event {
  public Node               getRelatedNode();
  public void               setRelatedNode(Node relatedNode);
  public String             getPrevValue();
  public void               setPrevValue(String prevValue);
  public String             getNewValue();
  public void               setNewValue(String newValue);
  public String             getAttrName();
  public void               setAttrName(String attrName);
}


D.6: Document Object Model Level 2 Filters and Iterators

org/w3c/dom/fi/NodeIterator.java:

package org.w3c.dom.fi;

import org.w3c.dom.*;

public interface NodeIterator {
  public int                getWhatToShow();
  // Constants for whatToShow
  public static final int             SHOW_ALL             = 0xFFFF;
  public static final int             SHOW_ELEMENT         = 0x00000001;
  public static final int             SHOW_ATTRIBUTE       = 0x00000002;
  public static final int             SHOW_TEXT            = 0x00000004;
  public static final int             SHOW_CDATA_SECTION   = 0x00000008;
  public static final int             SHOW_ENTITY_REFERENCE = 0x00000010;
  public static final int             SHOW_ENTITY          = 0x00000020;
  public static final int             SHOW_PROCESSING_INSTRUCTION = 0x00000040;
  public static final int             SHOW_COMMENT         = 0x00000080;
  public static final int             SHOW_DOCUMENT        = 0x00000100;
  public static final int             SHOW_DOCUMENT_TYPE   = 0x00000200;
  public static final int             SHOW_DOCUMENT_FRAGMENT = 0x00000400;
  public static final int             SHOW_NOTATION        = 0x00000800;

  public NodeFilter         getFilter();
  public Node               nextNode();
  public Node               previousNode();
}

org/w3c/dom/fi/NodeFilter.java:

package org.w3c.dom.fi;

import org.w3c.dom.*;

public interface NodeFilter {
  // Constants returned by acceptNode
  public static final short           FILTER_ACCEPT        = 1;
  public static final short           FILTER_REJECT        = 2;
  public static final short           FILTER_SKIP          = 3;

  public short              acceptNode(Node n);
}

org/w3c/dom/fi/TreeWalker.java:

package org.w3c.dom.fi;

import org.w3c.dom.*;

public interface TreeWalker {
  public int                getWhatToShow();
  // Constants for whatToShow
  public static final int             SHOW_ALL             = 0xFFFF;
  public static final int             SHOW_ELEMENT         = 0x00000001;
  public static final int             SHOW_ATTRIBUTE       = 0x00000002;
  public static final int             SHOW_TEXT            = 0x00000004;
  public static final int             SHOW_CDATA_SECTION   = 0x00000008;
  public static final int             SHOW_ENTITY_REFERENCE = 0x00000010;
  public static final int             SHOW_ENTITY          = 0x00000020;
  public static final int             SHOW_PROCESSING_INSTRUCTION = 0x00000040;
  public static final int             SHOW_COMMENT         = 0x00000080;
  public static final int             SHOW_DOCUMENT        = 0x00000100;
  public static final int             SHOW_DOCUMENT_TYPE   = 0x00000200;
  public static final int             SHOW_DOCUMENT_FRAGMENT = 0x00000400;
  public static final int             SHOW_NOTATION        = 0x00000800;

  public NodeFilter         getFilter();
  public Node               current();
  public Node               parentNode();
  public Node               firstChild();
  public Node               lastChild();
  public Node               previousSibling();
  public Node               nextSibling();
}

org/w3c/dom/fi/DocumentIF.java:

package org.w3c.dom.fi;

import org.w3c.dom.*;

public interface DocumentIF {
  public short              createNodeIterator(Node root, 
                                               short whatToShow, 
                                               NodeFilter filter);
}


D.7: Document Object Model Level 2 Range

org/w3c/dom/range/RangeException.java:

package org.w3c.dom.range;

import org.w3c.dom.*;

public abstract class RangeException extends RuntimeException {
  public RangeException(short code, String message) {
     super(message);
     this.code = code;
  }
  public short   code;
  // RangeExceptionCode
  public static final short           BAD_ENDPOINTS_ERR    = 201;
  public static final short           INVALID_NODE_TYPE_ERR = 202;
  public static final short           NULL_NODE_ERR        = 203;

}

org/w3c/dom/range/Range.java:

package org.w3c.dom.range;

import org.w3c.dom.*;

public interface Range {
  public Node               getStartContainer();
  public int                getStartOffset();
  public Node               getEndContainer();
  public int                getEndOffset();
  public boolean            getIsCollapsed();
  public Node               getCommonAncestorContainer();
  public void               setStart(Node node, 
                                     int offset)
                                     throws RangeException;
  public void               setEnd(Node node, 
                                   int offset)
                                   throws RangeException;
  public void               setStartBefore(Node node)
                                           throws RangeException;
  public void               setStartAfter(Node node)
                                          throws RangeException;
  public void               setEndBefore(Node node)
                                         throws RangeException;
  public void               setEndAfter(Node node)
                                        throws RangeException;
  public void               collapse(boolean toStart);
  public void               selectNode(Node node)
                                       throws RangeException;
  public void               selectNodeContents(Node node)
                                               throws RangeException;

  public static final int StartToStart = 1;
  public static final int StartToEnd   = 2;
  public static final int EndToEnd     = 3;
  public static final int EndToStart   = 4;


  public short              compareEndPoints(int how, 
                                             Range sourceRange)
                                             throws DOMException;
  public void               deleteContents()
                                           throws DOMException;
  public DocumentFragment   extractContents()
                                            throws DOMException;
  public DocumentFragment   cloneContents()
                                          throws DOMException;
  public void               insertNode(Node node)
                                       throws DOMException, RangeException;
  public void               surroundContents(Node node)
                                             throws DOMException, RangeException;
  public Range              cloneRange();
  public String             toString();
}