org.opensync.tools
Class ThemesReference

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.opensync.tools.ThemesReference
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public final class ThemesReference
extends org.xml.sax.helpers.DefaultHandler


Constructor Summary
ThemesReference(DbFile t)
          Constructor
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void destroy()
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
static Theme getFirstTheme()
           
static java.util.Enumeration getKeys()
           
static Theme getTheme(java.lang.String t)
           
static Theme getThemeByIdFile(java.lang.String idFile)
           
 void processThemeXml(java.lang.String filename)
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attr)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemesReference

public ThemesReference(DbFile t)
Constructor

Method Detail

getTheme

public static Theme getTheme(java.lang.String t)

getThemeByIdFile

public static Theme getThemeByIdFile(java.lang.String idFile)

getFirstTheme

public static Theme getFirstTheme()

getKeys

public static java.util.Enumeration getKeys()

destroy

public void destroy()

processThemeXml

public void processThemeXml(java.lang.String filename)
                     throws java.io.IOException,
                            java.io.FileNotFoundException,
                            org.xml.sax.SAXException,
                            javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
java.io.FileNotFoundException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

error

public void error(org.xml.sax.SAXParseException exception)
           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String namespaceURI,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


Copyright © 2004 sourceforge. All Rights Reserved.