Class AbstractBorderShorthandResolver

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String _0_COLOR
      The template for -color properties.
      private static java.lang.String _0_STYLE
      The template for -style properties.
      private static java.lang.String _0_WIDTH
      The template for -width properties.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.lang.String getPrefix()
      Gets the prefix of a property.
      java.util.List<CssDeclaration> resolveShorthand​(java.lang.String shorthandExpression)
      Resolves a shorthand expression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _0_WIDTH

        private static final java.lang.String _0_WIDTH
        The template for -width properties.
        See Also:
        Constant Field Values
      • _0_STYLE

        private static final java.lang.String _0_STYLE
        The template for -style properties.
        See Also:
        Constant Field Values
      • _0_COLOR

        private static final java.lang.String _0_COLOR
        The template for -color properties.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractBorderShorthandResolver

        public AbstractBorderShorthandResolver()
    • Method Detail

      • getPrefix

        protected abstract java.lang.String getPrefix()
        Gets the prefix of a property.
        Returns:
        the prefix
      • resolveShorthand

        public java.util.List<CssDeclaration> resolveShorthand​(java.lang.String shorthandExpression)
        Description copied from interface: IShorthandResolver
        Resolves a shorthand expression.
        Specified by:
        resolveShorthand in interface IShorthandResolver
        Parameters:
        shorthandExpression - the shorthand expression
        Returns:
        a list of CSS declaration