Package com.helger.css.decl.shorthand
Class CSSShortHandRegistry
- java.lang.Object
-
- com.helger.css.decl.shorthand.CSSShortHandRegistry
-
@ThreadSafe public final class CSSShortHandRegistry extends Object
A static registry for all CSS short hand declarations (likeborder
ormargin
).- Since:
- 3.7.4
- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.helger.commons.collection.impl.ICommonsSet<ECSSProperty>
getAllShortHandProperties()
static CSSShortHandDescriptor
getShortHandDescriptor(ECSSProperty eProperty)
static boolean
isShortHandProperty(ECSSProperty eProperty)
static void
registerShortHandDescriptor(CSSShortHandDescriptor aDescriptor)
-
-
-
Method Detail
-
registerShortHandDescriptor
public static void registerShortHandDescriptor(@Nonnull CSSShortHandDescriptor aDescriptor)
-
getAllShortHandProperties
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsSet<ECSSProperty> getAllShortHandProperties()
-
isShortHandProperty
public static boolean isShortHandProperty(@Nullable ECSSProperty eProperty)
-
getShortHandDescriptor
@Nullable public static CSSShortHandDescriptor getShortHandDescriptor(@Nullable ECSSProperty eProperty)
-
-