@Immutable public class DefaultCSSUrlVisitor extends Object implements ICSSUrlVisitor
ICSSUrlVisitor interface which does
nothing. Use as the base class for your implementation.| Constructor and Description |
|---|
DefaultCSSUrlVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onImport(CSSImportRule aImportRule)
Called on CSS import statement.
|
void |
onUrlDeclaration(ICSSTopLevelRule aTopLevelRule,
CSSDeclaration aDeclaration,
CSSExpressionMemberTermURI aURITerm)
Called on a CSS declaration value that contains an URL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, end@OverrideOnDemand public void onImport(@Nonnull CSSImportRule aImportRule)
ICSSUrlVisitoraImportRule.getLocation()
to retrieve the imported URL.onImport in interface ICSSUrlVisitoraImportRule - Other imported CSS. Never null.@OverrideOnDemand public void onUrlDeclaration(@Nullable ICSSTopLevelRule aTopLevelRule, @Nonnull CSSDeclaration aDeclaration, @Nonnull CSSExpressionMemberTermURI aURITerm)
ICSSUrlVisitoronUrlDeclaration in interface ICSSUrlVisitoraTopLevelRule - Top level rule of the URL. May be null when a
declaration list is handled.aDeclaration - Declaration of the URL. Never null.aURITerm - The URI term from the current expression. Never null.Copyright © 2014–2022 Philip Helger. All rights reserved.