Package com.helger.css.decl.shorthand
Class CSSShortHandDescriptor
- java.lang.Object
-
- com.helger.css.decl.shorthand.CSSShortHandDescriptor
-
- Direct Known Subclasses:
CSSShortHandDescriptorFlex,CSSShortHandDescriptorWithAlignment
public class CSSShortHandDescriptor extends Object
A single descriptor for a short hand property (like font or border)- Since:
- 3.7.4
- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description CSSShortHandDescriptor(ECSSProperty eProperty, CSSPropertyWithDefaultValue... aSubProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.helger.commons.collection.impl.ICommonsList<CSSPropertyWithDefaultValue>getAllSubProperties()ECSSPropertygetProperty()com.helger.commons.collection.impl.ICommonsList<CSSDeclaration>getSplitIntoPieces(CSSDeclaration aDeclaration)protected voidmodifyExpressionMembers(com.helger.commons.collection.impl.ICommonsList<ICSSExpressionMember> aExpressionMembers)Modify the passed expression members before they are splittedStringtoString()
-
-
-
Constructor Detail
-
CSSShortHandDescriptor
public CSSShortHandDescriptor(@Nonnull ECSSProperty eProperty, @Nonnull @Nonempty CSSPropertyWithDefaultValue... aSubProperties)
-
-
Method Detail
-
getProperty
@Nonnull public ECSSProperty getProperty()
-
getAllSubProperties
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<CSSPropertyWithDefaultValue> getAllSubProperties()
-
modifyExpressionMembers
@OverrideOnDemand protected void modifyExpressionMembers(@Nonnull com.helger.commons.collection.impl.ICommonsList<ICSSExpressionMember> aExpressionMembers)
Modify the passed expression members before they are splitted- Parameters:
aExpressionMembers- The list to be modified. Nevernullbut maybe empty.
-
getSplitIntoPieces
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<CSSDeclaration> getSplitIntoPieces(@Nonnull CSSDeclaration aDeclaration)
-
-