public class DefaultFragmentIdentifierHandler extends DefaultPreserveAspectRatioHandler implements FragmentIdentifierHandler
Modifier and Type | Field and Description |
---|---|
static FragmentIdentifierHandler |
INSTANCE
The only instance of this class.
|
Modifier | Constructor and Description |
---|---|
protected |
DefaultFragmentIdentifierHandler()
This class does not need to be instantiated.
|
Modifier and Type | Method and Description |
---|---|
void |
endFragmentIdentifier()
|
void |
endTransformList()
Implements
TransformListHandler.endTransformList() . |
void |
endViewTarget()
Invoked when a view target specification ends.
|
void |
idReference(java.lang.String s)
Invoked when an ID has been parsed.
|
void |
matrix(float a,
float b,
float c,
float d,
float e,
float f)
|
void |
rotate(float theta)
Implements
TransformListHandler.rotate(float) . |
void |
rotate(float theta,
float cx,
float cy)
Implements
TransformListHandler.rotate(float,float,float) . |
void |
scale(float sx)
Implements
TransformListHandler.scale(float) . |
void |
scale(float sx,
float sy)
Implements
TransformListHandler.scale(float,float) . |
void |
skewX(float skx)
Implements
TransformListHandler.skewX(float) . |
void |
skewY(float sky)
Implements
TransformListHandler.skewY(float) . |
void |
startFragmentIdentifier()
|
void |
startTransformList()
Implements
TransformListHandler.startTransformList() . |
void |
startViewTarget()
Invoked when a view target specification starts.
|
void |
translate(float tx)
Implements
TransformListHandler.translate(float) . |
void |
translate(float tx,
float ty)
Implements
TransformListHandler.translate(float,float) . |
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 view target component has been parsed.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endPreserveAspectRatio, meet, none, slice, startPreserveAspectRatio, xMaxYMax, xMaxYMid, xMaxYMin, xMidYMax, xMidYMid, xMidYMin, xMinYMax, xMinYMid, xMinYMin
public static final FragmentIdentifierHandler INSTANCE
protected DefaultFragmentIdentifierHandler()
public void startFragmentIdentifier() throws ParseException
startFragmentIdentifier
in interface FragmentIdentifierHandler
ParseException
- if an error occured while processing the
fragment identifierpublic void idReference(java.lang.String s) throws ParseException
idReference
in interface FragmentIdentifierHandler
s
- The string that represents the parsed ID.ParseException
- if an error occured while processing the
fragment identifierpublic void viewBox(float x, float y, float width, float height) throws ParseException
viewBox
in interface FragmentIdentifierHandler
x
- the x coordinate of the viewbox.y
- the y coordinate of the viewbox.width
- the width of the viewbox.height
- the height of the viewbox.ParseException
- if an error occured while processing the
fragment identifierpublic void startViewTarget() throws ParseException
startViewTarget
in interface FragmentIdentifierHandler
ParseException
- if an error occured while processing the
fragment identifierpublic void viewTarget(java.lang.String name) throws ParseException
viewTarget
in interface FragmentIdentifierHandler
name
- the target name.ParseException
- if an error occured while processing the
fragment identifierpublic void endViewTarget() throws ParseException
endViewTarget
in interface FragmentIdentifierHandler
ParseException
- if an error occured while processing the
fragment identifierpublic void startTransformList() throws ParseException
TransformListHandler.startTransformList()
.startTransformList
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void matrix(float a, float b, float c, float d, float e, float f) throws ParseException
matrix
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void rotate(float theta) throws ParseException
TransformListHandler.rotate(float)
.rotate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void rotate(float theta, float cx, float cy) throws ParseException
TransformListHandler.rotate(float,float,float)
.rotate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void translate(float tx) throws ParseException
TransformListHandler.translate(float)
.translate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void translate(float tx, float ty) throws ParseException
TransformListHandler.translate(float,float)
.translate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void scale(float sx) throws ParseException
TransformListHandler.scale(float)
.scale
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void scale(float sx, float sy) throws ParseException
TransformListHandler.scale(float,float)
.scale
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void skewX(float skx) throws ParseException
TransformListHandler.skewX(float)
.skewX
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void skewY(float sky) throws ParseException
TransformListHandler.skewY(float)
.skewY
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void endTransformList() throws ParseException
TransformListHandler.endTransformList()
.endTransformList
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void zoomAndPan(boolean magnify)
zoomAndPan
in interface FragmentIdentifierHandler
magnify
- true if 'magnify' has been parsed.ParseException
- if an error occured while processing the
fragment identifierpublic void endFragmentIdentifier() throws ParseException
endFragmentIdentifier
in interface FragmentIdentifierHandler
ParseException
- if an error occured while processing the
fragment identifierCopyright © 2022 Apache Software Foundation. All Rights Reserved.