org.wikimodel.wem
Class ReferenceHandler
java.lang.Object
org.wikimodel.wem.ReferenceHandler
public abstract class ReferenceHandler
- extends Object
This utility class splits references to individual parts (hyper-link and
label) and delegates to separate methods handling of images, normal
references and downloads.
- Author:
- kotelnikov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX_DOWNLOAD
public static final String PREFIX_DOWNLOAD
- See Also:
- Constant Field Values
PREFIX_IMAGE
public static final String PREFIX_IMAGE
- See Also:
- Constant Field Values
ReferenceHandler
public ReferenceHandler()
handle
public void handle(String ref)
handle
public void handle(WikiReference ref)
handleDownload
protected void handleDownload(String ref,
String label)
handleImage
protected abstract void handleImage(String ref,
String label)
handleReference
protected abstract void handleReference(String ref,
String label)
Copyright © 2005-2009. All Rights Reserved.