public class XBRLRefFilter extends java.lang.Object implements XBRLFacetFilter
Constructor and Description |
---|
XBRLRefFilter(java.lang.String id,
XBRLFacetFilter ref)
Instantiates a new XBRL ref filter.
|
Modifier and Type | Method and Description |
---|---|
static XBRLFacetFilter |
compileFilter(net.sf.saxon.s9api.XdmNode filterNode,
net.sf.saxon.s9api.XPathCompiler xp,
java.util.Hashtable<java.lang.String,XBRLFacetFilter> htFiltersById)
Compile filter.
|
XMLFragment |
createFilterNode(DTSContainer dts)
Returns a node representing the serialization of this filter so it can be
created later from the node.
|
java.lang.String |
getId()
Gets the id.
|
boolean |
matches(XBRLFact fact,
XBRLFilterContext context)
Return a boolean value indicating if the fact passes the filter.
|
void |
setId(java.lang.String id)
Sets the id.
|
public XBRLRefFilter(java.lang.String id, XBRLFacetFilter ref)
id
- the idref
- the refpublic boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFilter
matches
in interface XBRLFacetFilter
fact
- XBRLFact to testcontext
- the contextpublic XMLFragment createFilterNode(DTSContainer dts) throws LoaderException
XBRLFacetFilter
createFilterNode
in interface XBRLFacetFilter
dts
- the dtsLoaderException
- the loader exceptionpublic java.lang.String getId()
getId
in interface XBRLFacetFilter
public static XBRLFacetFilter compileFilter(net.sf.saxon.s9api.XdmNode filterNode, net.sf.saxon.s9api.XPathCompiler xp, java.util.Hashtable<java.lang.String,XBRLFacetFilter> htFiltersById) throws LoaderException
filterNode
- the filter nodexp
- the xphtFiltersById
- the ht filters by idLoaderException
- the loader exceptionpublic void setId(java.lang.String id)
XBRLFacetFilter
setId
in interface XBRLFacetFilter
id
- the new idCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa