|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.batik.parser.DefaultPreserveAspectRatioHandler
org.apache.batik.parser.DefaultFragmentIdentifierHandler
public class DefaultFragmentIdentifierHandler
This class provides an adapter for FragmentIdentifierHandler.
| Field Summary | |
|---|---|
static FragmentIdentifierHandler |
INSTANCE
The only instance of this class. |
| Constructor Summary | |
|---|---|
protected |
DefaultFragmentIdentifierHandler()
This class does not need to be instantiated. |
| Method Summary | |
|---|---|
void |
endFragmentIdentifier()
Implements FragmentIdentifierHandler.endFragmentIdentifier(). |
void |
endTransformList()
Implements TransformListHandler.endTransformList(). |
void |
endViewTarget()
Invoked when a view target specification ends. |
void |
idReference(String s)
Invoked when an ID has been parsed. |
void |
matrix(float a,
float b,
float c,
float d,
float e,
float f)
Implements TransformListHandler.matrix(float,float,float,float,float,float). |
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()
Implements FragmentIdentifierHandler.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(String name)
Invoked when a view target component has been parsed. |
void |
zoomAndPan(boolean magnify)
Invoked when a 'zoomAndPan' specification has been parsed. |
| Methods inherited from class org.apache.batik.parser.DefaultPreserveAspectRatioHandler |
|---|
endPreserveAspectRatio, meet, none, slice, startPreserveAspectRatio, xMaxYMax, xMaxYMid, xMaxYMin, xMidYMax, xMidYMid, xMidYMin, xMinYMax, xMinYMid, xMinYMin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.batik.parser.PreserveAspectRatioHandler |
|---|
endPreserveAspectRatio, meet, none, slice, startPreserveAspectRatio, xMaxYMax, xMaxYMid, xMaxYMin, xMidYMax, xMidYMid, xMidYMin, xMinYMax, xMinYMid, xMinYMin |
| Field Detail |
|---|
public static final FragmentIdentifierHandler INSTANCE
| Constructor Detail |
|---|
protected DefaultFragmentIdentifierHandler()
| Method Detail |
|---|
public void startFragmentIdentifier()
throws ParseException
FragmentIdentifierHandler.startFragmentIdentifier().
startFragmentIdentifier in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifier
public void idReference(String s)
throws ParseException
idReference in interface FragmentIdentifierHandlers - The string that represents the parsed ID.
ParseException - if an error occured while processing the
fragment identifier
public void viewBox(float x,
float y,
float width,
float height)
throws ParseException
viewBox in interface FragmentIdentifierHandlerx - 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 identifier
public void startViewTarget()
throws ParseException
startViewTarget in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifier
public void viewTarget(String name)
throws ParseException
viewTarget in interface FragmentIdentifierHandlername - the target name.
ParseException - if an error occured while processing the
fragment identifier
public void endViewTarget()
throws ParseException
endViewTarget in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifier
public void startTransformList()
throws ParseException
TransformListHandler.startTransformList().
startTransformList in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void matrix(float a,
float b,
float c,
float d,
float e,
float f)
throws ParseException
TransformListHandler.matrix(float,float,float,float,float,float).
matrix in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void rotate(float theta)
throws ParseException
TransformListHandler.rotate(float).
rotate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void rotate(float theta,
float cx,
float cy)
throws ParseException
TransformListHandler.rotate(float,float,float).
rotate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void translate(float tx)
throws ParseException
TransformListHandler.translate(float).
translate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void translate(float tx,
float ty)
throws ParseException
TransformListHandler.translate(float,float).
translate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void scale(float sx)
throws ParseException
TransformListHandler.scale(float).
scale in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void scale(float sx,
float sy)
throws ParseException
TransformListHandler.scale(float,float).
scale in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void skewX(float skx)
throws ParseException
TransformListHandler.skewX(float).
skewX in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void skewY(float sky)
throws ParseException
TransformListHandler.skewY(float).
skewY in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void endTransformList()
throws ParseException
TransformListHandler.endTransformList().
endTransformList in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void zoomAndPan(boolean magnify)
zoomAndPan in interface FragmentIdentifierHandlermagnify - true if 'magnify' has been parsed.
ParseException - if an error occured while processing the
fragment identifier
public void endFragmentIdentifier()
throws ParseException
FragmentIdentifierHandler.endFragmentIdentifier().
endFragmentIdentifier in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifier
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||