public class XBMCLibrary extends XBMCExtension
DTD_WEB_LOCATION, SCHEMA_WEB_LOCATION
Constructor and Description |
---|
XBMCLibrary(XBMCAddon addon,
java.io.File scraperFile,
java.lang.String point)
The constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executeXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to execute a XBMC function
|
org.w3c.dom.Element |
findXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to find the scraper function
|
executeXBMCFunction, getAddon, getDocument, getFile, toString
createDocBuilder, createFactory, deleteNode, domToStr, domToStrNoXMLProlog, encodeAttributeValue, firstChild, fixXMl, getAttribute, getElement, getFirstChildElement, getFloatFromXML, getIntegerFromXML, getLastChildElement, getLongFromXML, getSchema, getStringFromXML, getStringFromXMLOrNull, getURLFromXML, getURLFromXMLOrNull, hasNode, parse, parse, parse, quoteXPathQuery, selectChildNodes, selectNodeList, selectSingleNode, strToDom, strToDom, strToDom, writeXML
public XBMCLibrary(XBMCAddon addon, java.io.File scraperFile, java.lang.String point)
addon
- the addonscraperFile
- The scraper file the extension is been read frompoint
- The extension point been used for the extensionpublic java.lang.String executeXBMCScraperFunction(XBMCAddon rootAddon, java.lang.String functionName) throws XBMCException, XMLParserException
executeXBMCScraperFunction
in class XBMCExtension
rootAddon
- The root addon that required all the othersfunctionName
- The name of the functionXBMCException
- Thrown if their is a XBMC problemXMLParserException
- Thrown if their is a XML problempublic org.w3c.dom.Element findXBMCScraperFunction(XBMCAddon rootAddon, java.lang.String functionName) throws XBMCException, XMLParserException
findXBMCScraperFunction
in class XBMCExtension
rootAddon
- The root addon that required all the othersfunctionName
- The name of the function to executeXBMCException
- Thrown if their is a XBMC problemXMLParserException
- Thrown if their is a XML problem