org.apache.batik.css.engine

Class ImportRule

public class ImportRule extends MediaRule

This class represents a @import CSS rule.
Field Summary
static shortTYPE
The type constant.
protected URLuri
The URI of the imported stylesheet.
Method Summary
shortgetType()
Returns a constant identifying the rule type.
URLgetURI()
Returns the URI of the imported stylesheet.
voidsetURI(URL u)
Sets the URI of the imported stylesheet.
StringtoString(CSSEngine eng)
Returns a printable representation of this import rule.

Field Detail

TYPE

public static final short TYPE
The type constant.

uri

protected URL uri
The URI of the imported stylesheet.

Method Detail

getType

public short getType()
Returns a constant identifying the rule type.

getURI

public URL getURI()
Returns the URI of the imported stylesheet.

setURI

public void setURI(URL u)
Sets the URI of the imported stylesheet.

toString

public String toString(CSSEngine eng)
Returns a printable representation of this import rule.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.