Package com.helger.css
Interface ICSSSourceLocationAware
- All Known Implementing Classes:
CascadingStyleSheet,CSSDeclaration,CSSDeclarationContainer,CSSDeclarationList,CSSExpression,CSSExpressionMemberFunction,CSSExpressionMemberLineNames,CSSExpressionMemberMath,CSSExpressionMemberMathProduct,CSSExpressionMemberMathUnitProduct,CSSExpressionMemberMathUnitSimple,CSSExpressionMemberTermSimple,CSSExpressionMemberTermURI,CSSFontFaceRule,CSSImportRule,CSSKeyframesBlock,CSSKeyframesRule,CSSMediaExpression,CSSMediaQuery,CSSMediaRule,CSSNamespaceRule,CSSPageRule,CSSSelector,CSSSelectorAttribute,CSSSelectorMemberFunctionLike,CSSSelectorMemberHost,CSSSelectorMemberHostContext,CSSSelectorMemberNot,CSSSelectorMemberSlotted,CSSSelectorSimpleMember,CSSStyleRule,CSSSupportsConditionDeclaration,CSSSupportsConditionNegation,CSSSupportsConditionNested,CSSSupportsRule,CSSUnknownRule,CSSURI,CSSViewportRule,CSSWritableList
public interface ICSSSourceLocationAware
Interface for objects that have a source location.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetSourceLocation(CSSSourceLocation aSourceLocation) Set the source location of the object, determined while parsing.
-
Method Details
-
getSourceLocation
- Returns:
- The source location of this object when it was read by the parser.
May be
nullif an object was not read but manually created.
-
setSourceLocation
Set the source location of the object, determined while parsing.- Parameters:
aSourceLocation- The source location to use. May benull.
-