Package com.levigo.jadice.format.xfdf
Class XFDFAnnotationReaderSettings
- java.lang.Object
-
- com.levigo.jadice.annotation.AnnotationReaderSettings
-
- com.levigo.jadice.format.xfdf.XFDFAnnotationReaderSettings
-
- All Implemented Interfaces:
ProcessingSettings
,ReaderSettings
public class XFDFAnnotationReaderSettings extends AnnotationReaderSettings implements ReaderSettings
A settings class for parameters pertaining to the xfdf annotation format.
-
-
Field Summary
-
Fields inherited from class com.levigo.jadice.annotation.AnnotationReaderSettings
annotationProfile, customizers
-
-
Constructor Summary
Constructors Constructor Description XFDFAnnotationReaderSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessingSettings
createSnapshot()
Create a snapshot copy of this instance.boolean
equals(Object o)
AnnotationProfile
getAnnotationProfile()
Returns currentAnnotationProfile
.XFDFAnnotationElements
getElements()
int
hashCode()
void
setAnnotationProfile(AnnotationProfile annotationProfile)
Set an annotation profile to be used instead of any annotation profile referenced in the XML stream.void
setElements(XFDFAnnotationElements elements)
-
Methods inherited from class com.levigo.jadice.annotation.AnnotationReaderSettings
getAnnotationCustomizers, initSnapshot
-
-
-
-
Method Detail
-
getElements
public XFDFAnnotationElements getElements()
-
setElements
public void setElements(XFDFAnnotationElements elements)
-
createSnapshot
public ProcessingSettings createSnapshot()
Description copied from interface:ProcessingSettings
Create a snapshot copy of this instance. The snapshot must constitute a deep copy, so that changes to the copied object don't affect snapshots.- Specified by:
createSnapshot
in interfaceProcessingSettings
- Returns:
- a snapshot copy.
-
setAnnotationProfile
public void setAnnotationProfile(AnnotationProfile annotationProfile)
Set an annotation profile to be used instead of any annotation profile referenced in the XML stream. Set this property tonull
(default), in order to use the default profile resolution.- Overrides:
setAnnotationProfile
in classAnnotationReaderSettings
-
getAnnotationProfile
public AnnotationProfile getAnnotationProfile()
Description copied from class:AnnotationReaderSettings
Returns currentAnnotationProfile
.- Overrides:
getAnnotationProfile
in classAnnotationReaderSettings
- Returns:
- the annotation profile to be used instead of any annotation profile referenced in the XML stream.
-
-