org.xbrlapi.sax.identifiers
Class GenericDocumentRootIdentifier
java.lang.Object
org.xbrlapi.sax.identifiers.BaseIdentifier
org.xbrlapi.sax.identifiers.GenericDocumentRootIdentifier
- All Implemented Interfaces:
- Identifier
public class GenericDocumentRootIdentifier
- extends BaseIdentifier
- implements Identifier
Identifies XML Schema fragments.
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericDocumentRootIdentifier
public GenericDocumentRootIdentifier(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
- Add a generic fragment for a document root element if we
have not already done so.
- 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)