Class AbstractValueFactory

java.lang.Object
io.sf.carte.echosvg.css.engine.value.AbstractValueFactory
Direct Known Subclasses:
AbstractValueManager, FontShorthandManager, MarginShorthandManager, MarkerShorthandManager

public abstract class AbstractValueFactory extends Object
This class provides a base implementation for the value factories.
  • Constructor Details

    • AbstractValueFactory

      public AbstractValueFactory()
  • Method Details

    • getPropertyName

      public abstract String getPropertyName()
      Returns the name of the property handled.
    • resolveURI

      protected static String resolveURI(ParsedURL base, String value)
      Resolves an URI.
    • createInvalidIdentifierDOMException

      protected DOMException createInvalidIdentifierDOMException(String ident)
      Creates a DOM exception, given an invalid identifier.
    • createInvalidLexicalUnitDOMException

      protected DOMException createInvalidLexicalUnitDOMException(io.sf.carte.doc.style.css.nsac.LexicalUnit.LexicalType type)
      Creates a DOM exception, given an invalid lexical unit type.
    • createInvalidFloatTypeDOMException

      protected DOMException createInvalidFloatTypeDOMException(short t)
      Creates a DOM exception, given an invalid float type.
    • createInvalidFloatValueDOMException

      protected DOMException createInvalidFloatValueDOMException(float f)
      Creates a DOM exception, given an invalid float value.
    • createInvalidStringTypeDOMException

      protected DOMException createInvalidStringTypeDOMException(short t)
      Creates a DOM exception, given an invalid string type.
    • createMalformedLexicalUnitDOMException

      protected DOMException createMalformedLexicalUnitDOMException()
    • createDOMException

      protected DOMException createDOMException()