public interface ICSSUrlVisitor
| Modifier and Type | Method and Description |
|---|---|
default void |
begin()
Before visiting starts.
|
default void |
end()
After visiting is done.
|
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.
|
default void begin()
void onImport(@Nonnull CSSImportRule aImportRule)
aImportRule.getLocation()
to retrieve the imported URL.aImportRule - Other imported CSS. Never null.void onUrlDeclaration(@Nullable ICSSTopLevelRule aTopLevelRule, @Nonnull CSSDeclaration aDeclaration, @Nonnull CSSExpressionMemberTermURI aURITerm)
aTopLevelRule - 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.default void end()
Copyright © 2014–2022 Philip Helger. All rights reserved.