|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XLinkHandler
Event handler for the XLink processor, responsible for performing the user required responses to the XLink structures being processed by the XLink processor. The XLink handler is very similar in nature to the SAX content handler. The XLink processor receives events from the SAX parser that is parsing in the XLinks and then passes those events through to the nominated XLinkHandler, augmented with a range of state information relating to where abouts in an XLink structure the XLink event has been triggered from.
| Method Summary | |
|---|---|
void |
endArc(String namespaceURI,
String sName,
String qName)
Handles straight pass through of SAX event for the end of simple link elements. |
void |
endExtendedLink(String namespaceURI,
String sName,
String qName)
Handles straight pass through of SAX event for the end of extended link elements. |
void |
endLocator(String namespaceURI,
String sName,
String qName)
Handles straight pass through of SAX event for the end of locators. |
void |
endResource(String namespaceURI,
String sName,
String qName)
Handles straight pass through of SAX event for the end of local resources. |
void |
endSimpleLink(String namespaceURI,
String sName,
String qName)
Handles straight pass through of SAX event for the end of simple link elements. |
void |
endTitle(String namespaceURI,
String sName,
String qName)
Handles straight pass through of SAX event for the end of simple title elements. |
void |
error(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String message)
Handle an error message from the XLink processor allowing the handler to decide how seriously to take the error. |
void |
startArc(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String from,
String to,
String arcrole,
String title,
String show,
String actuate)
Handles the start of processing an arc. |
void |
startExtendedLink(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String role,
String title)
Handles the start of processing an extended link. |
void |
startLocator(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String href,
String role,
String title,
String label)
Handles the start of processing a locator. |
void |
startResource(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String role,
String title,
String label)
Handles the start of processing a local resource. |
void |
startSimpleLink(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String href,
String role,
String arcrole,
String title,
String show,
String actuate)
Handles the start of processing a simple link (and custom links). |
void |
startTitle(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Handles straight pass through of SAX event for XLink title elements |
void |
titleCharacters(char[] buf,
int offset,
int len)
Handles the character content of a title element |
void |
warning(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String message)
Handle a warning that the document may not be doing what the creator of the XLink intended |
void |
xmlBaseEnd()
Handles end of an element so that XML base related operations can to done |
void |
xmlBaseStart(String value)
Handles the start of an element, providing any XML Base attribute value. |
| Method Detail |
|---|
void startSimpleLink(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String href,
String role,
String arcrole,
String title,
String show,
String actuate)
throws XLinkException
namespaceURI - lName - qName - attrs - href - role - arcrole - title - show - actuate -
XLinkException
void endSimpleLink(String namespaceURI,
String sName,
String qName)
throws XLinkException
namespaceURI - sName - qName -
XLinkException
void startTitle(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws XLinkException
namespaceURI - lName - qName - attrs -
XLinkException
void endTitle(String namespaceURI,
String sName,
String qName)
throws XLinkException
namespaceURI - sName - qName -
XLinkException
void titleCharacters(char[] buf,
int offset,
int len)
throws XLinkException
buf - offset - len -
XLinkException
void startExtendedLink(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String role,
String title)
throws XLinkException
namespaceURI - lName - qName - attrs - role - title -
XLinkException
void endExtendedLink(String namespaceURI,
String sName,
String qName)
throws XLinkException
namespaceURI - sName - qName -
XLinkException
void startResource(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String role,
String title,
String label)
throws XLinkException
namespaceURI - lName - qName - attrs - role - title - label -
XLinkException
void endResource(String namespaceURI,
String sName,
String qName)
throws XLinkException
namespaceURI - sName - qName -
XLinkException
void startLocator(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String href,
String role,
String title,
String label)
throws XLinkException
namespaceURI - lName - qName - attrs - href - role - title - label -
XLinkException
void endLocator(String namespaceURI,
String sName,
String qName)
throws XLinkException
namespaceURI - sName - qName -
XLinkException
void startArc(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String from,
String to,
String arcrole,
String title,
String show,
String actuate)
throws XLinkException
namespaceURI - lName - qName - attrs - from - to - arcrole - title - show - actuate -
XLinkException
void endArc(String namespaceURI,
String sName,
String qName)
throws XLinkException
namespaceURI - sName - qName -
XLinkException
void xmlBaseStart(String value)
throws XLinkException
value - The value of the XML Base attribute
XLinkException
void xmlBaseEnd()
throws XLinkException
XLinkException
void error(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String message)
throws XLinkException
namespaceURI - Namespace of the element generating the errorlName - local name of the element generating the errorqName - qName of the element generating the errorattrs - attributes of the element generating the errormessage - The text of the error message
XLinkException - if the handler does not deal with
the XLink problem internally
void warning(String namespaceURI,
String lName,
String qName,
Attributes attrs,
String message)
throws XLinkException
namespaceURI - Namespace of the element generating the errorlName - local name of the element generating the errorqName - qName of the element generating the errorattrs - attributes of the element generating the errormessage - The text of the warning message
XLinkException - if the handler does not deal with
the XLink warning internally
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||