- CharacterDataSelector - Interface in org.w3c.css.sac
-
- code - Variable in exception org.w3c.css.sac.CSSException
-
- CombinatorCondition - Interface in org.w3c.css.sac
-
- comment(String) - Method in interface org.w3c.css.sac.DocumentHandler
-
Receive notification of a comment.
- Condition - Interface in org.w3c.css.sac
-
- ConditionalSelector - Interface in org.w3c.css.sac
-
- ConditionFactory - Interface in org.w3c.css.sac
-
- ContentCondition - Interface in org.w3c.css.sac
-
- createAndCondition(Condition, Condition) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates an and condition
- createAnyNodeSelector() - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates an any node selector.
- createAttributeCondition(String, String, boolean, String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates an attribute condition
- createBeginHyphenAttributeCondition(String, String, boolean, String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a "begin hyphen" attribute condition
- createCDataSectionSelector(String) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a cdata section node selector.
- createChildSelector(Selector, SimpleSelector) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a child selector.
- createClassCondition(String, String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a class condition
- createCommentSelector(String) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a comment node selector.
- createConditionalSelector(SimpleSelector, Condition) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a conditional selector.
- createContentCondition(String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a content condition
- createDescendantSelector(Selector, SimpleSelector) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a descendant selector.
- createDirectAdjacentSelector(short, Selector, SimpleSelector) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a sibling selector.
- createElementSelector(String, String) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates an element selector.
- createIdCondition(String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates an id condition
- createLangCondition(String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a lang condition
- createNegativeCondition(Condition) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a negative condition
- createNegativeSelector(SimpleSelector) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates an negative selector.
- createOneOfAttributeCondition(String, String, boolean, String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a "one of" attribute condition
- createOnlyChildCondition() - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a "only one" child condition
- createOnlyTypeCondition() - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a "only one" type condition
- createOrCondition(Condition, Condition) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates an or condition
- createPositionalCondition(int, boolean, boolean) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a positional condition
- createProcessingInstructionSelector(String, String) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a processing instruction node selector.
- createPseudoClassCondition(String, String) - Method in interface org.w3c.css.sac.ConditionFactory
-
Creates a pseudo class condition
- createPseudoElementSelector(String, String) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a pseudo element selector.
- createRootNodeSelector() - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates an root node selector.
- createTextNodeSelector(String) - Method in interface org.w3c.css.sac.SelectorFactory
-
Creates a text node selector.
- CSSException - Exception in org.w3c.css.sac
-
- CSSException() - Constructor for exception org.w3c.css.sac.CSSException
-
Creates a new CSSException
- CSSException(String) - Constructor for exception org.w3c.css.sac.CSSException
-
Creates a new CSSException
- CSSException(Exception) - Constructor for exception org.w3c.css.sac.CSSException
-
Creates a new CSSException with an embeded exception.
- CSSException(short) - Constructor for exception org.w3c.css.sac.CSSException
-
Creates a new CSSException with a specific code.
- CSSException(short, String, Exception) - Constructor for exception org.w3c.css.sac.CSSException
-
Creates a new CSSException with an embeded exception and a specified
message.
- CSSParseException - Exception in org.w3c.css.sac
-
Encapsulate a CSS parse error or warning.
- CSSParseException(String, Locator) - Constructor for exception org.w3c.css.sac.CSSParseException
-
Create a new CSSParseException from a message and a Locator.
- CSSParseException(String, Locator, Exception) - Constructor for exception org.w3c.css.sac.CSSParseException
-
Wrap an existing exception in a CSSParseException.
- CSSParseException(String, String, int, int) - Constructor for exception org.w3c.css.sac.CSSParseException
-
Create a new CSSParseException.
- CSSParseException(String, String, int, int, Exception) - Constructor for exception org.w3c.css.sac.CSSParseException
-
Create a new CSSParseException with an embedded exception.
- getAncestorSelector() - Method in interface org.w3c.css.sac.DescendantSelector
-
Returns the parent selector.
- getByteStream() - Method in class org.w3c.css.sac.InputSource
-
Get the byte stream for this input source.
- getCharacterStream() - Method in class org.w3c.css.sac.InputSource
-
Get the character stream for this input source.
- getCode() - Method in exception org.w3c.css.sac.CSSException
-
returns the error code for this exception.
- getColumnNumber() - Method in exception org.w3c.css.sac.CSSParseException
-
The column number of the end of the text where the exception occurred.
- getColumnNumber() - Method in interface org.w3c.css.sac.Locator
-
Return the column number where the current document event ends.
- getCondition() - Method in interface org.w3c.css.sac.ConditionalSelector
-
Returns the condition to be applied on the simple selector.
- getCondition() - Method in interface org.w3c.css.sac.NegativeCondition
-
Returns the condition.
- getConditionType() - Method in interface org.w3c.css.sac.Condition
-
An integer indicating the type of Condition
.
- getData() - Method in interface org.w3c.css.sac.CharacterDataSelector
-
Returns the character data.
- getData() - Method in interface org.w3c.css.sac.ContentCondition
-
Returns the content.
- getData() - Method in interface org.w3c.css.sac.ProcessingInstructionSelector
-
Returns the character data.
- getDimensionUnitText() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the string representation of the unit.
- getEncoding() - Method in class org.w3c.css.sac.InputSource
-
Get the character encoding for a byte stream or URI.
- getException() - Method in exception org.w3c.css.sac.CSSException
-
Returns the internal exception if any, null otherwise.
- getFirstCondition() - Method in interface org.w3c.css.sac.CombinatorCondition
-
Returns the first condition.
- getFloatValue() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the float value.
- getFunctionName() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the name of the function.
- getIntegerValue() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the integer value.
- getLang() - Method in interface org.w3c.css.sac.LangCondition
-
Returns the language
- getLength() - Method in interface org.w3c.css.sac.SACMediaList
-
Returns the length of this media list
- getLength() - Method in interface org.w3c.css.sac.SelectorList
-
Returns the length of this selector list
- getLexicalUnitType() - Method in interface org.w3c.css.sac.LexicalUnit
-
An integer indicating the type of LexicalUnit
.
- getLineNumber() - Method in exception org.w3c.css.sac.CSSParseException
-
The line number of the end of the text where the exception occurred.
- getLineNumber() - Method in interface org.w3c.css.sac.Locator
-
Return the line number where the current document event ends.
- getLocalName() - Method in interface org.w3c.css.sac.AttributeCondition
-
- getLocalName() - Method in interface org.w3c.css.sac.ElementSelector
-
- getMedia() - Method in class org.w3c.css.sac.InputSource
-
Returns the media associated to the input source or null
if media are currently unknown.
- getMessage() - Method in exception org.w3c.css.sac.CSSException
-
Returns the detail message of this throwable object.
- getNamespaceURI() - Method in interface org.w3c.css.sac.AttributeCondition
-
- getNamespaceURI() - Method in interface org.w3c.css.sac.ElementSelector
-
- getNextLexicalUnit() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the next value or null
if any.
- getNodeType() - Method in interface org.w3c.css.sac.SiblingSelector
-
The node type to considered in the siblings list.
- getParameters() - Method in interface org.w3c.css.sac.LexicalUnit
-
The function parameters including operators (like the comma).
- getParserVersion() - Method in interface org.w3c.css.sac.Parser
-
Returns a string about which CSS language is supported by this
parser.
- getPosition() - Method in interface org.w3c.css.sac.PositionalCondition
-
Returns the position in the tree.
- getPreviousLexicalUnit() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the previous value or null
if any.
- getSecondCondition() - Method in interface org.w3c.css.sac.CombinatorCondition
-
Returns the second condition.
- getSelector() - Method in interface org.w3c.css.sac.SiblingSelector
-
Returns the first selector.
- getSelectorType() - Method in interface org.w3c.css.sac.Selector
-
An integer indicating the type of Selector
- getSiblingSelector() - Method in interface org.w3c.css.sac.SiblingSelector
-
- getSimpleSelector() - Method in interface org.w3c.css.sac.ConditionalSelector
-
Returns the simple selector.
- getSimpleSelector() - Method in interface org.w3c.css.sac.DescendantSelector
-
- getSimpleSelector() - Method in interface org.w3c.css.sac.NegativeSelector
-
Returns the simple selector.
- getSpecified() - Method in interface org.w3c.css.sac.AttributeCondition
-
Returns true
if the attribute must have an explicit value
in the original document, false
otherwise.
- getStringValue() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns the string value.
- getSubValues() - Method in interface org.w3c.css.sac.LexicalUnit
-
Returns a list of values inside the sub expression.
- getTarget() - Method in interface org.w3c.css.sac.ProcessingInstructionSelector
-
Returns the
target
of the processing instruction.
- getTitle() - Method in class org.w3c.css.sac.InputSource
-
Returns the title for this input source.
- getType() - Method in interface org.w3c.css.sac.PositionalCondition
-
true
if the node should have the same node type (for
element, same namespaceURI and same localName).
- getTypeNode() - Method in interface org.w3c.css.sac.PositionalCondition
-
true
if the child node list only shows nodes of the same
type of the selector (only elements, only PIS, ...)
- getURI() - Method in exception org.w3c.css.sac.CSSParseException
-
Get the URI of the document where the exception occurred.
- getURI() - Method in class org.w3c.css.sac.InputSource
-
Get the URI for this input source.
- getURI() - Method in interface org.w3c.css.sac.Locator
-
Return the URI for the current document event.
- getValue() - Method in interface org.w3c.css.sac.AttributeCondition
-
Returns the value of the attribute.
- s - Variable in exception org.w3c.css.sac.CSSException
-
- S_SAC_NOT_SUPPORTED_ERR - Static variable in exception org.w3c.css.sac.CSSException
-
- S_SAC_SYNTAX_ERR - Static variable in exception org.w3c.css.sac.CSSException
-
- S_SAC_UNSPECIFIED_ERR - Static variable in exception org.w3c.css.sac.CSSException
-
- SAC_AND_CONDITION - Static variable in interface org.w3c.css.sac.Condition
-
This condition checks exactly two conditions.
- 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.
- 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.
- 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.
- SAC_CLASS_CONDITION - Static variable in interface org.w3c.css.sac.Condition
-
This condition checks for a specified class.
- 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.
- 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.
- 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.
- SAC_ELEMENT_NODE_SELECTOR - Static variable in interface org.w3c.css.sac.Selector
-
This selector matches only element node.
- SAC_EM - Static variable in interface org.w3c.css.sac.LexicalUnit
-
Relative lengthem
.
- SAC_EX - Static variable in interface org.w3c.css.sac.LexicalUnit
-
Relative lengthex
.
- 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.
- 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.
- 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 exception 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.
- 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.
- SAC_PSEUDO_ELEMENT_SELECTOR - Static variable in interface org.w3c.css.sac.Selector
-
This selector matches the 'first line' pseudo element.
- 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 exception 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 exception org.w3c.css.sac.CSSException
-
this error is unspecified.
- SAC_URI - Static variable in interface org.w3c.css.sac.LexicalUnit
-
URI: uri(...)
.
- SACMediaList - Interface in org.w3c.css.sac
-
- Selector - Interface in org.w3c.css.sac
-
This interface defines a selector.
- SelectorFactory - Interface in org.w3c.css.sac
-
- SelectorList - Interface in org.w3c.css.sac
-
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 in org.w3c.css.sac
-
- SimpleSelector - Interface in org.w3c.css.sac
-
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.