Serialized Form


Package freemarker.ext.beans

Class freemarker.ext.beans.ArrayModel extends ObjectModelBase implements Serializable

serialVersionUID: -5227864619177422669L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deprecated. 
Serialized form only contains the wrapped object itself. We need to recreate the transient values from scratch.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.beans.CollectionModel extends ObjectModel implements Serializable

serialVersionUID: -862932221330352684L

Class freemarker.ext.beans.EnumerationModel extends ObjectModel implements Serializable

serialVersionUID: -8714546177083237165L

Class freemarker.ext.beans.IteratorModel extends ObjectModel implements Serializable

serialVersionUID: -486444129621340252L

Serialized Fields

underlyingCollection

java.util.Collection<E> underlyingCollection
Deprecated. 

Class freemarker.ext.beans.ListModel extends CollectionModel implements Serializable

serialVersionUID: 4752161757569839694L

Class freemarker.ext.beans.MapModel extends ObjectModel implements Serializable

serialVersionUID: 8456378309000027653L

Class freemarker.ext.beans.ObjectModel extends ObjectModelBase implements Serializable

serialVersionUID: -7937617645779824364L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deprecated. 
Serialized form only contains the wrapped object itself. We need to recreate the transient values from scratch.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.beans.ObjectModelBase extends java.lang.Object implements Serializable

serialVersionUID: 3158510158883866641L

Serialized Fields

object

java.lang.Object object
Deprecated. 

Class freemarker.ext.beans.ResourceBundleModel extends ObjectModelBase implements Serializable

serialVersionUID: -1100872202498733138L

Class freemarker.ext.beans.RootMapModel extends java.lang.Object implements Serializable

serialVersionUID: 2019634306619167049L

Serialized Fields

map

java.util.Map<K,V> map
Deprecated. 

Class freemarker.ext.beans.SimpleNumberModel extends java.lang.Object implements Serializable

serialVersionUID: -2327048511588374224L

Serialized Fields

number

java.lang.Number number
Deprecated. 
The number wrapped by this model.

Class freemarker.ext.beans.StaticModels extends java.lang.Object implements Serializable

serialVersionUID: 5125147490812816915L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
Deprecated. 
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Package freemarker.ext.beans2

Class freemarker.ext.beans2.ArrayWrapper extends java.lang.Object implements Serializable

serialVersionUID: -3705819058406074301L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Recreate the length field when deserializing the underlying array.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

object

java.lang.Object object
The array object being wrapped by this array wrapper

Class freemarker.ext.beans2.BeanWrapper extends java.lang.Object implements Serializable

serialVersionUID: -7037399358517604046L

Serialized Fields

object

java.lang.Object object
The object being wrapped by this wrapper

Class freemarker.ext.beans2.CollectionWrapper extends IterableWrapper<T extends java.util.Collection> implements Serializable

serialVersionUID: 8727042208424695411L

Class freemarker.ext.beans2.EnumerationWrapper extends BeanWrapper<T extends java.util.Enumeration> implements Serializable

serialVersionUID: 8763330727984383168L

Class freemarker.ext.beans2.EnumWrapper extends BeanWrapper<T extends java.lang.Enum> implements Serializable

serialVersionUID: 885041368544649423L

Class freemarker.ext.beans2.IterableWrapper extends BeanWrapper<T extends java.lang.Iterable> implements Serializable

serialVersionUID: -3630522556027898051L

Class freemarker.ext.beans2.IteratorWrapper extends BeanWrapper<T extends java.util.Iterator> implements Serializable

serialVersionUID: -4482207604747105760L

Class freemarker.ext.beans2.ListIteratorWrapper extends IteratorWrapper<T extends java.util.ListIterator> implements Serializable

serialVersionUID: 3446935810442948171L

Class freemarker.ext.beans2.ListWrapper extends CollectionWrapper<T extends java.util.List> implements Serializable

serialVersionUID: 6763036843643470576L

Class freemarker.ext.beans2.MapWrapper extends BeanWrapper<T extends java.util.Map> implements Serializable

serialVersionUID: -4820592296667036613L

Class freemarker.ext.beans2.NumberWrapper extends java.lang.Object implements Serializable

serialVersionUID: 2598422264571769120L

Serialized Fields

