public final class Declaration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
important |
(package private) ParsedValueImpl |
parsedValue |
(package private) java.lang.String |
property |
(package private) Rule |
rule |
Constructor and Description |
---|
Declaration(java.lang.String propertyName,
ParsedValueImpl parsedValue,
boolean important) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
One declaration is the equal to another regardless of the Rule to which
the Declaration belongs.
|
(package private) void |
fixUrl(java.lang.String stylesheetUrl) |
private StyleOrigin |
getOrigin()
Helper
|
ParsedValue |
getParsedValue() |
(package private) ParsedValueImpl |
getParsedValueImpl() |
java.lang.String |
getProperty() |
Rule |
getRule() |
int |
hashCode() |
boolean |
isImportant() |
(package private) static Declaration |
readBinary(int bssVersion,
java.io.DataInputStream is,
java.lang.String[] strings) |
java.lang.String |
toString() |
(package private) void |
writeBinary(java.io.DataOutputStream os,
StringStore stringStore) |
final java.lang.String property
final ParsedValueImpl parsedValue
final boolean important
Rule rule
public Declaration(java.lang.String propertyName, ParsedValueImpl parsedValue, boolean important)
public ParsedValue getParsedValue()
ParsedValueImpl getParsedValueImpl()
public java.lang.String getProperty()
public Rule getRule()
public boolean isImportant()
private StyleOrigin getOrigin()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
void fixUrl(java.lang.String stylesheetUrl)
final void writeBinary(java.io.DataOutputStream os, StringStore stringStore) throws java.io.IOException
java.io.IOException
static Declaration readBinary(int bssVersion, java.io.DataInputStream is, java.lang.String[] strings) throws java.io.IOException
java.io.IOException