java.lang.Object
io.sf.carte.doc.style.css.om.DefaultStyleFormattingContext
io.sf.carte.doc.style.css.om.InlineStyleFormattingContext
- All Implemented Interfaces:
StyleFormattingContext
A formatting context for inline styles.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endCurrentContext
(CSSRule rule) void
void
void
endRule
(SimpleWriter wri) void
updateContext
(CSSRule rule) void
void
void
void
Methods inherited from class io.sf.carte.doc.style.css.om.DefaultStyleFormattingContext
deepenCurrentContext, endRuleList, endStyleDeclaration, newLine, setParentContext, startPropertyDeclaration, startRule, startStyleDeclaration, writeColon, writeComma, writeComment, writeImportantPriority, writeRightCurlyBracket, writeShorthandValue, writeURL, writeValue
-
Constructor Details
-
InlineStyleFormattingContext
public InlineStyleFormattingContext()
-
-
Method Details
-
endCurrentContext
- Specified by:
endCurrentContext
in interfaceStyleFormattingContext
- Overrides:
endCurrentContext
in classDefaultStyleFormattingContext
-
endPropertyDeclaration
- Specified by:
endPropertyDeclaration
in interfaceStyleFormattingContext
- Overrides:
endPropertyDeclaration
in classDefaultStyleFormattingContext
- Throws:
IOException
-
endInlinePropertyDeclaration
- Specified by:
endInlinePropertyDeclaration
in interfaceStyleFormattingContext
- Overrides:
endInlinePropertyDeclaration
in classDefaultStyleFormattingContext
- Throws:
IOException
-
endRule
- Specified by:
endRule
in interfaceStyleFormattingContext
- Overrides:
endRule
in classDefaultStyleFormattingContext
- Throws:
IOException
-
updateContext
- Specified by:
updateContext
in interfaceStyleFormattingContext
- Overrides:
updateContext
in classDefaultStyleFormattingContext
-
writeFullIndent
- Specified by:
writeFullIndent
in interfaceStyleFormattingContext
- Overrides:
writeFullIndent
in classDefaultStyleFormattingContext
- Throws:
IOException
-
writeLeftCurlyBracket
- Specified by:
writeLeftCurlyBracket
in interfaceStyleFormattingContext
- Overrides:
writeLeftCurlyBracket
in classDefaultStyleFormattingContext
- Throws:
IOException
-
writeLevelIndent
- Specified by:
writeLevelIndent
in interfaceStyleFormattingContext
- Overrides:
writeLevelIndent
in classDefaultStyleFormattingContext
- Throws:
IOException
-
writeSemiColon
- Specified by:
writeSemiColon
in interfaceStyleFormattingContext
- Overrides:
writeSemiColon
in classDefaultStyleFormattingContext
- Throws:
IOException
-