public class TagletProcessor extends Object
Generates the output for a single Codelet of any type. This class--and this entire package--knows nothing of com.sun. This is the middleman between com.sun and TagletOfTypeProcessor.
aliteralmind __DASH__ github __AT__ yahoo __DOT__ com), dual-licensed under the LGPL (version 3.0 or later) or the ASL (version 2.0). See source code for details. http://codelet.aliteralmind.com, https://github.com/aliteralmind/codelet| Constructor and Description |
|---|
TagletProcessor(CodeletInstance instance)
Create a new instance.
|
public TagletProcessor(CodeletInstance instance) throws ClassNotFoundException, NoSuchMethodException, NoSuchFileException, AccessDeniedException, InterruptedException
Create a new instance. Once constructed, the taglet's output may be obtained with get().
This
get() is set to instance.getFullOriginalTaglet(), and this exits.get() to its fully-customized text.instance - May not be null.IllegalStateException - If instance is of an unknown type (this is protection against a new type being added).ClassNotFoundException - Depending on the tag being used, and its format, if:NoSuchMethodException - If the customizer function does not exist, either in the explicitly specified or default classes, or does not meet its requirements.NoSuchFileException - If the source-code or plain-text file does not exist.AccessDeniedException - If the file exists, but cannot be read.InterruptedExceptionpublic String get()
Get the taglet's already-rendered output text.
[the-processor].getFullyCustomizedOutput()TagletProcessor(CodeletInstance)Copyright 2014, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
https://github.com/aliteralmind/codelet