object

java.lang.Number object
The number being wrapped by this wrapper

Class freemarker.ext.beans2.PropertiesWrapper extends BeanWrapper<T extends java.util.Properties> implements Serializable

serialVersionUID: -3959064005289779482L

Class freemarker.ext.beans2.ResourceBundleWrapper extends java.lang.Object implements Serializable

serialVersionUID: -8379991195053235923L

Serialized Fields

object

java.util.ResourceBundle object
The resource bundle object being wrapped by this wrapper

Class freemarker.ext.beans2.StaticClassWrapper extends java.lang.Object implements Serializable

serialVersionUID: -7652511717588242325L

Serialized Fields

clazz

java.lang.Class<T> clazz
The class being wrapped by this wrapper

Class freemarker.ext.beans2.StaticEnumWrapper extends StaticClassWrapper<T extends java.lang.Enum> implements Serializable


Package freemarker.ext.format

Class freemarker.ext.format.DateFormat extends java.lang.Object implements Serializable

serialVersionUID: 1202156085260321616L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.format.MessageFormat extends java.lang.Object implements Serializable

serialVersionUID: -1517804805129161097L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.format.NumberFormat extends java.lang.Object implements Serializable

serialVersionUID: 3089437737743304579L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Package freemarker.ext.jdom

Class freemarker.ext.jdom.NodeListModel extends java.lang.Object implements Serializable

serialVersionUID: -4082615505723062770L

Serialized Fields

nodes

java.util.List<E> nodes

namespaces

java.util.Map<K,V> namespaces

Package freemarker.ext.misc

Class freemarker.ext.misc.AsNumber extends java.lang.Object implements Serializable

serialVersionUID: 6428166403118081275L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.AsString extends java.lang.Object implements Serializable

serialVersionUID: 7627928099849622677L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.CollectionSize extends java.lang.Object implements Serializable

serialVersionUID: -9103419191882498128L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.CompressLines extends java.lang.Object implements Serializable

serialVersionUID: 1925033139308755755L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.CompressWhitespace extends java.lang.Object implements Serializable

serialVersionUID: 5379995644307790605L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Execute extends java.lang.Object implements Serializable

serialVersionUID: 5467000191663173645L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.ExtendedHash extends SimpleHash implements Serializable

serialVersionUID: 8661840173354127769L

Class freemarker.ext.misc.ExtendedList extends SimpleList implements Serializable

serialVersionUID: 1503259903034496279L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization purposes, read this object in a specialized manner. This resets the shelf life to the current time.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

shelfLife

long shelfLife
The shelf life in milliseconds of this ExtendedList.

isPermanent

boolean isPermanent
Whether this ExtendedList has an indefinite shelf life.

Class freemarker.ext.misc.FilterList extends java.lang.Object implements Serializable

serialVersionUID: -814423975075426673L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.FilterTransform extends java.lang.Object implements Serializable

serialVersionUID: -135449979541531946L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.FreeMarkerToHtml extends java.lang.Object implements Serializable

serialVersionUID: -5357258851346554174L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then reconstruct the Perl 5 utility class.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.misc.HashKeys extends java.lang.Object implements Serializable

serialVersionUID: 3334841747400042313L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.HashValues extends java.lang.Object implements Serializable

serialVersionUID: -2622939369036499463L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.HtmlEscape extends java.lang.Object implements Serializable

serialVersionUID: -4546902812222218947L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsEmpty extends java.lang.Object implements Serializable

serialVersionUID: 4696155516684259446L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsHash extends java.lang.Object implements Serializable

serialVersionUID: -4361196990827407628L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsIndexed extends java.lang.Object implements Serializable

serialVersionUID: 93342047107867207L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsList extends java.lang.Object implements Serializable

serialVersionUID: 2414796660481301168L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsMethod extends java.lang.Object implements Serializable

serialVersionUID: 9051647944976228874L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsNumber extends java.lang.Object implements Serializable

serialVersionUID: 265036870990081680L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsScalar extends java.lang.Object implements Serializable

serialVersionUID: -3524692814198285789L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.IsTransform extends java.lang.Object implements Serializable

serialVersionUID: -2800390752865377269L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.JavaToHtml extends java.lang.Object implements Serializable

serialVersionUID: 724356865491137221L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then reconstruct the Perl 5 utility class.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.misc.Join extends java.lang.Object implements Serializable

serialVersionUID: 5344842626008513409L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.LegacyCompress extends java.lang.Object implements Serializable

serialVersionUID: -7606632191726208279L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.LiveMapList extends java.lang.Object implements Serializable

serialVersionUID: 7347013161239690231L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.MapList extends java.lang.Object implements Serializable

serialVersionUID: 7347013161239690231L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.MapTransform extends java.lang.Object implements Serializable

serialVersionUID: 7924787614372478655L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Match extends java.lang.Object implements Serializable

serialVersionUID: -4088026534888903983L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then reconstruct the Perl 5 pattern cache utility class.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.misc.Methods extends java.lang.Object implements Serializable

serialVersionUID: -9010210904654477131L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.NormalizeNewlines extends java.lang.Object implements Serializable

serialVersionUID: -1064146228486518529L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Perl5Substitute extends java.lang.Object implements Serializable

serialVersionUID: -2721279165395212285L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Perl5Translate extends java.lang.Object implements Serializable

serialVersionUID: 7255864681955590135L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Pipeline extends java.lang.Object implements Serializable

serialVersionUID: -1492993253658875861L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.ReduceList extends java.lang.Object implements Serializable

serialVersionUID: -4792643489637867409L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.ReduceTransform extends java.lang.Object implements Serializable

serialVersionUID: -3274602358874454517L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.RemoveBlankLines extends java.lang.Object implements Serializable

serialVersionUID: 2549618176944246810L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Split extends java.lang.Object implements Serializable

serialVersionUID: -743213181532021558L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then reconstruct the Perl 5 pattern cache utility class.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.misc.Substitute extends java.lang.Object implements Serializable

serialVersionUID: -652420927008297709L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then reconstruct the Perl 5 pattern cache utility class.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.misc.TransformPipeline extends java.lang.Object implements Serializable

serialVersionUID: -3179369201409975041L

Serialized Fields

transforms

TemplateModel[] transforms
the list of transform models to be pipelined. In practise, serialization depends on all the contained models also being serializable.

Class freemarker.ext.misc.Transforms extends java.lang.Object implements Serializable

serialVersionUID: 5997924300246398113L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.ext.misc.Translate extends java.lang.Object implements Serializable

serialVersionUID: 1929541287462943061L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then reconstruct the translate cache.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class freemarker.ext.misc.XmlEscape extends java.lang.Object implements Serializable

serialVersionUID: 2922702357068706946L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Package freemarker.ext.servlet

Class freemarker.ext.servlet.FreeMarkerServlet extends javax.servlet.http.HttpServlet implements Serializable

serialVersionUID: -2440216393145762479L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization purposes, we recreate the cache when we de-serialize the object.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

templatePath

java.lang.String templatePath
the path to templates on the file system

nocache

boolean nocache
indicates the browser should not cache the content

debug

boolean debug
debug mode

updateInterval

long updateInterval
the update interval for Template caching, in seconds

maximumAge

int maximumAge
the maximum age of templates before being expired from the cache

Package freemarker.template

Class freemarker.template.BinaryData extends java.lang.Object implements Serializable

serialVersionUID: -17848906542414739L

Serialized Fields

dataArray

byte[] dataArray
The binary data held by this object.

The binary data stored as a byte array

Class freemarker.template.CacheEvent extends java.util.EventObject implements Serializable

serialVersionUID: -4153598084703911616L

Serialized Fields

exception

java.lang.Exception exception
an Exception associated with this event.

elementName

java.lang.String elementName
the name of an element associated with this event.

lastModified

long lastModified
the modification date of the element, if applicable

Class freemarker.template.FastBoolean extends java.lang.Object implements Serializable

serialVersionUID: 3879422004795437198L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a single boolean value.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a single boolean value.

Throws:
java.io.IOException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException
Serialization Overview
Serialize as a single boolean value, for compactness.

Serialized Fields

booleanValue

boolean booleanValue
the boolean value that this FastBoolean represents

Class freemarker.template.FastHash extends java.lang.Object implements Serializable

serialVersionUID: -472268658486232109L

Serialized Fields

hash

