public interface IlvCSSDeclaration
node { x: 100; y: 200; }contains two declarations, one for the property "x" with value 100, and one for the property "y" with value 200.
IlvCSSRule
Modifier and Type | Method and Description |
---|---|
URL |
getDocumentPath()
Returns the URL of the CSS document that contains the declaration.
|
int |
getLineNumber()
Returns the line number of the declaration in the CSS document
that contains the declaration.
|
String |
getProperty()
Returns the property name of the declaration.
|
String |
getValue()
Returns the value of the declaration as String.
|
boolean |
isIdentical(Object obj)
Returns
true if this declaration is equal to the input
declaration. |
void |
printCSS(PrintWriter out,
int indent)
Prints the declaration using CSS syntax.
|
String getProperty()
String getValue()
int getLineNumber()
-1
if the declaration is not originated from parsing
a source file.URL getDocumentPath()
null
if the declaration is not originated from parsing
a source file.void printCSS(PrintWriter out, int indent)
out
- The output print writer.indent
- The indentation level.boolean isIdentical(Object obj)
true
if this declaration is equal to the input
declaration. This compares the property and the value, but ignores the
line number or the document path.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.