com.ihr.xbrl.mapper.filters
Class XBRLContextFilter
java.lang.Object
com.ihr.xbrl.mapper.filters.XBRLContextFilter
- All Implemented Interfaces:
- XBRLFacetFilter
public class XBRLContextFilter
- extends java.lang.Object
- implements XBRLFacetFilter
This is a filter matches if the fact belongs to a specific context or a c_equal context
- Author:
- Ignacio
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XBRLContextFilter
public XBRLContextFilter()
XBRLContextFilter
public XBRLContextFilter(XBRLContext ctx)
matches
public boolean matches(XBRLFact fact)
- Description copied from interface:
XBRLFacetFilter
- Return a boolean value indicating if the fact passes the filter.
true - match
false - no match
- Specified by:
matches in interface XBRLFacetFilter
- Parameters:
fact - XBRLFact to test
- Returns:
- boolean
getContext
public XBRLContext getContext()
- Returns:
- the ctx
setContext
public void setContext(XBRLContext ctx)
- Parameters:
ctx - the ctx to set
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa