Record Class CssParser.ParseResult
java.lang.Object
java.lang.Record
dev.jcputney.mjml.css.CssParser.ParseResult
- Record Components:
rules- the list of parsed CSS rules suitable for inliningpreservedAtRules- the list of at-rules preserved as raw strings
- Enclosing class:
CssParser
-
Constructor Summary
ConstructorsConstructorDescriptionParseResult(List<CssRule> rules, List<String> preservedAtRules) Creates an instance of aParseResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepreservedAtRulesrecord component.rules()Returns the value of therulesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParseResult
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
rules
-
preservedAtRules
Returns the value of thepreservedAtRulesrecord component.- Returns:
- the value of the
preservedAtRulesrecord component
-