|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lobobrowser.html.style.StyleSheetAggregator
public class StyleSheetAggregator
Aggregates all style sheets in a document.
Every time a new STYLE element is found, it is
added to the style sheet aggreagator by means
of the addStyleSheet(CSSStyleSheet) method.
HTML elements have a style object
that has a list of CSSStyleDeclaration
instances. The instances inserted in that list
are obtained by means of the #getStyleDeclarations(HTMLElementImpl, String, String, String)
method.
| Constructor Summary | |
|---|---|
StyleSheetAggregator(HTMLDocumentImpl document)
|
|
| Method Summary | |
|---|---|
void |
addStyleSheets(java.util.Collection styleSheets)
|
boolean |
affectedByPseudoNameInAncestor(HTMLElementImpl element,
HTMLElementImpl ancestor,
java.lang.String elementName,
java.lang.String elementId,
java.lang.String[] classArray,
java.lang.String pseudoName)
|
java.util.Collection |
getActiveStyleDeclarations(HTMLElementImpl element,
java.lang.String elementName,
java.lang.String elementId,
java.lang.String className,
java.util.Set pseudoNames)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleSheetAggregator(HTMLDocumentImpl document)
| Method Detail |
|---|
public final void addStyleSheets(java.util.Collection styleSheets)
throws java.net.MalformedURLException
java.net.MalformedURLException
public final java.util.Collection getActiveStyleDeclarations(HTMLElementImpl element,
java.lang.String elementName,
java.lang.String elementId,
java.lang.String className,
java.util.Set pseudoNames)
public final boolean affectedByPseudoNameInAncestor(HTMLElementImpl element,
HTMLElementImpl ancestor,
java.lang.String elementName,
java.lang.String elementId,
java.lang.String[] classArray,
java.lang.String pseudoName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||