Package | Description |
---|---|
com.salesforce.omakase.ast |
Contains general AST (Abstract Syntax Tree) units, such as Rule and top-level AST interfaces, such as Syntax, Commentable and
Refinable.
|
com.salesforce.omakase.ast.atrule |
Contains at-rule AST members.
|
com.salesforce.omakase.ast.collection |
Contains interfaces and classes for collections of Syntax units.
|
com.salesforce.omakase.ast.declaration |
Contains declaration AST members.
|
com.salesforce.omakase.ast.extended |
Contains customized, extended syntax objects that are not part of the standard CSS spec.
|
com.salesforce.omakase.ast.selector |
Contains selector AST members.
|
com.salesforce.omakase.writer |
Classes for outputting processed CSS in compressed or uncompressed modes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Refinable
Designates that an
Syntax unit is refinable to a more specified or detailed representation. |
interface |
Statement
|
interface |
StatementIterable
Contains a list of
Statement s. |
interface |
Syntax
A distinct unit of syntax within CSS.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSyntax
Base class for
Syntax units. |
class |
Comment
Represents a CSS comment.
|
class |
RawFunction
Represents a function value before refinement.
|
class |
RawSyntax
Represents raw, non-validated content.
|
class |
Rule
Represents a CSS Rule.
|
class |
Stylesheet
The root-level
Syntax object. |
Modifier and Type | Interface and Description |
---|---|
interface |
AtRuleBlock
The block of an
AtRule . |
interface |
AtRuleExpression
The expression of an
AtRule . |
interface |
AtRuleMember
Either an
AtRuleExpression or an AtRuleBlock . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAtRuleMember
Base class for
AtRuleMember s. |
class |
AtRule
Represents one of the CSS at-rules, such as
@media , @charset , @keyframes , etc... |
class |
FontDescriptor
Represents one of the
FontFaceBlock font-descriptors (src, font-weight, font-style, etc...). |
class |
FontFaceBlock
Represents the block of a font-face at-rule.
|
class |
GenericAtRuleBlock
A generic wrapper containing a list of statements.
|
class |
GenericAtRuleExpression
A generic
AtRuleExpression value. |
class |
MediaQuery
Represents a media query.
|
class |
MediaQueryExpression
Represents a media query expression.
|
class |
MediaQueryList
Represents a list of media queries.
|
class |
MediaRestriction
For media queries, represents the keywords 'and' and 'or'.
|
class |
MetadataExpression
Represents an expression that should never be written out.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Groupable<P,T extends Groupable<P,T>>
Represents an item that appears in a group or chain of other related units, for usage with
SyntaxCollection . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGroupable<P,T extends Groupable<P,T>>
Base class for
Groupable s. |
Modifier and Type | Interface and Description |
---|---|
interface |
FunctionValue
General interface for function term values, such as
GenericFunctionValue . |
interface |
PropertyValueMember
A member of a
PropertyValue . |
interface |
Term
A
PropertyValueMember within a PropertyValue representing a single segment of the Declaration value. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerm
Base class for
Term s. |
class |
Declaration
Represents a CSS declaration.
|
class |
GenericFunctionValue
A generic function value with non-validated arguments.
|
class |
HexColorValue
A hex color value (e.g., "fffeee").
|
class |
KeywordValue
A keyword value (e.g., inline-block).
|
class |
LinearGradientFunctionValue
Represents a linear-gradient (or repeating-linear-gradient) function.
|
class |
NumericalValue
A numerical value (e.g., 1 or 1px or 3.5em).
|
class |
Operator
|
class |
OperatorType
An operator (separator) between
Term s in a PropertyValue . |
class |
PropertyName
The property name within a
Declaration . |
class |
PropertyValue
The value of a property in a
Declaration . |
class |
StringValue
A string value, e.g., "Times New Roman".
|
class |
UnicodeRangeValue
A unicode-range value (e.g., from within a @font-face rule).
|
class |
UrlFunctionValue
Represents a url function value.
|
Modifier and Type | Class and Description |
---|---|
class |
Conditional
Represents a single condition within a
ConditionalAtRuleBlock . |
class |
ConditionalAtRuleBlock
An extension to the standard CSS syntax that allows for conditional at-rules.
|
class |
UnquotedIEFilter
MS filter junk.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SelectorPart
|
interface |
SimpleSelector
A simple selector, as defined by the Selectors Level 3 spec: "A simple selector is either a type selector, universal selector,
attribute selector, class selector, ID selector, or pseudo-class."
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSelectorPart
Base class for
SelectorPart s. |
class |
AttributeMatchType
Represents the match type in an
AttributeSelector . |
class |
AttributeSelector
Represents a CSS attribute selector.
|
class |
ClassSelector
Represents a CSS class selector.
|
class |
Combinator
Represents a CSS combinator.
|
class |
IdSelector
Represents a CSS id selector.
|
class |
KeyframeSelector
Represents a single keyframe selector part.
|
class |
PseudoClassSelector
Represents a CSS pseudo class selector.
|
class |
PseudoElementSelector
Represents a CSS pseudo element selector.
|
class |
Selector
Represents a CSS selector.
|
class |
TypeSelector
Represents a CSS type selector (also known as an element type selector).
|
class |
UniversalSelector
Represents the CSS universal selector, i.e., "*".
|
Modifier and Type | Interface and Description |
---|---|
interface |
CustomWriter<T extends Writable>
Customizes the writing of a particular
Syntax unit. |
Modifier and Type | Method and Description |
---|---|
<T extends Writable> |
StyleWriter.addCustomWriter(Class<T> writable,
CustomWriter<T> writer)
Overrides the writing of a unit with the given
CustomWriter instance. |
<T extends Writable> |
StyleWriter.writeInner(T writable,
StyleAppendable appendable)
Writes the given syntax unit to the given
StyleAppendable , taking into account any CustomWriter overrides
specified on this StyleWriter . |
<T extends Writable> |
StyleWriter.writeInner(T writable,
StyleAppendable appendable,
boolean useOverrides)
Writes the given syntax unit to the given
StyleAppendable . |
Modifier and Type | Method and Description |
---|---|
String |
StyleWriter.writeSingle(Writable writable)
The easiest way to get the output of a single
Writable instance. |
Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.