org.xbrlapi.sax.identifiers
Class XBRLIdentifier
java.lang.Object
org.xbrlapi.sax.identifiers.BaseIdentifier
org.xbrlapi.sax.identifiers.XBRLIdentifier
- All Implemented Interfaces:
- Identifier
public class XBRLIdentifier
- extends BaseIdentifier
- implements Identifier
Identifies fragments in the XBRL 2.1 namespace.
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
|
Method Summary |
void |
endElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Set the boolean state variables based upon whether the next
element can be a tuple in an XBRL instance and whether the
parser is within an XBRL instance and whether the parser is
within a reference resource. |
void |
startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Finds fragments in the XBRL 2.1 namespace and keeps
track of boolean state variables tracking whether the
parser is inside and XBRL instance and whether the current
element can be a tuple in an XBRL instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XBRLIdentifier
public XBRLIdentifier(ContentHandler contentHandler)
throws XBRLException
- Throws:
XBRLException- See Also:
BaseIdentifier.BaseIdentifier(ContentHandler)
startElement
public void startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws XBRLException
- Finds fragments in the XBRL 2.1 namespace and keeps
track of boolean state variables tracking whether the
parser is inside and XBRL instance and whether the current
element can be a tuple in an XBRL instance.
- Specified by:
startElement in interface Identifier- Overrides:
startElement in class BaseIdentifier
- Parameters:
namespaceURI - the namespace of the elementlName - the local name of the elementqName - the qname of the elementattrs - the attributes of the element
- Throws:
XBRLException- See Also:
BaseIdentifier.startElement(String,String,String,Attributes)
endElement
public void endElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws XBRLException
- Set the boolean state variables based upon whether the next
element can be a tuple in an XBRL instance and whether the
parser is within an XBRL instance and whether the parser is
within a reference resource.
- Specified by:
endElement in interface Identifier- Overrides:
endElement in class BaseIdentifier
- Parameters:
namespaceURI - the namespace of the elementlName - the local name of the elementqName - the qname of the elementattrs - the attributes of the element
- Throws:
XBRLException- See Also:
Identifier.endElement(String, String, String, Attributes)