java.util.Map<K,V> hash
The Map that this FastHash wraps.

Class freemarker.template.FastList extends java.lang.Object implements Serializable

serialVersionUID: -6793356950285945537L

Serialized Fields

list

java.util.List<E> list
The List that this FastList wraps.

Class freemarker.template.FastListRange extends java.lang.Object implements Serializable

serialVersionUID: -3029960574903790084L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Serialized form consists of only the from and to values. Make sure transient fields are repopulated when we deserialize this object.

Throws:
java.io.IOException - there was an IO problem with the stream
java.lang.ClassNotFoundException - the classes being deserialized could not be found
Serialized Fields

fromValue

long fromValue
The beginning of the list range.


toValue

long toValue
The end of the list range, inclusive. Can be lower than the fromValue field, to indicate that the list should be stepped through backwards. This also implies that the list cannot be empty.

Class freemarker.template.FastNumber extends java.lang.Object implements Serializable

serialVersionUID: -5922840888258397822L

Serialized Fields

numberValue

long numberValue
The value of this FastNumber.

Class freemarker.template.FastScalar extends java.lang.Object implements Serializable

serialVersionUID: -246961910931252863L

Serialized Fields

stringValue

java.lang.String stringValue
The value of this FastScalar.

Class freemarker.template.LocalModelWrapper extends java.lang.Object implements Serializable

serialVersionUID: 3937849863527347324L

Serialized Fields

localModel

java.util.Map<K,V> localModel
The map containing local values for the root model.

a Map containing any values added to the template model at run time.

globalModel

TemplateWriteableHashModel globalModel
The underlying root model being wrapped.

the underlying TemplateModelRoot being wrapped by this wrapper object

Class freemarker.template.RootModelWrapper extends java.lang.Object implements Serializable

serialVersionUID: 5887349023424507785L

Serialized Fields

rootModel

java.util.Map<K,V> rootModel
The map containing temporary values for the root model.

a Map containing any values added to the template model at run time.

hashModel

TemplateHashModel hashModel
The underlying template hash being wrapped.

the underlying TemplateHashModel being wrapped by this wrapper object

Class freemarker.template.SimpleHash extends java.lang.Object implements Serializable

serialVersionUID: -4449005381456582151L

Serialized Fields

hash

java.util.Map<K,V> hash
The contents of this SimpleHash are stored in this Map object.

the Map that this SimpleHash wraps.

Class freemarker.template.SimpleList extends java.lang.Object implements Serializable

serialVersionUID: 2831161847625458436L

Serialized Fields

list

java.util.List<E> list
The contents of this SimpleList are stored in this List object.

The List that this SimpleList wraps.

Class freemarker.template.SimpleNumber extends java.lang.Object implements Serializable

serialVersionUID: 8890816762797344438L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a single Long value. If null, assume the object is empty.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a single Long value.

Throws:
java.io.IOException
Serialization Overview
Serialized form is a single Long value, which may be null. This makes serialized form easy, and deals with the empty value conveniently.

Serialized Fields

numberValue

java.lang.Long numberValue
the Long value of this number, or null if the number is empty

Class freemarker.template.SimpleScalar extends java.lang.Object implements Serializable

serialVersionUID: -1990000765027659736L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object in a 1.7 compatible manner. This adds the extra useBoolean flag that 1.7 needs. When deserialized, the defaultReadObject method will do the right thing.

Throws:
java.io.IOException
Serialization Overview
Serialized form matches the form used in FreeMarker 1.7. This is actually more verbose than required, but backward compatibility means we do it this way.

Serialized Fields

booleanValue

boolean booleanValue
the boolean value of this scalar

stringValue

java.lang.String stringValue
the String value of this scalar

useBoolean

boolean useBoolean
for backward compatibility, do we use the String or the boolean value?

Class freemarker.template.Template extends AbstractTemplate implements Serializable

serialVersionUID: 2146772088091073346L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object a TemplateProcessor containing the compiled template, and an array of FunctionInstructions. These may be called from the template at runtime if any functions were defined in the template source. Check whether the function list is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object a TemplateProcessor containing the compiled template, and an arrays. The array contains the FunctionInstructions that may be called from the template.

Throws:
java.io.IOException
Serialization Overview
Serialized form is a TemplateProcessor holding the parsed template tree, followed by an array of FunctionInstructions. The array contains functions to be evaluated at runtime if any functions are called. This is done primarily for type correctness, and avoids serializing a Map object.

Serialized Fields

compiledTemplate

TemplateProcessor compiledTemplate
object holding the entire compiled template parse tree

functionNames

String[] functionNames
an array of function names

functions

TemplateFunctionModel[] functions
an array of function models associated with the names

Class freemarker.template.TemplateException extends java.lang.Exception implements Serializable

serialVersionUID: -390036580929011875L

Serialized Fields

causeException

java.lang.Exception causeException
The underlying cause of this exception, if any.

Class freemarker.template.TemplateExceptionEvent extends java.util.EventObject implements Serializable

serialVersionUID: -6235933433102342378L

Serialized Fields

sourceName

java.lang.String sourceName
the name of the source object that caused this event.

severity

TemplateRuntimeHandler.Severity severity
the severity of the error.

output

java.io.Writer output
a writer to write any error message to.

exception

java.lang.Exception exception
the exception containing details of the event.

Class freemarker.template.TemplateModelException extends TemplateException implements Serializable

serialVersionUID: -1707011064187135336L

Class freemarker.template.UnparsedTemplate extends AbstractTemplate implements Serializable

serialVersionUID: 6100824836126362261L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a String.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a String.

Throws:
java.io.IOException
Serialization Overview
Serialized unparsed template as a String object. This means that for the 1.2 series of JVMs, the serialized unparsed template cannot be larger than 64kB.

Serialized Fields

textValue

java.lang.String textValue
the String value of this template

Package freemarker.template.compiler

Class freemarker.template.compiler.ParseException extends TemplateException implements Serializable

serialVersionUID: 7493810628186924946L

Class freemarker.template.compiler.TemplateArrayList extends java.lang.Object implements Serializable

serialVersionUID: -6417959979633304920L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check the array for validity.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

processors

TemplateProcessor[] processors
an array of template processors, to be processed in sequence

Package freemarker.template.expression

Class freemarker.template.expression.AbstractBinary extends java.lang.Object implements Serializable

serialVersionUID: -8853390178844168110L

Serialized Fields

left

Expression left
The left-hand side of the expression to be evaluated.

an Expression object representing the left-hand side of the expression to be evaluated.

right

Expression right
The right-hand side of the expression to be evaluated.

an Expression object representing the right-hand side of the expression to be evaluated.

Class freemarker.template.expression.And extends AbstractBinary implements Serializable

serialVersionUID: 8711631317739470434L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.BooleanLiteral extends java.lang.Object implements Serializable

serialVersionUID: -4820468165653838133L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException
Serialized Fields

booleanValue

boolean booleanValue
the boolean value represented by this boolean literal.

Class freemarker.template.expression.Constant extends java.lang.Object implements Serializable

serialVersionUID: -2725667819446857448L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, check for null, and recalculate the expression type.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

constantValue

TemplateModel constantValue
the constant value to be returned

Class freemarker.template.expression.Divide extends AbstractBinary implements Serializable

serialVersionUID: 6424280578840481872L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.Dot extends java.lang.Object implements Serializable

serialVersionUID: -5994615948590817642L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the identifier has been deserialized to null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

identifier

Identifier identifier
The identifier following the dot

target

Variable target
The variable preceding the dot

Class freemarker.template.expression.DynamicKeyName extends java.lang.Object implements Serializable

serialVersionUID: 1475259725669639671L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the key name has been deserialized to null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

keyName

Expression keyName
the expression to be evaluated when determining the key

target

Variable target
The variable preceding the dynamic key name

Class freemarker.template.expression.EmptyLiteral extends java.lang.Object implements Serializable

serialVersionUID: 379509679679977545L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.Equals extends AbstractBinary implements Serializable

serialVersionUID: -1593556381284363855L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.GreaterThan extends AbstractBinary implements Serializable

serialVersionUID: -8650265447544578319L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.GreaterThanOrEquals extends AbstractBinary implements Serializable

serialVersionUID: -5966279948497867849L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.HashLiteral extends java.lang.Object implements Serializable

