mrglavas 2005-06-10 15:52:57 +00:00
parent cf533ed88b
commit c3fa88a3b2
10 changed files with 10 additions and 533 deletions

File diff suppressed because it is too large Load Diff

View File

@ -35,11 +35,6 @@ import org.w3c.dom.DOMException;
public interface CSSCharsetRule extends CSSRule { public interface CSSCharsetRule extends CSSRule {
/** /**
* The encoding information used in this <code>@charset</code> rule. * The encoding information used in this <code>@charset</code> rule.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified encoding value has a syntax error
* and is unparsable.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is
* readonly.
*/ */
public String getEncoding(); public String getEncoding();
/** /**

View File

@ -24,10 +24,6 @@ import org.w3c.dom.DOMException;
public interface CSSPageRule extends CSSRule { public interface CSSPageRule extends CSSRule {
/** /**
* The parsable textual representation of the page selector for the rule. * The parsable textual representation of the page selector for the rule.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified CSS string value has a syntax
* error and is unparsable.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is readonly.
*/ */
public String getSelectorText(); public String getSelectorText();
/** /**

View File

@ -65,14 +65,6 @@ public interface CSSRule {
/** /**
* The parsable textual representation of the rule. This reflects the * The parsable textual representation of the rule. This reflects the
* current state of the rule and not its initial value. * current state of the rule and not its initial value.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified CSS string value has a syntax
* error and is unparsable.
* <br>INVALID_MODIFICATION_ERR: Raised if the specified CSS string
* value represents a different type of rule than the current one.
* <br>HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
* this point in the style sheet.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if the rule is readonly.
*/ */
public String getCssText(); public String getCssText();
/** /**

View File

@ -40,11 +40,6 @@ public interface CSSStyleDeclaration {
* result in the parsing of the new value and resetting of all the * result in the parsing of the new value and resetting of all the
* properties in the declaration block including the removal or addition * properties in the declaration block including the removal or addition
* of properties. * of properties.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified CSS string value has a syntax
* error and is unparsable.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
* readonly or a property is readonly.
*/ */
public String getCssText(); public String getCssText();
/** /**
@ -106,24 +101,27 @@ public interface CSSStyleDeclaration {
/** /**
* Used to retrieve the priority of a CSS property (e.g. the * Used to retrieve the priority of a CSS property (e.g. the
* <code>"important"</code> qualifier) if the property has been * <code>"important"</code> qualifier) if the priority has been
* explicitly set in this declaration block. * explicitly set in this declaration block.
* @param propertyName The name of the CSS property. See the CSS * @param propertyName The name of the CSS property. See the CSS
* property index. * property index.
* @return A string representing the priority (e.g. * @return A string representing the priority (e.g.
* <code>"important"</code>) if one exists. The empty string if none * <code>"important"</code>) if the property has been explicitly set
* exists. * in this declaration block and has a priority specified. The empty
* string otherwise.
*/ */
public String getPropertyPriority(String propertyName); public String getPropertyPriority(String propertyName);
/** /**
* Used to set a property value and priority within this declaration * Used to set a property value and priority within this declaration
* block. * block. <code>setProperty</code> permits to modify a property or add a
* new one in the declaration block. Any call to this method may modify
* the order of properties in the <code>item</code> method.
* @param propertyName The name of the CSS property. See the CSS * @param propertyName The name of the CSS property. See the CSS
* property index. * property index.
* @param value The new value of the property. * @param value The new value of the property.
* @param priority The new priority of the property (e.g. * @param priority The new priority of the property (e.g.
* <code>"important"</code>). * <code>"important"</code>) or the empty string if none.
* @exception DOMException * @exception DOMException
* SYNTAX_ERR: Raised if the specified value has a syntax error and is * SYNTAX_ERR: Raised if the specified value has a syntax error and is
* unparsable. * unparsable.

View File

@ -25,10 +25,6 @@ public interface CSSStyleRule extends CSSRule {
* The textual representation of the selector for the rule set. The * The textual representation of the selector for the rule set. The
* implementation may have stripped out insignificant whitespace while * implementation may have stripped out insignificant whitespace while
* parsing the selector. * parsing the selector.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified CSS string value has a syntax
* error and is unparsable.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is readonly.
*/ */
public String getSelectorText(); public String getSelectorText();
/** /**

View File

@ -48,13 +48,6 @@ public interface CSSValue {
/** /**
* A string representation of the current value. * A string representation of the current value.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified CSS string value has a syntax
* error (according to the attached property) or is unparsable.
* <br>INVALID_MODIFICATION_ERR: Raised if the specified CSS string
* value represents a different type of values than the values allowed
* by the CSS property.
* <br> NO_MODIFICATION_ALLOWED_ERR: Raised if this value is readonly.
*/ */
public String getCssText(); public String getCssText();
/** /**

View File

@ -30,7 +30,7 @@ import org.w3c.dom.views.AbstractView;
*/ */
public interface ViewCSS extends AbstractView { public interface ViewCSS extends AbstractView {
/** /**
* This method is used to get the computed style as it is defined in . * This method is used to get the computed style as it is defined in [<a href='http://www.w3.org/TR/1998/REC-CSS2-19980512'>CSS2</a>].
* @param elt The element whose style is to be computed. This parameter * @param elt The element whose style is to be computed. This parameter
* cannot be null. * cannot be null.
* @param pseudoElt The pseudo-element or <code>null</code> if none. * @param pseudoElt The pseudo-element or <code>null</code> if none.

View File

@ -27,7 +27,7 @@ public interface DocumentStyle {
* embedded in a document. For HTML documents, this includes external * embedded in a document. For HTML documents, this includes external
* style sheets, included via the HTML LINK element, and inline STYLE * style sheets, included via the HTML LINK element, and inline STYLE
* elements. In XML, this includes external style sheets, included via * elements. In XML, this includes external style sheets, included via
* style sheet processing instructions (see ). * style sheet processing instructions (see [XML StyleSheet]).
*/ */
public StyleSheetList getStyleSheets(); public StyleSheetList getStyleSheets();

View File

@ -28,11 +28,6 @@ public interface MediaList {
/** /**
* The parsable textual representation of the media list. This is a * The parsable textual representation of the media list. This is a
* comma-separated list of media. * comma-separated list of media.
* @exception DOMException
* SYNTAX_ERR: Raised if the specified string value has a syntax error
* and is unparsable.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this media list is
* readonly.
*/ */
public String getMediaText(); public String getMediaText();
/** /**