Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.w3c.css.sac.helpers.* (1)

org.w3c.css.sac: Javadoc index of package org.w3c.css.sac.

Package Samples:



Locator: Interface for associating a CSS event with a document location. If a SAX parser provides location information to the SAX application, it does so by implementing this interface and then passing an instance to the application using the document handler's setDocumentLocator method. The application can use the object to obtain the location of any other document handler event in the CSS source document. Note that the results returned by the object will be valid only during the scope of each document handler method: the application will receive unpredictable results if it attempts to use the locator ...
ErrorHandler: Basic interface for CSS error handlers. If a CSS application needs to implement customized error handling, it must implement this interface and then register an instance with the CSS parser using the parser's setErrorHandler method. The parser will then report all errors and warnings through this interface. The parser shall use this interface instead of throwing an exception: it is up to the application whether to throw an exception for different types of errors and warnings. Note, however, that there is no requirement that the parser continue to provide useful information after a call to fatalError ...
InputSource: A single input source for a CSS source. This class allows a CSS application to encapsulate information about an input source in a single object, which may include a URI, a byte stream (possibly with a specified encoding), and/or a character stream. The CSS parser will use the InputSource object to determine how to read CSS input. If there is a character stream available, the parser will read that stream directly; if not, the parser will use a byte stream, if available; if neither a character stream nor a byte stream is available, the parser will attempt to open a URI connection to the resource ...
Parser: Basic interface for CSS (Simple API for CSS) parsers. All CSS parsers must implement this basic interface: it allows applications to register handlers for different types of events and to initiate a parse from a URI, or a character stream. All CSS parsers must also implement a zero-argument constructor (though other constructors are also allowed). CSS parsers are reusable but not re-entrant: the application may reuse a parser object (possibly with a different input source) once the first parse has completed successfully, but it may not invoke the parse() methods recursively within a parse.
CSSParseException: Encapsulate a CSS parse error or warning. This exception will include information for locating the error in the original CSS document. Note that although the application will receive a CSSParseException as the argument to the handlers in the ErrorHandler interface, the application is not actually required to throw the exception; instead, it can simply read the information in it and take a different action. Since this exception is a subclass of CSSException, it inherits the ability to wrap another exception.
DocumentHandler: This is the main interface that most CSS applications implement: if the application needs to be informed of basic parsing events, it implements this interface and registers an instance with the CSS parser using the setCSSHandler method.
LexicalUnit: This is a lexical unit for CSS values. Remarks : Not all the following lexical units are supported (or will be supported) by CSS. All examples are CSS2 compliant.
Selector: This interface defines a selector. Remarks : Not all the following selectors are supported (or will be supported) by CSS. All examples are CSS2 compliant.
SelectorList: The SelectorList interface provides the abstraction of an ordered collection of selectors, without defining or constraining how this collection is implemented.
SimpleSelector: This interface is only for constraints on selectors. A ConditionalSelector can only accept a simple selector or a negative selector.
ProcessingInstructionSelector: This simple matches a processing instruction .

Home | Contact Us | Privacy Policy | Terms of Service