protected static class AbstractSVGNumberList.NumberListBuilder extends java.lang.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 NumberListHandler
ParseException
- if an error occures while processing the
number list.public void startNumber() throws ParseException
NumberListHandler.startNumber()
.startNumber
in interface NumberListHandler
ParseException
- if an error occures while processing
the numberpublic void numberValue(float v) throws ParseException
NumberListHandler.numberValue(float)
.numberValue
in interface NumberListHandler
ParseException
- if an error occures while processing
the numberpublic void endNumber() throws ParseException
NumberListHandler.endNumber()
.endNumber
in interface NumberListHandler
ParseException
- if an error occures while processing
the numberpublic void endNumberList() throws ParseException
NumberListHandler.endNumberList()
.endNumberList
in interface NumberListHandler
ParseException
- if an error occures while processing the
number list.Copyright © 2022 Apache Software Foundation. All Rights Reserved.