public interface FragmentIdentifierHandler extends PreserveAspectRatioHandler, TransformListHandler
PreserveAspectRatioParser
instance
in order to be notified of parsing events.Modifier and Type | Method and Description |
---|---|
void |
endFragmentIdentifier()
Invoked when the fragment identifier ends.
|
void |
endViewTarget()
Invoked when a view target specification ends.
|
void |
idReference(java.lang.String s)
Invoked when an ID has been parsed.
|
void |
startFragmentIdentifier()
Invoked when the fragment identifier starts.
|
void |
startViewTarget()
Invoked when a view target specification starts.
|
void |
viewBox(float x,
float y,
float width,
float height)
Invoked when 'viewBox(x,y,width,height)' has been parsed.
|
void |
viewTarget(java.lang.String name)
Invoked when a identifier has been parsed within a view target
specification.
|
void |
zoomAndPan(boolean magnify)
Invoked when a 'zoomAndPan' specification has been parsed.
|
endPreserveAspectRatio, meet, none, slice, startPreserveAspectRatio, xMaxYMax, xMaxYMid, xMaxYMin, xMidYMax, xMidYMid, xMidYMin, xMinYMax, xMinYMid, xMinYMin
endTransformList, matrix, rotate, rotate, scale, scale, skewX, skewY, startTransformList, translate, translate
void startFragmentIdentifier() throws ParseException
ParseException
- if an error occured while processing the
fragment identifiervoid idReference(java.lang.String s) throws ParseException
s
- The string that represents the parsed ID.ParseException
- if an error occured while processing the
fragment identifiervoid viewBox(float x, float y, float width, float height) throws ParseException
x
- x coordinate of the viewboxy
- y coordinate of the viewboxwidth
- width of the viewboxheight
- height of the viewboxParseException
- if an error occured while processing the
fragment identifiervoid startViewTarget() throws ParseException
ParseException
- if an error occured while processing the
fragment identifiervoid viewTarget(java.lang.String name) throws ParseException
name
- the target name.ParseException
- if an error occured while processing the
fragment identifiervoid endViewTarget() throws ParseException
ParseException
- if an error occured while processing the
fragment identifiervoid zoomAndPan(boolean magnify)
magnify
- true if 'magnify' has been parsed.ParseException
- if an error occured while processing the
fragment identifiervoid endFragmentIdentifier() throws ParseException
ParseException
- if an error occured while processing the
fragment identifierCopyright © 2022 Apache Software Foundation. All Rights Reserved.