public class ListBuilder extends Object implements ListHandler
| Modifier and Type | Field and Description |
|---|---|
protected List |
list
The list being built.
|
| Constructor and Description |
|---|
ListBuilder(AbstractSVGList abstractSVGList) |
| Modifier and Type | Method and Description |
|---|---|
void |
endList()
Ends the construction of the list.
|
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.
|
protected List list
public ListBuilder(AbstractSVGList abstractSVGList)
abstractSVGList - public 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 © 2000–2024 Apache Software Foundation. All rights reserved.