public class XBRLConceptNameFilter extends java.lang.Object implements XBRLFacetFilter
Constructor and Description |
---|
XBRLConceptNameFilter(java.lang.String id,
javax.xml.namespace.QName name)
Instantiates a new XBRL concept name filter.
|
Modifier and Type | Method and Description |
---|---|
static XBRLFacetFilter |
compileFilter(net.sf.saxon.s9api.XdmNode filterNode,
net.sf.saxon.s9api.XPathCompiler xp)
Compile filter.
|
XMLFragment |
createFilterNode(DTSContainer dts)
Returns a node representing the serialization of this filter so it can be
created later from the node.
|
javax.xml.namespace.QName |
getConceptName()
Gets the concept name.
|
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 |
setConceptName(javax.xml.namespace.QName name)
Sets the concept name.
|
void |
setId(java.lang.String id)
Sets the id.
|
public XBRLConceptNameFilter(java.lang.String id, javax.xml.namespace.QName name)
id
- the idname
- the namepublic void setConceptName(javax.xml.namespace.QName name)
name
- the new concept namepublic javax.xml.namespace.QName getConceptName()
public boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFilter
matches
in interface XBRLFacetFilter
fact
- XBRLFact to testcontext
- the contextpublic XMLFragment createFilterNode(DTSContainer dts)
XBRLFacetFilter
createFilterNode
in interface XBRLFacetFilter
dts
- the dtspublic static XBRLFacetFilter compileFilter(net.sf.saxon.s9api.XdmNode filterNode, net.sf.saxon.s9api.XPathCompiler xp) throws LoaderException
filterNode
- the filter nodexp
- the xpLoaderException
- 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