|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Filter
A filter defines a filtration of a set of facts based upon aspect value matching.
A filter only uses one aspect value for a given aspect.
| Method Summary | |
|---|---|
void |
addCriterion(AspectValue criterion)
|
boolean |
filtersOn(URI aspectId)
|
Set<Fact> |
getMatchingFacts(FactSet candidateFacts)
|
void |
removeAllCriteria()
Removes all selection criteria from the filter. |
void |
removeCriterion(URI aspectId)
|
| Method Detail |
|---|
void addCriterion(AspectValue criterion)
throws XBRLException
criterion - The aspect value to use as a filtration selection
criterion.
XBRLException - if any of the parameters are null.void removeCriterion(URI aspectId)
aspectId - The aspect ID for the aspect that is to have its selection
criterion removed from this filter. This method does nothing if the
filter is not currently applying a criterion for the specified aspect.void removeAllCriteria()
boolean filtersOn(URI aspectId)
aspectId - The aspect ID for the aspect that is to have its selection
criterion removed from this filter.
Set<Fact> getMatchingFacts(FactSet candidateFacts)
candidateFacts - The facts to be filtered.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||