public class XBRLTrueFilter extends java.lang.Object implements XBRLFacetFilter
Constructor and Description |
---|
XBRLTrueFilter(java.lang.String id)
Instantiates a new XBRL true filter.
|
Modifier and Type | Method and Description |
---|---|
static XBRLFacetFilter |
compileFilter(net.sf.saxon.s9api.XdmNode filterNode,
net.sf.saxon.s9api.XPathCompiler xp)
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 XBRLTrueFilter(java.lang.String id)
id
- the idpublic boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFilter
matches
in interface XBRLFacetFilter
fact
- XBRLFact to testcontext
- the contextpublic XMLFragment createFilterNode(DTSContainer dts)
XBRLFacetFilter
createFilterNode
in interface XBRLFacetFilter
dts
- the dtspublic static XBRLFacetFilter compileFilter(net.sf.saxon.s9api.XdmNode filterNode, net.sf.saxon.s9api.XPathCompiler xp)
filterNode
- the filter nodexp
- the xppublic java.lang.String getId()
XBRLFacetFilter
getId
in interface XBRLFacetFilter
public 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