public class XBRLAndFilter extends java.util.Vector<XBRLFacetFilter> implements XBRLFacetFilter
Constructor and Description |
---|
XBRLAndFilter(java.lang.String id)
Instantiates a new XBRL and filter.
|
Modifier and Type | Method and Description |
---|---|
static XBRLFacetFilter |
compileFilter(net.sf.saxon.s9api.XdmNode filterNode,
net.sf.saxon.s9api.XPathCompiler xp,
java.util.Hashtable<java.lang.String,XBRLFacetFilter> htFiltersById)
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.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public XBRLAndFilter(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) throws LoaderException
XBRLFacetFilter
createFilterNode
in interface XBRLFacetFilter
dts
- the dtsLoaderException
- the loader exceptionpublic static XBRLFacetFilter compileFilter(net.sf.saxon.s9api.XdmNode filterNode, net.sf.saxon.s9api.XPathCompiler xp, java.util.Hashtable<java.lang.String,XBRLFacetFilter> htFiltersById) throws LoaderException
filterNode
- the filter nodexp
- the xphtFiltersById
- the ht filters by idLoaderException
- the loader exceptionpublic 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