Class GapShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.GapShorthandResolver
- All Implemented Interfaces:
-
IShorthandResolver
Shorthand resolver for gap shorthand properties, can be used for different gap properties like
gap
or grid-gap
.
-
Constructor Summary
ConstructorDescriptionInstantiates defaultGapShorthandResolver
forgap
shorthand.GapShorthandResolver
(String gapShorthandProperty) Instantiates defaultGapShorthandResolver
for passed gap shorthand. -
Method Summary
Modifier and TypeMethodDescriptionresolveShorthand
(String shorthandExpression) Resolves a shorthand expression.
-
Constructor Details
-
GapShorthandResolver
public GapShorthandResolver()Instantiates defaultGapShorthandResolver
forgap
shorthand. -
GapShorthandResolver
Instantiates defaultGapShorthandResolver
for passed gap shorthand.- Parameters:
-
gapShorthandProperty
- the name of the gap shorthand property
-
-
Method Details
-
resolveShorthand
Resolves a shorthand expression.- Specified by:
-
resolveShorthand
in interfaceIShorthandResolver
- Parameters:
-
shorthandExpression
- the shorthand expression - Returns:
- a list of CSS declaration
-