serialVersionUID: 7012055010641913273L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as two arrays of Expressions. The first array contains the expressions that will be evaluated as names of the hash. The seconds array contains the expressions that will be evaluated as values of the hash. Test whether the arrays are the same size, and whether they are null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as two arrays of Expressions. The first array contains the expressions that will be evaluated as names of the hash. The seconds array contains the expressions that will be evaluated as values of the hash.

Throws:
java.io.IOException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialization Overview
Serialized form is two arrays, both the same size. One contains expressions to be evaluated as names, the other contains expressions to be evaluated as values. This is done primarily for type correctness, and avoids serializing a Map object.

Serialized Fields

names

Expression[] names
an array of name expressions

values

Expression[] values
an array of value expressions associated with the names

Class freemarker.template.expression.Identifier extends java.lang.Object implements Serializable

serialVersionUID: 1053885113751957584L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the name has been deserialized to null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

name

java.lang.String name
The name for this identifier.

the name of the identifier

Class freemarker.template.expression.Lambda extends java.lang.Object implements Serializable

serialVersionUID: -5803620057672368487L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

target

Expression target
the lambda expression to be evaluated.

arguments

java.util.List<E> arguments
the named arguments of the lambda expression.

Class freemarker.template.expression.LambdaMethod extends java.lang.Object implements Serializable

serialVersionUID: -509257609923523900L

Serialized Fields

expression

Expression expression
the lambda expression to be evaluated.

capturedModel

TemplateWriteableHashModel capturedModel
the template model for resolving free variables

paramNames

java.util.List<E> paramNames
the named arguments of the lambda expression.

Class freemarker.template.expression.LessThan extends AbstractBinary implements Serializable

serialVersionUID: 2864919600163631996L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.LessThanOrEquals extends AbstractBinary implements Serializable

serialVersionUID: 7606567121371788842L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.ListLiteral extends java.lang.Object implements Serializable

serialVersionUID: -470184301148036096L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as an array of Expressions, then check whether the list has been deserialized to null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as an array of Expressions.

Throws:
java.io.IOException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialization Overview
Serialized form is an array of zero or more Expression objects. This is primarily for type correctness and avoids having to serialize a List object.

Serialized Fields

values

Expression[] values
an array of Expression objects that will be evaluated as template models at run time

Class freemarker.template.expression.ListRange extends java.lang.Object implements Serializable

serialVersionUID: 9096757710628448671L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether either fromRange or toRange has been deserialized to null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

fromRange

Expression fromRange
An expression that evaluates to the start of the list range.

toRange

Expression toRange
An expression that evaluates to the end of the list range.

Class freemarker.template.expression.MethodCall extends java.lang.Object implements Serializable

serialVersionUID: 1316315814259810692L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the argument list is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

arguments

ListLiteral arguments
a list of expressions to be passed to the method call as arguments, either as template models or as strings.

target

Variable target
The variable for which the method will be called.

Class freemarker.template.expression.Minus extends AbstractBinary implements Serializable

serialVersionUID: 4470277953822447127L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.Modulo extends AbstractBinary implements Serializable

serialVersionUID: -2802709853446362855L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.Multiply extends AbstractBinary implements Serializable

serialVersionUID: 1879841294351009468L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.Not extends java.lang.Object implements Serializable

serialVersionUID: -2236703423795583489L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

target

Expression target
the expression to be negated.

Class freemarker.template.expression.NotEquals extends AbstractBinary implements Serializable

serialVersionUID: 3598906373248105071L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.NumberLiteral extends java.lang.Object implements Serializable

serialVersionUID: -7645724468773759205L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a single long value.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a single long value.

Throws:
java.io.IOException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialization Overview
Serialized form is a single long value. Since a number literal cannot be empty, we don't attempt a special case for it.

Serialized Fields

numberValue

long numberValue
the long value that this NumberLiteral represents

Class freemarker.template.expression.Or extends AbstractBinary implements Serializable

serialVersionUID: -6517905787818378201L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.Plus extends AbstractBinary implements Serializable

serialVersionUID: -2961704888297187609L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException

Class freemarker.template.expression.StringLiteral extends java.lang.Object implements Serializable

serialVersionUID: 7561151871681860296L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a single String object.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a single String object.

Throws:
java.io.IOException

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialization Overview
Serialized form is a single String object. This is primarily for compactness and avoids having to serialize a TemplateModel object.

