public static class XBRLCTimeFilter.XBRLCDurationShortestFilter extends XBRLCTimeFilter.DurationFilter
Constructor and Description |
---|
XBRLCDurationShortestFilter(XBRLCTimeFilter parent)
Instantiates a new XBRLC duration shortest 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.
|
javax.xml.datatype.Duration |
getDuration(XBRLFilterContext context)
Gets the duration.
|
java.lang.String |
getId()
Gets the id.
|
boolean |
matches(XBRLFact fact,
XBRLFilterContext context)
Return a boolean value indicating if the fact passes the filter.
|
boolean |
matches(XBRLPeriod factPeriod,
XBRLFilterContext context)
Matches.
|
void |
setId(java.lang.String id)
Sets the id.
|
setParent
public XBRLCDurationShortestFilter(XBRLCTimeFilter parent)
parent
- the parentpublic boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFilter
fact
- XBRLFact to testcontext
- the contextpublic XMLFragment createFilterNode(DTSContainer dts) throws LoaderException
XBRLFacetFilter
dts
- the dtsLoaderException
- the loader exceptionpublic javax.xml.datatype.Duration getDuration(XBRLFilterContext context)
XBRLCTimeFilter.DurationFilter
getDuration
in class XBRLCTimeFilter.DurationFilter
context
- the contextpublic java.lang.String getId()
XBRLFacetFilter
public boolean matches(XBRLPeriod factPeriod, XBRLFilterContext context)
XBRLCTimeFilter.DurationFilter
matches
in class XBRLCTimeFilter.DurationFilter
factPeriod
- the pcontext
- the contextpublic void setId(java.lang.String id)
XBRLFacetFilter
id
- the new idCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa