ListHandlerpublic class ListBuilder extends java.lang.Object implements ListHandler
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.List |
list |
The list being built.
|
| Constructor | Description |
|---|---|
ListBuilder(AbstractSVGList abstractSVGList) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
endList() |
Ends the construction of the list.
|
java.util.List |
getList() |
Returns the newly created list.
|
void |
item(SVGItem item) |
Adds an item to the list.
|
void |
startList() |
Begins the construction of the list.
|
public ListBuilder(AbstractSVGList abstractSVGList)
abstractSVGList - public java.util.List getList()
public void startList()
startList in interface ListHandlerpublic void item(SVGItem item)
item in interface ListHandleritem - the new item to be addedpublic void endList()
endList in interface ListHandlerCopyright ? 2018 Apache Software Foundation. All Rights Reserved.