com.levigo.jadice.annotation
Class AbstractAnnotationFormat

java.lang.Object
  extended by com.levigo.jadice.document.Format
      extended by com.levigo.jadice.annotation.AbstractAnnotationFormat
All Implemented Interfaces:
Cloneable

public abstract class AbstractAnnotationFormat
extends Format

Abstract base class for annotation format information classes.


Field Summary
 
Fields inherited from class com.levigo.jadice.document.Format
BASE_FORMAT_VERSION, DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
 
Constructor Summary
AbstractAnnotationFormat()
           
 
Method Summary
 boolean canWrite()
          Return whether this Format can be written, i.e.
 boolean isSecondary()
          Return whether this format is a secondary format.
 
Methods inherited from class com.levigo.jadice.document.Format
canRead, create, createReader, createWriter, equals, getDefaultExtensions, getDescription, getMimeType, getName, getPriority, getVersion, hashCode, isSupported, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAnnotationFormat

public AbstractAnnotationFormat()
Method Detail

canWrite

public boolean canWrite()
Description copied from class: Format
Return whether this Format can be written, i.e. whether Format.createWriter() is able to create a writer.

Overrides:
canWrite in class Format
Returns:
true if we can.

isSecondary

public boolean isSecondary()
Description copied from class: Format
Return whether this format is a secondary format. Secondary formats do not, in their own right, carry document pages, but add information to other pages. All annotation formats are secondary formats.

Overrides:
isSecondary in class Format
Returns:
true if this format is a secondary format


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.