Package io.sf.carte.doc.style.css.om
Class RGBStyleFormattingFactory
java.lang.Object
io.sf.carte.doc.style.css.om.RGBStyleFormattingFactory
- All Implemented Interfaces:
StyleFormattingFactory
,Serializable
public class RGBStyleFormattingFactory
extends Object
implements StyleFormattingFactory, Serializable
A
StyleFormattingFactory
that serializes computed colors as RGB.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new DeclarationFormattingContext to serialize computed styles.Create a new StyleFormattingContext.
-
Constructor Details
-
RGBStyleFormattingFactory
public RGBStyleFormattingFactory()
-
-
Method Details
-
createStyleFormattingContext
Description copied from interface:StyleFormattingFactory
Create a new StyleFormattingContext.- Specified by:
createStyleFormattingContext
in interfaceStyleFormattingFactory
- Returns:
- a StyleFormattingContext.
-
createComputedStyleFormattingContext
Description copied from interface:StyleFormattingFactory
Create a new DeclarationFormattingContext to serialize computed styles.- Specified by:
createComputedStyleFormattingContext
in interfaceStyleFormattingFactory
- Returns:
- a DeclarationFormattingContext.
-