| java.lang.Object org.jasig.portal.utils.SAX2FilterImpl org.jasig.portal.StylesheetSet
StylesheetSet | public class StylesheetSet extends SAX2FilterImpl (Code) | | A tool for managing a collection of stylesheets.
StylesheetSet allows you to instansiate a list
of stylesheets in memory and select one according
to the request/title/media parameters.
author: Peter Kharchenko version: $Revision: 35418 $ |
Inner Class :class OrderedProps | |
m_defaultMediaPropsUri | final protected static String m_defaultMediaPropsUri(Code) | | |
StylesheetSet | public StylesheetSet()(Code) | | |
StylesheetSet | public StylesheetSet(ContentHandler dt)(Code) | | Create a SAX filter that will pick up stylesheet bindings in a document that's processed through this filter.
Parameters: dt - a ContentHandler of the downstream SAX listener.. |
StylesheetSet | public StylesheetSet(String uri) throws PortalException(Code) | | Creates a new StylesheetSet instance given a .ssl file URI.
Parameters: uri - a String value exception: PortalException - if an error occurs |
addStyleSheet | public void addStyleSheet(StylesheetDescription sd)(Code) | | Add a stylesheet to the list.
Parameters: sd - a StylesheetDescription value |
getStylesheet | public Source getStylesheet(String title)(Code) | | Obtain a stylesheet transform source
Parameters: title - a String value a Source for a given stylesheet |
getStylesheet | public Source getStylesheet()(Code) | | Obtains a default stylesheet.
a Source for a default stylesheet. |
getStylesheet | public Source getStylesheet(String title, String media)(Code) | | Obtain a stylesheet.
Parameters: title - stylesheet title Parameters: media - stylesheet media a Source for the stylesheet. |
processingInstruction | public void processingInstruction(String target, String data) throws SAXException(Code) | | Fills StylesheetSet by accepting SAX events
Parameters: target - Parameters: data - exception: SAXException - |
Methods inherited from org.jasig.portal.utils.SAX2FilterImpl | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public ContentHandler getContentHandler()(Code)(Java Doc) public DTDHandler getDTDHandler()(Code)(Java Doc) public EntityResolver getEntityResolver()(Code)(Java Doc) public ErrorHandler getErrorHandler()(Code)(Java Doc) public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public XMLReader getParent()(Code)(Java Doc) public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void parse(InputSource input) throws SAXException, IOException(Code)(Java Doc) public void parse(String systemId) throws SAXException, IOException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException(Code)(Java Doc) public void setAllHandlers(ContentHandler ch)(Code)(Java Doc) public void setContentHandler(ContentHandler handler)(Code)(Java Doc) public void setDTDHandler(DTDHandler handler)(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void setEntityResolver(EntityResolver resolver)(Code)(Java Doc) public void setErrorHandler(ErrorHandler handler)(Code)(Java Doc) public void setFeature(String name, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public void setLexicalHandler(LexicalHandler handler)(Code)(Java Doc) public void setParent(XMLReader parent)(Code)(Java Doc) public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|