Serialized Fields

stringValue

java.lang.String stringValue
the string value that this StringLiteral represents

Class freemarker.template.expression.Ternary extends java.lang.Object implements Serializable

serialVersionUID: -7566309842912589863L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, resolve a deserialized instance to an instance in the expression cache.

Throws:
java.io.ObjectStreamException
Serialized Fields

test

Expression test
the test expression to determine which result to evaluate

ifResult

Expression ifResult
the expression to be evaluated if the test result is true

elseResult

Expression elseResult
the expression to be evaluated if the test result is false

Package freemarker.template.instruction

Class freemarker.template.instruction.AssignBlockInstruction extends GenericStartInstruction implements Serializable

serialVersionUID: -3359865056378079818L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the variable is non-null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

variable

Variable variable
the variable to which the value will be assigned

Class freemarker.template.instruction.AssignInstruction extends EmptyInstruction implements Serializable

serialVersionUID: 6116263906768944170L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether both sides of the statement are non-null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

variable

Variable variable
the variable to which the value will be assigned

value

Expression value
an expression which, when evaluated, will be assigned to the variable

Class freemarker.template.instruction.BreakInstruction extends EmptyInstruction implements Serializable

serialVersionUID: 1580968844563701837L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.template.instruction.CallInstruction extends EmptyInstruction implements Serializable

serialVersionUID: -3034404332018443588L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the variable expression is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

methodCall

MethodCall methodCall
The function or method name and arguments to be called

Class freemarker.template.instruction.CaseInstruction extends DefaultCaseInstruction implements Serializable

serialVersionUID: -1614527073195929705L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the case expression is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

expression

Expression expression
the expression to be matched by the switch expression

Class freemarker.template.instruction.CommentInstruction extends java.lang.Object implements Serializable

serialVersionUID: 2631633394072538840L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.template.instruction.DefaultCaseInstruction extends java.lang.Object implements Serializable

serialVersionUID: -7534875993650505782L

Serialized Fields

body

TemplateProcessor body
The template body to process if the default case is reached.

the template body to be processed if the case matches

Class freemarker.template.instruction.ElseInstruction extends java.lang.Object implements Serializable

serialVersionUID: 1635834628241107145L

Serialized Fields

body

TemplateProcessor body
The template body to process if the else clause is reached.

the template body to process if the clause evaluates to true

Class freemarker.template.instruction.EndInstruction extends java.lang.Object implements Serializable

serialVersionUID: -7462893397220797531L

Serialized Fields

endType

Instruction.EndType endType
the type of end instruction encountered

Class freemarker.template.instruction.ExitInstruction extends EmptyInstruction implements Serializable

serialVersionUID: -4855615597265215042L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.template.instruction.FunctionInstruction extends GenericStartInstruction implements Serializable

serialVersionUID: 8648224287266752240L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as an Identifier containing the function name, an array of Identifiers containing the argument list, and a boolean indicating the scope of any variables. Check whether either the name or the argument list is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as an Identifier containing the function name, an array of Identifiers containing the argument list, and a boolean indicating the scope of any variables.

Throws:
java.io.IOException
Serialization Overview
Serialized form is an Identifier containing the function name, an array of zero or more Identifiers containing the argument list, an array of function names and inner function objects. This is primarily for type correctness and avoids having to serialize a List object.

Serialized Fields

arguments

Identifier[] arguments
a list of arguments to be supplied to the function

functionNames

String[] functionNames
an array of function names

functions

TemplateFunctionModel[] functions
an array of function models associated with the names

name

Identifier name
the name of the function

Class freemarker.template.instruction.FunctionModel extends java.lang.Object implements Serializable

serialVersionUID: -3155379731690082587L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the function instruction is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

function

FunctionInstruction function
the function instruction to be evaluated when this model is called

Class freemarker.template.instruction.GenericStartInstruction extends java.lang.Object implements Serializable

serialVersionUID: -5143432053907326525L

Serialized Fields

body

TemplateProcessor body
The template body to be processed

the template processor to be called for this instruction

Class freemarker.template.instruction.IfElseInstruction extends java.lang.Object implements Serializable

