public class TransformListParser extends NumberParser
| Modifier and Type | Field and Description |
|---|---|
protected TransformListHandler |
transformListHandler
The transform list handler used to report parse events.
|
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader| Constructor and Description |
|---|
TransformListParser()
Creates a new TransformListParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse()
Parses the current reader.
|
TransformListHandler |
getTransformListHandler()
Returns the transform list handler in use.
|
protected void |
parseMatrix()
Parses a matrix transform.
|
protected void |
parseRotate()
Parses a rotate transform.
|
protected void |
parseScale()
Parses a scale transform.
|
protected void |
parseSkew()
Parses a skew transform.
|
protected void |
parseTranslate()
Parses a translate transform.
|
void |
setTransformListHandler(TransformListHandler handler)
Allows an application to register a transform list handler.
|
protected void |
skipTransform()
Skips characters in the given reader until a ')' is encountered.
|
buildFloat, parseFloatcreateErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacesprotected TransformListHandler transformListHandler
public TransformListParser()
public void setTransformListHandler(TransformListHandler handler)
If the application does not register a handler, all events reported by the parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the parser must begin using the new handler immediately.
handler - The transform handler.public TransformListHandler getTransformListHandler()
protected void doParse()
throws ParseException,
IOException
doParse in class AbstractParserParseExceptionIOExceptionprotected void parseMatrix()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseRotate()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseTranslate()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseScale()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseSkew()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void skipTransform()
throws IOException
IOExceptionCopyright © 2000–2024 Apache Software Foundation. All rights reserved.