|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xbrlapi.xlink.XLinkProcessorImpl
public class XLinkProcessorImpl
XLink 1.1 processor for use with SAX parsers.
| Field Summary |
|---|
| Fields inherited from interface org.xbrlapi.xlink.XLinkProcessor |
|---|
ARC, CUSTOM_LINK, EXTENDED_LINK, LOCATOR, NOT_XLINK, RESOURCE, SIMPLE_LINK, TITLE |
| Constructor Summary | |
|---|---|
XLinkProcessorImpl(XLinkHandler xlinkHandler)
constructor |
|
XLinkProcessorImpl(XLinkHandler xlinkHandler,
CustomLinkRecogniser recogniser)
constructor |
|
| Method Summary | |
|---|---|
void |
endElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Respond to the end of an element, examining the element for XLink features. |
boolean |
equals(Object obj)
|
XLinkHandler |
getXLinkHandler()
Provides access to the XLink handler being used by the XLink processor. |
int |
hashCode()
|
void |
setCustomLinkRecogniser(CustomLinkRecogniser customLinkRecogniser)
Set the custom link recogniser |
void |
startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Respond to the start of an element, examining the element for XLink features |
void |
titleCharacters(char[] buf,
int offset,
int len)
Handles the character content for a title element |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XLinkProcessorImpl(XLinkHandler xlinkHandler)
xlinkHandler - The XLink Handler
public XLinkProcessorImpl(XLinkHandler xlinkHandler,
CustomLinkRecogniser recogniser)
xlinkHandler - The XLink Handler.recogniser - The Custom link recogniser.| Method Detail |
|---|
public void setCustomLinkRecogniser(CustomLinkRecogniser customLinkRecogniser)
setCustomLinkRecogniser in interface XLinkProcessorcustomLinkRecogniser - The class that indicates if a custom link
has been recognised.
public void startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws XLinkException
XLinkProcessor
startElement in interface XLinkProcessorXLinkExceptionXLinkProcessor.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void endElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws XLinkException
XLinkProcessor
endElement in interface XLinkProcessornamespaceURI - The namespace of the element being ended.lName - The local name of the element being ended.qName - The QName of the element being ended.attrs - The attributes of the element being ended.
XLinkExceptionXLinkProcessor.endElement(String, String, String, Attributes)
public void titleCharacters(char[] buf,
int offset,
int len)
throws XLinkException
XLinkProcessor
titleCharacters in interface XLinkProcessorXLinkExceptionXLinkProcessor.titleCharacters(char[], int, int)public XLinkHandler getXLinkHandler()
getXLinkHandler in interface XLinkProcessorpublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||