serialVersionUID: -8166829185543651466L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as an array of IfExpression objects, followed by an optional ElseExpression.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as an array of IfExpression objects, followed by an optional ElseExpression.

Throws:
java.io.IOException
Serialization Overview
Serialized text block as an array of one or more if instructions, followed by an optional else instruction.

Serialized Fields

elseInstruction

ElseInstruction elseInstruction
a single, optional else instruction

ifInstructions

IfInstruction[] ifInstructions
an array of all if and elseif instructions

Class freemarker.template.instruction.IfInstruction extends ElseInstruction implements Serializable

serialVersionUID: 3493189816503962845L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the if condition is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

condition

Expression condition
the condition to be evaluated

Class freemarker.template.instruction.IncludeInstruction extends EmptyInstruction implements Serializable

serialVersionUID: 8423827110332040952L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the parent template or the name are null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

template

TemplateProcessor template
the template to which this include instruction belongs

name

Expression name
an expression that determines name of the template to be included

type

Expression type
an expression that determines the type of template to be included

Class freemarker.template.instruction.ListInstruction extends GenericStartInstruction implements Serializable

serialVersionUID: -5366066980827389242L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
When deserializing this object, read the object normally, test whether the list expression or index variable is null, then recreate the transient iterator field.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

listExpression

Expression listExpression
the expression that evaluates to a template list model

indexVariable

Identifier indexVariable
the variable used to index over the list

Class freemarker.template.instruction.LocalInstruction extends GenericStartInstruction implements Serializable

serialVersionUID: 160187086149474834L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as array of Identifiers containing the local variables, an array of function names and inner function objects.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as array of Identifiers containing the local variables, an array of function names and inner function objects.

Throws:
java.io.IOException
Serialization Overview
Serialized form is an array of zero or more Identifiers containing the local variables, an array of function names and inner function objects.

Serialized Fields

localVariables

Identifier[] localVariables
a list of local variables

Class freemarker.template.instruction.NOOPInstruction extends java.lang.Object implements Serializable

serialVersionUID: 2509145854653059701L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
For serialization purposes, always resolve a de-serialized object back to the singleton instance. This ensures that any strict equality tests remain valid after serialization.

Throws:
java.io.ObjectStreamException

Class freemarker.template.instruction.NoParseInstruction extends java.lang.Object implements Serializable

serialVersionUID: 4149079532356939048L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a String.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a String.

Throws:
java.io.IOException
Serialization Overview
Serialized noparse block as a String object. This means that for the 1.2 series of JVMs, the serialized noparse block cannot be larger than 64kB.

Serialized Fields

textValue

java.lang.String textValue
the String value of this text

Class freemarker.template.instruction.SwitchInstruction extends java.lang.Object implements Serializable

serialVersionUID: -1924465112006963670L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as an Expression, an array of case objects, and an optional default object.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as an Expression, an array of case objects, and an optional default object.

Throws:
java.io.IOException
Serialization Overview
Serialized form is a switch expression, an array of zero or more case instructions, and an optional default instruction.

Serialized Fields

caseInstructions

CaseInstruction[] caseInstructions
an array of case instructions to test against the switch expression

defaultInstruction

DefaultCaseInstruction defaultInstruction
an optional default instruction

switchExpression

Expression switchExpression
the switch expression to test case instructions against

Class freemarker.template.instruction.TextBlockInstruction extends java.lang.Object implements Serializable

serialVersionUID: -1133245065502200131L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object as a String.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, write this object as a String.

Throws:
java.io.IOException
Serialization Overview
Serialized text block as a String object. This means that for the 1.2 series of JVMs, the serialized text block cannot be larger than 64kB.

Serialized Fields

textValue

java.lang.String textValue
the String value of this text

Class freemarker.template.instruction.TransformInstruction extends GenericStartInstruction implements Serializable

serialVersionUID: 6158167624358601586L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, read this object normally, then check whether the transform variable is null.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

transformVariable

Variable transformVariable
the name of the variable containing the transformation

Class freemarker.template.instruction.VariableInstruction extends EmptyInstruction implements Serializable

serialVersionUID: 7720592044181771388L

Serialized Fields

expression

Expression expression
the expression to be evaluated and written to the output stream

escaped

boolean escaped
whether the variable should be written using the default escape transform, or left unescaped