railo.runtime.cache.eh.remote.rest.sax
Class CacheFactory

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by railo.runtime.cache.eh.remote.rest.sax.CacheFactory
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class CacheFactory
extends DefaultHandler


Field Summary
static String DEFAULT_SAX_PARSER
           
 
Constructor Summary
CacheFactory(InputStream in)
          Privater Konstruktor, der als Eingabe die TLD als File Objekt erhaelt.
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String name, String qName)
           
 CacheConfiguration getCacheConfiguration()
           
 CacheMeta getMeta()
           
 void startElement(String uri, String name, String qName, Attributes atts)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SAX_PARSER

public static final String DEFAULT_SAX_PARSER
See Also:
Constant Field Values
Constructor Detail

CacheFactory

public CacheFactory(InputStream in)
             throws IOException,
                    SAXException
Privater Konstruktor, der als Eingabe die TLD als File Objekt erhaelt.

Parameters:
saxParser - String Klassenpfad zum Sax Parser.
file - File Objekt auf die TLD.
Throws:
IOException
SAXException
Method Detail

startElement

public final void startElement(String uri,
                               String name,
                               String qName,
                               Attributes atts)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

endElement

public final void endElement(String uri,
                             String name,
                             String qName)
                      throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler

getCacheConfiguration

public CacheConfiguration getCacheConfiguration()
Returns:
the cc

getMeta

public CacheMeta getMeta()


Copyright © 2012 Railo