public static class SQLDriver.SQLIdentifier
extends java.lang.Object
| Constructor and Description | 
|---|
| SQLIdentifier(java.lang.String identifier,
             java.lang.String plainSql)Creates a new SQLIdentifier. | 
| SQLIdentifier(net.sf.saxon.s9api.XdmNode identifierNode)Creates a new SQLIdentifier. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addNamespace(java.lang.String prefix,
            java.lang.String uri)Adds the namespace. | 
| java.lang.String | getIdentifier()Gets the identifier. | 
| void | processFact(java.sql.Connection dbConnection,
           XBRLFact fact,
           net.sf.saxon.s9api.Processor xpSqProc)Prepares the SQL statement with content from the fact item
 and executes the generated SQL statement. | 
public SQLIdentifier(java.lang.String identifier,
                     java.lang.String plainSql)
identifier - String, the identifier that matches an event nameplainSql - the raw SQL expression with {XPath: expressions embeddedpublic SQLIdentifier(net.sf.saxon.s9api.XdmNode identifierNode)
identifierNode - XdmNodepublic void addNamespace(java.lang.String prefix,
                         java.lang.String uri)
prefix - the prefixuri - the uripublic java.lang.String getIdentifier()
public void processFact(java.sql.Connection dbConnection,
                        XBRLFact fact,
                        net.sf.saxon.s9api.Processor xpSqProc)
                 throws java.sql.SQLException,
                        FactHandlerException
dbConnection - the db connectionfact - the factxpSqProc - the xp sq procjava.sql.SQLException - the SQL exceptionFactHandlerException - the fact handler exceptionCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa