public class XBRLContextFilter extends java.lang.Object implements XBRLFacetFilter
| Constructor and Description |
|---|
XBRLContextFilter(java.lang.String id,
XBRLContext ctx)
Instantiates a new XBRL context filter.
|
| Modifier and Type | Method and Description |
|---|---|
XMLFragment |
createFilterNode(DTSContainer dts)
Returns a node representing the serialization of this filter so it can be
created later from the node.
|
XBRLContext |
getContext()
Gets the context.
|
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 |
setContext(XBRLContext ctx)
Sets the context.
|
void |
setId(java.lang.String id)
Sets the id.
|
public XBRLContextFilter(java.lang.String id,
XBRLContext ctx)
id - the idctx - the ctxpublic boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFiltermatches in interface XBRLFacetFilterfact - XBRLFact to testcontext - the contextpublic XBRLContext getContext()
public void setContext(XBRLContext ctx)
ctx - the ctx to setpublic XMLFragment createFilterNode(DTSContainer dts) throws LoaderException
XBRLFacetFiltercreateFilterNode in interface XBRLFacetFilterdts - the dtsLoaderException - the loader exceptionpublic java.lang.String getId()
XBRLFacetFiltergetId in interface XBRLFacetFilterpublic void setId(java.lang.String id)
XBRLFacetFiltersetId in interface XBRLFacetFilterid - the new idCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa