|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.jasig.portal.channels.adminnav.XMLLinksHandler
@Deprecated public class XMLLinksHandler
Handler for receiving SAX events from parsing a set of links having the following structure.
<links [bundleResolver="bundleBase"]>
<link labelId="id-unique-within-resolver"
channelFunctionalName="functional-name-of-channel">
[<parameter name="some-Name" value="some-value" />
<parameter ..../>
]
<link...>...</link>
</links>
If an instance of ILabelResolver is not passed into this class and there
is no bundleResolver declared by the links element then an
IllegalStateException will be thrown. Similarly, if a null
ILinkRegistrar instance is passed in an IllegalStateException will be
thrown.
| Constructor Summary | |
|---|---|
XMLLinksHandler()
Deprecated. Default constructor which obtains an instance of ILinkRegistrar from AdminNavChannel's static getLinkRegistrar() method. |
|
XMLLinksHandler(ILinkRegistrar registrar)
Deprecated. Constructor accepting an instance of ILinkRegistrar into which all link definitions will be added. |
|
XMLLinksHandler(ILinkRegistrar registrar,
ILabelResolver resolver)
Deprecated. Constructor accepting an instance of ILinkRegistrar into which all link definitions will be added. |
|
| Method Summary | |
|---|---|
void |
endElement(String uri,
String localName,
String qName)
Deprecated. |
void |
startElement(String nsURI,
String localName,
String qName,
Attributes atts)
Deprecated. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLLinksHandler()
public XMLLinksHandler(ILinkRegistrar registrar)
public XMLLinksHandler(ILinkRegistrar registrar,
ILabelResolver resolver)
| Method Detail |
|---|
public void startElement(String nsURI,
String localName,
String qName,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXException
public void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||