Package org.apache.batik.css.engine
Class FontFaceRule
- java.lang.Object
-
- org.apache.batik.css.engine.FontFaceRule
-
- All Implemented Interfaces:
Rule
public class FontFaceRule extends java.lang.Object implements Rule
This class represents a @font-face CSS rule. This mostly exists to give us a place to store the URI to be used for 'src' URI resolution.- Version:
- $Id: FontFaceRule.java 1831630 2018-05-15 12:56:55Z ssteiner $
-
-
Constructor Summary
Constructors Constructor Description FontFaceRule(StyleMap sm, ParsedURL purl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StyleMap
getStyleMap()
Returns the StyleMap from the @font-face rule.short
getType()
Returns a constant identifying the rule type.ParsedURL
getURL()
Returns the URI of the @font-face rule.java.lang.String
toString(CSSEngine eng)
Returns a printable representation of this rule.
-
-
-
Field Detail
-
TYPE
public static final short TYPE
The type constant.- See Also:
- Constant Field Values
-
sm
StyleMap sm
-
purl
ParsedURL purl
-
-