protected class AbstractSVGNumberList.NumberListBuilder extends Object implements NumberListHandler
NumberListParser and the
NumberListHandler.| Modifier and Type | Field and Description |
|---|---|
protected float |
currentValue
The number just parsed.
|
protected ListHandler |
listHandler
The ListHandler to notify of parsed numbers.
|
| Constructor and Description |
|---|
NumberListBuilder(ListHandler listHandler)
Creates a new NumberListBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endNumber()
Implements
NumberListHandler.endNumber(). |
void |
endNumberList()
Implements
NumberListHandler.endNumberList(). |
void |
numberValue(float v)
Implements
NumberListHandler.numberValue(float). |
void |
startNumber()
Implements
NumberListHandler.startNumber(). |
void |
startNumberList()
Implements
NumberListHandler.startNumberList(). |
protected ListHandler listHandler
protected float currentValue
public NumberListBuilder(ListHandler listHandler)
public void startNumberList()
throws ParseException
NumberListHandler.startNumberList().startNumberList in interface NumberListHandlerParseException - if an error occures while processing the
number list.public void startNumber()
throws ParseException
NumberListHandler.startNumber().startNumber in interface NumberListHandlerParseException - if an error occures while processing
the numberpublic void numberValue(float v)
throws ParseException
NumberListHandler.numberValue(float).numberValue in interface NumberListHandlerParseException - if an error occures while processing
the numberpublic void endNumber()
throws ParseException
NumberListHandler.endNumber().endNumber in interface NumberListHandlerParseException - if an error occures while processing
the numberpublic void endNumberList()
throws ParseException
NumberListHandler.endNumberList().endNumberList in interface NumberListHandlerParseException - if an error occures while processing the
number list.Copyright © 2000–2021 Apache Software Foundation. All rights reserved.