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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CSSSourceLocation
getSourceLocation()
void
setSourceLocation(CSSSourceLocation aSourceLocation)
Set the source location of the object, determined while parsing.
-
-
-
Method Detail
-
getSourceLocation
@Nullable CSSSourceLocation getSourceLocation()
- Returns:
- The source location of this object when it was read by the parser.
May be
null
if an object was not read but manually created.
-
setSourceLocation
void setSourceLocation(@Nullable CSSSourceLocation aSourceLocation)
Set the source location of the object, determined while parsing.- Parameters:
aSourceLocation
- The source location to use. May benull
.
-
-