XBRLAPI

A Java API for XBRL


org.xbrlapi.sax.identifiers
Class GenericDocumentRootIdentifier

java.lang.Object
  extended by org.xbrlapi.sax.identifiers.BaseIdentifier
      extended by 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)

Field Summary
 
Fields inherited from class org.xbrlapi.sax.identifiers.BaseIdentifier
logger
 
Constructor Summary
GenericDocumentRootIdentifier(ContentHandler contentHandler)
           
 
Method Summary
 void startElement(String namespaceURI, String lName, String qName, Attributes attrs)
          Add a generic fragment for a document root element if we have not already done so.
 
Methods inherited from class org.xbrlapi.sax.identifiers.BaseIdentifier
endElement, getContentHandler, getElementState, getLoader, processFragment, setContentHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xbrlapi.sax.identifiers.Identifier
endElement, getContentHandler, getElementState, getLoader, processFragment, setContentHandler
 

Constructor Detail

GenericDocumentRootIdentifier

public GenericDocumentRootIdentifier(ContentHandler contentHandler)
                              throws XBRLException
Throws:
XBRLException
See Also:
BaseIdentifier.BaseIdentifier(ContentHandler)
Method Detail

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 element
lName - the local name of the element
qName - the qname of the element
attrs - the attributes of the element
Throws:
XBRLException
See Also:
BaseIdentifier.startElement(String,String,String,Attributes)

Get Java XBRL API implementation at SourceForge.net.