@NotThreadSafe public class CSSDeclarationContainer extends CSSDeclarationList
CSSDeclaration objects. In contrary
to CSSDeclarationList this class emits block level elements around
the declarations as used in style rules etc.| Constructor and Description |
|---|
CSSDeclarationContainer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsCSSString(ICSSWriterSettings aSettings,
int nIndentLevel)
Get the contents of this object as a serialized CSS string for writing to
an output.
|
addDeclaration, addDeclaration, addDeclaration, getAllDeclarations, getAllDeclarationsOfPropertyName, getAllDeclarationsOfPropertyNameCaseInsensitive, getDeclarationAtIndex, getDeclarationCount, getDeclarationOfPropertyName, getDeclarationOfPropertyNameCaseInsensitive, hasDeclarations, removeAllDeclarations, removeDeclaration, removeDeclaration, setDeclarationAtIndexadd, add, directGetAll, equals, getAll, getAtIndex, getCount, getSourceLocation, hashCode, isEmpty, isNotEmpty, remove, remove, removeAll, set, setSourceLocation, toString@Nonnull @Nonempty public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel)
ICSSWriteablegetAsCSSString in interface ICSSWriteablegetAsCSSString in class CSSWritableList<CSSDeclaration>aSettings - The settings to be used to format the output. May not be
null.nIndentLevel - The current indentation levelCopyright © 2014–2016 Philip Helger. All rights reserved.