This condition checks exactly two conditions. example:
.part1:lang(fr)
- SAC_ANY_NODE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches any node.
- SAC_ATTR -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Attribute:
attr(...)
.
- SAC_ATTRIBUTE_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks an attribute. example:
[simple]
[restart="never"]
-
SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION - Static variable
in interface org.w3c.css.sac.Condition
- This condition checks if the value is in a hypen-separated list
of values in a specified attribute. example:
[languages|="fr"]
- SAC_CDATA_SECTION_NODE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches only cdata node.
- SAC_CENTIMETER
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Absolute length
cm
.
- SAC_CHILD_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches a childhood relationship between two
elements. example:
E > F
- SAC_CLASS_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks for a specified class. example:
.example
- SAC_COMMENT_NODE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches only comment node.
- SAC_CONDITIONAL_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This is a conditional selector. example:
simple[role="private"]
.part1
H1#myId
P:lang(fr).p1
- SAC_CONTENT_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks the content of a node.
- SAC_COUNTER_FUNCTION
- Static variable in interface org.w3c.css.sac.LexicalUnit
- function
counter
.
- SAC_COUNTERS_FUNCTION
- Static variable in interface org.w3c.css.sac.LexicalUnit
- function
counters
.
- SAC_DEGREE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Angle
deg
.
- SAC_DESCENDANT_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches an arbitrary descendant of some ancestor
element. example:
E F
- SAC_DIMENSION
- Static variable in interface org.w3c.css.sac.LexicalUnit
- unknown dimension.
- SAC_DIRECT_ADJACENT_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches two selectors who shared the same parent
in the document tree and the element represented by the first
sequence immediately precedes the element represented by the second
one. example:
E + F
- SAC_ELEMENT_NODE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches only element node. example:
H1
animate
- SAC_EM -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Relative length
em
.
- SAC_EX -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Relative length
ex
.
- SAC_FUNCTION
- Static variable in interface org.w3c.css.sac.LexicalUnit
- unknown function.
- SAC_GRADIAN
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Angle
grad
.
- SAC_HERTZ -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Frequency
Hz
.
- SAC_ID_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks an id attribute. example:
#myId
- SAC_IDENT -
Static variable in interface org.w3c.css.sac.LexicalUnit
- any identifier except
inherit
.
- SAC_INCH -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Absolute length
in
.
- SAC_INHERIT
- Static variable in interface org.w3c.css.sac.LexicalUnit
- identifier
inherit
.
- SAC_INTEGER
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Integers.
- SAC_KILOHERTZ
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Frequency
kHz
.
- SAC_LANG_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks the language of the node. example:
:lang(fr)
- SAC_MILLIMETER
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Absolute length
mm
.
- SAC_MILLISECOND
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Time
ms
.
- SAC_NEGATIVE_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks that a condition can't be applied to a
node.
- SAC_NEGATIVE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches only node that are different from a
specified one.
- SAC_NOT_SUPPORTED_ERR
- Static variable in class org.w3c.css.sac.CSSException
- If the operation is not supported
- SAC_ONE_OF_ATTRIBUTE_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks for a value in a space-separated values
in a specified attribute example:
[values~="10"]
- SAC_ONLY_CHILD_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks if a node is the only one in the node
list.
- SAC_ONLY_TYPE_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks if a node is the only one of his
type.
- SAC_OPERATOR_COMMA
- Static variable in interface org.w3c.css.sac.LexicalUnit
- ,
- SAC_OPERATOR_EXP
- Static variable in interface org.w3c.css.sac.LexicalUnit
- ^
- SAC_OPERATOR_GE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- >=
- SAC_OPERATOR_GT
- Static variable in interface org.w3c.css.sac.LexicalUnit
- >
- SAC_OPERATOR_LE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- <=
- SAC_OPERATOR_LT
- Static variable in interface org.w3c.css.sac.LexicalUnit
- <
- SAC_OPERATOR_MINUS
- Static variable in interface org.w3c.css.sac.LexicalUnit
- -
- SAC_OPERATOR_MOD
- Static variable in interface org.w3c.css.sac.LexicalUnit
- %
- SAC_OPERATOR_MULTIPLY
- Static variable in interface org.w3c.css.sac.LexicalUnit
- *
- SAC_OPERATOR_PLUS
- Static variable in interface org.w3c.css.sac.LexicalUnit
- +
- SAC_OPERATOR_SLASH
- Static variable in interface org.w3c.css.sac.LexicalUnit
- /
- SAC_OPERATOR_TILDE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- ~
- SAC_OR_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks one of two conditions.
- SAC_PERCENTAGE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Percentage.
- SAC_PICA -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Absolute length
pc
.
- SAC_PIXEL -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Relative length
px
.
- SAC_POINT -
Static variable in interface org.w3c.css.sac.LexicalUnit
- Absolute length
pt
.
- SAC_POSITIONAL_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks a specified position. example:
:first-child
-
SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR - Static
variable in interface org.w3c.css.sac.Selector
- This selector matches only processing instruction node.
- SAC_PSEUDO_CLASS_CONDITION
- Static variable in interface org.w3c.css.sac.Condition
- This condition checks for the link pseudo class. example:
:link
:visited
:hover
- SAC_PSEUDO_ELEMENT_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches the 'first line' pseudo element.
example:
:first-line
- SAC_RADIAN
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Angle
rad
.
- SAC_REAL -
Static variable in interface org.w3c.css.sac.LexicalUnit
- reals.
- SAC_RECT_FUNCTION
- Static variable in interface org.w3c.css.sac.LexicalUnit
- function
rect
.
- SAC_RGBCOLOR
- Static variable in interface org.w3c.css.sac.LexicalUnit
- RGB Colors.
- SAC_ROOT_NODE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches the root node.
- SAC_SECOND
- Static variable in interface org.w3c.css.sac.LexicalUnit
- Time
s
.
- SAC_STRING_VALUE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- A string.
- SAC_SUB_EXPRESSION
- Static variable in interface org.w3c.css.sac.LexicalUnit
- sub expressions
(a)
(a + b)
(normal/none)
- SAC_SYNTAX_ERR
- Static variable in class org.w3c.css.sac.CSSException
- If an invalid or illegal string is specified
- SAC_TEXT_NODE_SELECTOR
- Static variable in interface org.w3c.css.sac.Selector
- This selector matches only text node.
- SAC_UNICODERANGE
- Static variable in interface org.w3c.css.sac.LexicalUnit
- A unicode range.
- SAC_UNSPECIFIED_ERR
- Static variable in class org.w3c.css.sac.CSSException
- this error is unspecified.
- SAC_URI -
Static variable in interface org.w3c.css.sac.LexicalUnit
- URI:
uri(...)
.
- SACMediaList -
interface org.w3c.css.sac.SACMediaList.
-
- Selector -
interface org.w3c.css.sac.Selector.
- This interface defines a selector.
- SelectorFactory -
interface org.w3c.css.sac.SelectorFactory.
-
- SelectorList -
interface org.w3c.css.sac.SelectorList.
- The SelectorList interface provides the abstraction of an
ordered collection of selectors, without defining or constraining
how this collection is implemented.
-
setByteStream(InputStream) - Method in class
org.w3c.css.sac.InputSource
- Set the byte stream for this input source.
-
setCharacterStream(Reader) - Method in class
org.w3c.css.sac.InputSource
- Set the character stream for this input source.
-
setConditionFactory(ConditionFactory) - Method in
interface org.w3c.css.sac.Parser
-
-
setDocumentHandler(DocumentHandler) - Method in
interface org.w3c.css.sac.Parser
- Allow an application to register a document event handler.
-
setEncoding(String) - Method in class org.w3c.css.sac.InputSource
- Set the character encoding, if known.
-
setErrorHandler(ErrorHandler) - Method in interface
org.w3c.css.sac.Parser
- Allow an application to register an error event handler.
- setLocale(Locale)
- Method in interface org.w3c.css.sac.Parser
- Allow an application to request a locale for errors and
warnings.
- setMedia(String)
- Method in class org.w3c.css.sac.InputSource
- Set the media for this input source.
-
setSelectorFactory(SelectorFactory) - Method in
interface org.w3c.css.sac.Parser
-
- setTitle(String)
- Method in class org.w3c.css.sac.InputSource
- Set the title for this input source.
- setURI(String)
- Method in class org.w3c.css.sac.InputSource
- Set the URI for this input source.
- SiblingSelector -
interface org.w3c.css.sac.SiblingSelector.
-
- SimpleSelector -
interface org.w3c.css.sac.SimpleSelector.
- This interface is only for constraints on selectors.
-
startDocument(InputSource) - Method in interface
org.w3c.css.sac.DocumentHandler
- Receive notification of the beginning of a style sheet.
- startFontFace()
- Method in interface org.w3c.css.sac.DocumentHandler
- Receive notification of the beginning of a font face
statement.
-
startMedia(SACMediaList) - Method in interface
org.w3c.css.sac.DocumentHandler
- Receive notification of the beginning of a media
statement.
-
startPage(String, String) - Method in interface
org.w3c.css.sac.DocumentHandler
- Receive notification of the beginning of a page statement.
-
startSelector(SelectorList) - Method in interface
org.w3c.css.sac.DocumentHandler
- Receive notification of the beginning of a rule statement.
W
-
warning(CSSParseException) - Method in interface
org.w3c.css.sac.ErrorHandler
- Receive notification of a warning.
A C D E F G I L M N O P S W
Copyright © 2002 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.