Module io.sf.carte.echosvg.css
Class AbstractValueFactory
java.lang.Object
io.sf.carte.echosvg.css.engine.value.AbstractValueFactory
- Direct Known Subclasses:
AbstractValueManager
,FontShorthandManager
,MarginShorthandManager
,MarkerShorthandManager
This class provides a base implementation for the value factories.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DOMException
protected DOMException
createInvalidFloatTypeDOMException
(short t) Creates a DOM exception, given an invalid float type.protected DOMException
createInvalidFloatValueDOMException
(float f) Creates a DOM exception, given an invalid float value.protected DOMException
Creates a DOM exception, given an invalid identifier.protected DOMException
createInvalidLexicalUnitDOMException
(io.sf.carte.doc.style.css.nsac.LexicalUnit.LexicalType type) Creates a DOM exception, given an invalid lexical unit type.protected DOMException
createInvalidStringTypeDOMException
(short t) Creates a DOM exception, given an invalid string type.protected DOMException
abstract String
Returns the name of the property handled.protected static String
resolveURI
(ParsedURL base, String value) Resolves an URI.
-
Constructor Details
-
AbstractValueFactory
public AbstractValueFactory()
-
-
Method Details
-
getPropertyName
Returns the name of the property handled. -
resolveURI
Resolves an URI. -
createInvalidIdentifierDOMException
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
Creates a DOM exception, given an invalid float type. -
createInvalidFloatValueDOMException
Creates a DOM exception, given an invalid float value. -
createInvalidStringTypeDOMException
Creates a DOM exception, given an invalid string type. -
createMalformedLexicalUnitDOMException
-
createDOMException
-