|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.engine.FontFaceRule
public class FontFaceRule
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.
| Field Summary | |
|---|---|
static short |
TYPE
The type constant. |
| Constructor Summary | |
|---|---|
FontFaceRule(StyleMap sm,
ParsedURL purl)
|
|
| Method Summary | |
|---|---|
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. |
String |
toString(CSSEngine eng)
Returns a printable representation of this rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short TYPE
| Constructor Detail |
|---|
public FontFaceRule(StyleMap sm,
ParsedURL purl)
| Method Detail |
|---|
public short getType()
getType in interface Rulepublic ParsedURL getURL()
public StyleMap getStyleMap()
public String toString(CSSEngine eng)
toString in interface Rule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||