Top Description Fields Constructors Methods
com.openhtmltopdf.css.sheet

public Class InvalidPropertyDeclaration

extends PropertyDeclaration
Class Inheritance
Imports
java.util.List, com.openhtmltopdf.css.parser.PropertyValue, .Token

Holds an invalid property declaration (ie. one not understood by this project). Useful for passing to plugins such as SVG.

Warning

This is not a general subclass of PropertyDeclaration, the only method which should be used is toCSS.

Field Summary

Modifier and TypeField and Description
private final int
private final String
private final List<PropertyValue>
Inherited from com.openhtmltopdf.css.sheet.PropertyDeclaration:
IMPORTANCE_AND_ORIGIN_COUNT

Constructor Summary

AccessConstructor and Description
public
InvalidPropertyDeclaration(String propertyName, List<PropertyValue> values, int origin, boolean important, int order)

Method Summary

Modifier and TypeMethod and Description
public int
getOrder()

Holds the order so as to recreate a list of invalid and valid properties in their original order.

public String
getPropertyName()

Overrides com.openhtmltopdf.css.sheet.PropertyDeclaration.getPropertyName.

Returns the CSS name of this property, e.g. "font-family".

public void
Inherited from com.openhtmltopdf.css.sheet.PropertyDeclaration:
asIdentValuegetCSSNamegetDeclarationStandardTextgetFingerprintgetImportanceAndOrigingetOrigingetValueisImportanttoString

Field Detail

orderback to summary
private final int order
propertyNameback to summary
private final String propertyName
valuesback to summary
private final List<PropertyValue> values

Constructor Detail

InvalidPropertyDeclarationback to summary
public InvalidPropertyDeclaration(String propertyName, List<PropertyValue> values, int origin, boolean important, int order)

Method Detail

getOrderback to summary
public int getOrder()

Holds the order so as to recreate a list of invalid and valid properties in their original order.

getPropertyNameback to summary
public String getPropertyName()

Overrides com.openhtmltopdf.css.sheet.PropertyDeclaration.getPropertyName.

Doc from com.openhtmltopdf.css.sheet.PropertyDeclaration.getPropertyName.

Returns the CSS name of this property, e.g. "font-family".

Returns:String

See desc.

Annotations
@Override
toCSSback to summary
public void toCSS(StringBuilder sb)

Overrides com.openhtmltopdf.css.sheet.PropertyDeclaration.toCSS.

Annotations
@Override