com.steadystate.css.dom
Class CSSPageRuleImpl

java.lang.Object
  extended by com.steadystate.css.dom.CSSOMObjectImpl
      extended by com.steadystate.css.dom.AbstractCSSRuleImpl
          extended by com.steadystate.css.dom.CSSPageRuleImpl
All Implemented Interfaces:
CSSOMObject, java.io.Serializable, org.w3c.dom.css.CSSPageRule, org.w3c.dom.css.CSSRule

public class CSSPageRuleImpl
extends AbstractCSSRuleImpl
implements org.w3c.dom.css.CSSPageRule, java.io.Serializable

Implementation of CSSPageRule. TODO: Implement setSelectorText()

Version:
$Id: CSSPageRuleImpl.java,v 1.2 2008/03/26 02:17:24 sdanig Exp $
Author:
David Schweinsberg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.steadystate.css.dom.AbstractCSSRuleImpl
parentRule, parentStyleSheet
 
Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
 
Constructor Summary
CSSPageRuleImpl()
           
CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, java.lang.String ident, java.lang.String pseudoPage)
           
 
Method Summary
 java.lang.String getCssText()
           
 java.lang.String getSelectorText()
           
 org.w3c.dom.css.CSSStyleDeclaration getStyle()
           
 short getType()
           
 void setCssText(java.lang.String cssText)
           
 void setIdent(java.lang.String ident)
           
 void setPseudoPage(java.lang.String pseudoPage)
           
 void setSelectorText(java.lang.String selectorText)
           
 void setStyle(CSSStyleDeclarationImpl style)
           
 
Methods inherited from class com.steadystate.css.dom.AbstractCSSRuleImpl
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheet
 
Methods inherited from class com.steadystate.css.dom.CSSOMObjectImpl
getUserData, getUserDataMap, setUserData, setUserDataMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.css.CSSRule
getParentRule, getParentStyleSheet
 

Constructor Detail

CSSPageRuleImpl

public CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet,
                       org.w3c.dom.css.CSSRule parentRule,
                       java.lang.String ident,
                       java.lang.String pseudoPage)

CSSPageRuleImpl

public CSSPageRuleImpl()
Method Detail

getType

public short getType()
Specified by:
getType in interface org.w3c.dom.css.CSSRule

getCssText

public java.lang.String getCssText()
Specified by:
getCssText in interface org.w3c.dom.css.CSSRule

setCssText

public void setCssText(java.lang.String cssText)
                throws org.w3c.dom.DOMException
Specified by:
setCssText in interface org.w3c.dom.css.CSSRule
Throws:
org.w3c.dom.DOMException

getSelectorText

public java.lang.String getSelectorText()
Specified by:
getSelectorText in interface org.w3c.dom.css.CSSPageRule

setSelectorText

public void setSelectorText(java.lang.String selectorText)
                     throws org.w3c.dom.DOMException
Specified by:
setSelectorText in interface org.w3c.dom.css.CSSPageRule
Throws:
org.w3c.dom.DOMException

getStyle

public org.w3c.dom.css.CSSStyleDeclaration getStyle()
Specified by:
getStyle in interface org.w3c.dom.css.CSSPageRule

setIdent

public void setIdent(java.lang.String ident)

setPseudoPage

public void setPseudoPage(java.lang.String pseudoPage)

setStyle

public void setStyle(CSSStyleDeclarationImpl style)


Copyright © 2010. All Rights Reserved.