public class CacheFactory extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SAX_PARSER |
Constructor and Description |
---|
CacheFactory(InputStream in)
Privater Konstruktor, der als Eingabe die TLD als File Objekt erhaelt.
|
Modifier and Type | Method and Description |
---|---|
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) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final String DEFAULT_SAX_PARSER
public CacheFactory(InputStream in) throws IOException, SAXException
saxParser
- String Klassenpfad zum Sax Parser.file
- File Objekt auf die TLD.IOException
SAXException
public final void startElement(String uri, String name, String qName, Attributes atts)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public final void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public CacheConfiguration getCacheConfiguration()
Copyright © 2015 Lucee