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.
|
org.jdom.Element |
createFilterNode()
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)
XBRLFacetFiltermatches in interface XBRLFacetFilterfact - XBRLFact to testcontext - the contextpublic org.jdom.Element createFilterNode()
throws LoaderException
XBRLFacetFiltercreateFilterNode in interface XBRLFacetFilterLoaderException - the loader exceptionpublic java.lang.String getId()
getId in interface XBRLFacetFilterpublic 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)
XBRLFacetFiltersetId in interface XBRLFacetFilterid - the new id