Browse Source

Fixed all javadoc issues, "ant javadocs" now works without errors


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1364567 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Mehdi Houshmand 11 years ago
parent
commit
1e21dd0309

+ 0
- 1
src/java/org/apache/fop/fonts/DefaultFontConfigurator.java View File

@@ -52,7 +52,6 @@ public class DefaultFontConfigurator implements FontConfigurator<EmbedFontInfo>

/**
* Main constructor
* @param fontInfoConfig the configuration object
* @param fontManager the font manager
* @param listener the font event listener
* @param strict true if an Exception should be thrown if an error is found.

+ 2
- 3
src/java/org/apache/fop/fonts/FontCache.java View File

@@ -462,10 +462,9 @@ public final class FontCache implements Serializable {
}

/**
* Retrieve the last modified date/time of a URL.
* Retrieve the last modified date/time of a URI.
*
* @param url
* the URL
* @param uri the URI
* @return the last modified date/time
*/
public static long getLastModified(URI uri) {

+ 1
- 3
src/java/org/apache/fop/fonts/FontManager.java View File

@@ -138,7 +138,6 @@ public class FontManager {

/**
* Whether or not to cache results of font triplet detection/auto-config
* @param useCache use cache or not
*/
public void disableFontCache() {
fontCacheManager = FontCacheManagerFactory.createDisabled();
@@ -163,8 +162,7 @@ public class FontManager {

/**
* Deletes the current FontCache file
* @return Returns true if the font cache file was successfully deleted.
* @throws FOPException -
* @throws FOPException if an error was thrown while deleting the cache
*/
public void deleteCache() throws FOPException {
fontCacheManager.delete(getCacheFile(true));

+ 1
- 1
src/java/org/apache/fop/layoutmgr/inline/AbstractPageNumberCitationLayoutManager.java View File

@@ -136,7 +136,7 @@ public abstract class AbstractPageNumberCitationLayoutManager extends LeafNodeLa

/**
* @return {@link org.apache.fop.area.inline.UnresolvedPageNumber#FIRST} or
* {@linkorg.apache.fop.area.inline.UnresolvedPageNumber#LAST}
* {@link org.apache.fop.area.inline.UnresolvedPageNumber#LAST}
*/
protected abstract boolean getReferenceType();


+ 0
- 1
src/java/org/apache/fop/pdf/StreamCacheFactory.java View File

@@ -30,7 +30,6 @@ public final class StreamCacheFactory {

/**
* Returns an instance of a StreamCacheFactory with the requested features.
* @param cacheToFile True if file shall be cached using a temporary file
* @return StreamCacheFactory the requested factory
*/
public static StreamCacheFactory getInstance() {

+ 3
- 3
src/java/org/apache/fop/render/AbstractRendererMaker.java View File

@@ -46,10 +46,10 @@ public abstract class AbstractRendererMaker {
public abstract String[] getSupportedMimeTypes();

/**
* Returns a renderer config object that can be used to
* configure the renderer.
* Configures a given renderer using the appropriate configurator.
*
* @param userAgent user agent
* @return a config object that can be used to configure the renderer
* @param renderer the renderer that is to be configured
*/
public abstract void configureRenderer(FOUserAgent userAgent, Renderer renderer)
throws FOPException;

+ 3
- 2
src/java/org/apache/fop/render/intermediate/IFDocumentHandlerConfigurator.java View File

@@ -29,6 +29,7 @@ public interface IFDocumentHandlerConfigurator {

/**
* Configures a intermediate format document handler.
*
* @param documentHandler the document handler instance
* @throws FOPException if an error occurs while configuring the object
*/
@@ -36,10 +37,10 @@ public interface IFDocumentHandlerConfigurator {

/**
* Sets up the {@link FontInfo} object for the IFDocumentHandler.
* @param documentHandler the document handler instance
*
* @param mimeType the MIME type of the document handler
* @param fontInfo the font info object to set up
* @throws FOPException if an error occurs while configuring the object
*/
void setupFontInfo(String mimeType, FontInfo fontInfo) throws FOPException;

}

+ 1
- 1
src/java/org/apache/fop/render/ps/PSRendererOption.java View File

@@ -29,7 +29,7 @@ import org.apache.fop.render.RendererConfigOption;
public enum PSRendererOption implements RendererConfigOption {
/** Indicates whether landscape pages should be rotated, default: false */
AUTO_ROTATE_LANDSCAPE("auto-rotate-landscape", false),
/** Sets the PostScript language leven, default: {@see PSGenerator#DEFAULT_LANGUAGE_LEVEL}*/
/** Sets the PostScript language level, default: {@link PSGenerator#DEFAULT_LANGUAGE_LEVEL} */
LANGUAGE_LEVEL("language-level", PSGenerator.DEFAULT_LANGUAGE_LEVEL),
/** Whether resources should be optimized in a post-processing run, default: false */
OPTIMIZE_RESOURCES("optimize-resources", false),

+ 2
- 4
src/java/org/apache/fop/util/ColorSpaceCache.java View File

@@ -62,13 +62,11 @@ public class ColorSpaceCache {
* If that fails null is returned.
*
* @param profileName the profile name
* @param base a base URI to resolve relative URIs
* @param iccProfileSrc ICC Profile source to return a ColorSpace for
* @param iccProfileSrc ICC Profile source to return a ColorSpace
* @param renderingIntent overriding rendering intent
* @return ICC ColorSpace object or null if ColorSpace could not be created
*/
public ColorSpace get(String profileName, String iccProfileSrc,
RenderingIntent renderingIntent) {
public ColorSpace get(String profileName, String iccProfileSrc, RenderingIntent renderingIntent) {
String key = profileName + ":" + iccProfileSrc;
// TODO: This stuff needs some TLC, fix it!!
ColorSpace colorSpace = null;

Loading…
Cancel
Save