org.apache.batik.css.engine
Class ImportRule
java.lang.Object
|
+--org.apache.batik.css.engine.StyleSheet
|
+--org.apache.batik.css.engine.MediaRule
|
+--org.apache.batik.css.engine.ImportRule
- All Implemented Interfaces:
- Rule
- public class ImportRule
- extends MediaRule
This class represents a @import CSS rule.
Field Summary |
static short |
TYPE
The type constant. |
protected java.net.URL |
uri
The URI of the imported stylesheet. |
Method Summary |
short |
getType()
Returns a constant identifying the rule type. |
java.net.URL |
getURI()
Returns the URI of the imported stylesheet. |
void |
setURI(java.net.URL u)
Sets the URI of the imported stylesheet. |
java.lang.String |
toString(CSSEngine eng)
Returns a printable representation of this import rule. |
Methods inherited from class org.apache.batik.css.engine.StyleSheet |
append, clear, getMedia, getParent, getRule, getSize, getTitle, isAlternate, setAlternate, setMedia, setParent, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final short TYPE
- The type constant.
uri
protected java.net.URL uri
- The URI of the imported stylesheet.
ImportRule
public ImportRule()
getType
public short getType()
- Returns a constant identifying the rule type.
- Overrides:
getType
in class MediaRule
setURI
public void setURI(java.net.URL u)
- Sets the URI of the imported stylesheet.
getURI
public java.net.URL getURI()
- Returns the URI of the imported stylesheet.
toString
public java.lang.String toString(CSSEngine eng)
- Returns a printable representation of this import rule.
- Overrides:
toString
in class MediaRule
Copyright © 2002 Apache Software Foundation. All Rights Reserved.