Package | Description |
---|---|
net.sf.layoutParser.build |
This is a implementation of the Builder pattern
where ConfigBuilder do the part of the Builder itself, and MaskBuilder , PluginBuilder , LayoutBuilder do the Director part of the pattern. |
net.sf.layoutParser.processor |
Package in charge of parsing and formating data.
The main class in this package is the ClassicLayoutProcessor which is the "interface"of this framework with the user. |
net.sf.layoutParser.to |
Package containing all the objects regarding the XML's files and their tags.
|
net.sf.layoutParser.util.callback |
Modifier and Type | Method and Description |
---|---|
int |
EntryIndexComparator.compare(EntryTO<?> o1,
EntryTO<?> o2) |
int |
EntryIndexComparator.compare(EntryTO<?> o1,
EntryTO<?> o2) |
Modifier and Type | Class and Description |
---|---|
class |
EntryProcessor<T extends EntryTO<?>>
Abstract delegation pattern to process any bean that extends
EntryTO .Thus far, only ItemTO and ListTO extends EntryTO soonly ItemProcessor and ListProcessor are concrete implementations of this class. |
Modifier and Type | Field and Description |
---|---|
protected T |
EntryProcessor.entry
EntryTO that the subclass will work with.
This object is initialised when the EntryProcessor.getInstance(EntryTO) is called. |
Modifier and Type | Method and Description |
---|---|
static EntryProcessor<?> |
EntryProcessor.getInstance(EntryTO<?> entry)
Instantiation method that resolves which type of concrete processor should be retrieved.
If the entry passed to the method is a instanceof ItemTO then a ItemProcessor should be retrieved, otherwise a ListProcessor is returned. |
Modifier and Type | Class and Description |
---|---|
class |
ItemTO<T>
An entry which is mapped in the <item ...>
|
class |
ListTO<T> |
Modifier and Type | Method and Description |
---|---|
List<EntryTO<?>> |
LayoutTO.getList()
Recupera o
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutTO.setList(List<EntryTO<?>> list)
Configura o
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutListener.afterFormat(StringBuffer target,
Object data,
EntryTO entry,
TypeHandler<?> typeHandler,
MaskTO mask) |
void |
LayoutListener.afterParse(String data,
Object target,
EntryTO entry,
TypeHandler<?> typeHandler,
MaskTO mask) |
void |
LayoutListener.beforeFormat(StringBuffer target,
Object data,
EntryTO entry,
TypeHandler<?> typeHandler,
MaskTO mask) |
void |
LayoutListener.beforeParse(String data,
Object target,
EntryTO entry,
TypeHandler<?> typeHandler,
MaskTO mask) |
Copyright © 2014. All Rights Reserved.