|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
railo.transformer.library.function.FunctionLibFactory
public final class FunctionLibFactory
Die FunctionLibFactory ist der Produzent f�r eine oder mehrere FunctionLib, d.H. �ber statische Methoden (get, getDir) k�nnen FunctionLibs geladen werden. Die FunctionLibFactory erbt sich vom DefaultHandler.
Field Summary | |
---|---|
static String |
DEFAULT_SAX_PARSER
Definiert den Default SAX Parser |
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Geerbte Methode von org.xml.sax.ContentHandler, wird bei durchparsen des XML, zum einlesen des Content eines Body Element aufgerufen. |
static FunctionLib |
combineFLDs(FunctionLib[] flds)
return one FunctionLib contain content of all given Function Libs |
static FunctionLib |
combineFLDs(Set flds)
|
void |
endElement(String uri,
String name,
String qName)
Geerbte Methode von org.xml.sax.ContentHandler, wird bei durchparsen des XML, beim auftreten eines End-Tag aufgerufen. |
static FunctionLib[] |
loadFromDirectory(Resource dir)
L�dt mehrere FunctionLib's die innerhalb eines Verzeichnisses liegen. |
static FunctionLib[] |
loadFromDirectory(Resource dir,
String saxParser)
L�dt mehrere FunctionLib's die innerhalb eines Verzeichnisses liegen. |
static FunctionLib |
loadFromFile(Resource file)
L�dt eine einzelne FunctionLib. |
static FunctionLib |
loadFromFile(Resource res,
String saxParser)
L�dt eine einzelne FunctionLib. |
static FunctionLib |
loadFromSystem()
L�dt die Systeminterne FLD. |
static FunctionLib |
loadFromSystem(String saxParser)
L�dt die Systeminterne FLD. |
void |
startElement(String uri,
String name,
String qName,
Attributes atts)
Geerbte Methode von org.xml.sax.ContentHandler, wird bei durchparsen des XML, beim Auftreten eines Start-Tag aufgerufen. |
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 |
---|
public static final String DEFAULT_SAX_PARSER
Method Detail |
---|
public void startElement(String uri, String name, String qName, Attributes atts)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
ContentHandler.startElement(String, String, String, Attributes)
public void endElement(String uri, String name, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
ContentHandler.endElement(String, String, String)
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
ContentHandler.characters(char[], int, int)
public static FunctionLib[] loadFromDirectory(Resource dir) throws FunctionLibException
dir
- Verzeichnis im dem die FunctionLib's liegen.
FunctionLibException
public static FunctionLib[] loadFromDirectory(Resource dir, String saxParser) throws FunctionLibException
dir
- Verzeichnis im dem die FunctionLib's liegen.saxParser
- Definition des Sax Parser mit dem die FunctionLib's eingelesen werden sollen.
FunctionLibException
public static FunctionLib loadFromFile(Resource file) throws FunctionLibException
file
- FLD die geladen werden soll.
FunctionLibException
public static FunctionLib loadFromFile(Resource res, String saxParser) throws FunctionLibException
res
- FLD die geladen werden soll.saxParser
- Definition des Sax Parser mit dem die FunctionLib eingelsesen werden soll.
FunctionLibException
public static FunctionLib loadFromSystem() throws FunctionLibException
FunctionLibException
public static FunctionLib loadFromSystem(String saxParser) throws FunctionLibException
saxParser
- Definition des Sax Parser mit dem die FunctionLib eingelsesen werden soll.
FunctionLibException
public static FunctionLib combineFLDs(FunctionLib[] flds)
flds
-
public static FunctionLib combineFLDs(Set flds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |