Package 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
This class represents a @import CSS rule.
- Version:
- $Id: ImportRule.java 1831630 2018-05-15 12:56:55Z ssteiner $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
The type constant.protected ParsedURL
The URI of the imported stylesheet. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.batik.css.engine.MediaRule
getMediaList, setMediaList
Methods inherited from class org.apache.batik.css.engine.StyleSheet
append, clear, getMedia, getParent, getRule, getSize, getTitle, isAlternate, setAlternate, setMedia, setParent, setTitle
-
Field Details
-
TYPE
public static final short TYPEThe type constant.- See Also:
-
uri
The URI of the imported stylesheet.
-
-
Constructor Details
-
ImportRule
public ImportRule()
-
-
Method Details
-
getType
public short getType()Returns a constant identifying the rule type. -
setURI
Sets the URI of the imported stylesheet. -
getURI
Returns the URI of the imported stylesheet. -
toString
Returns a printable representation of this import rule.
-