/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.apache.batik.parser;
This class provides an adapter for FragmentIdentifierHandler.
Author: Stephane Hillion Version: $Id: DefaultFragmentIdentifierHandler.java 1733416 2016-03-03 07:07:13Z gadams $
/**
* This class provides an adapter for FragmentIdentifierHandler.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
* @version $Id: DefaultFragmentIdentifierHandler.java 1733416 2016-03-03 07:07:13Z gadams $
*/
public class DefaultFragmentIdentifierHandler
extends DefaultPreserveAspectRatioHandler
implements FragmentIdentifierHandler {
The only instance of this class.
/**
* The only instance of this class.
*/
public static final FragmentIdentifierHandler INSTANCE
= new DefaultFragmentIdentifierHandler();
This class does not need to be instantiated.
/**
* This class does not need to be instantiated.
*/
protected DefaultFragmentIdentifierHandler() {
}
/**
* Implements {@link FragmentIdentifierHandler#startFragmentIdentifier()}.
*/
public void startFragmentIdentifier() throws ParseException {
}
Invoked when an ID has been parsed.
Params: - s – The string that represents the parsed ID.
Throws: - ParseException – if an error occured while processing the
fragment identifier
/**
* Invoked when an ID has been parsed.
* @param s The string that represents the parsed ID.
* @exception ParseException if an error occured while processing the
* fragment identifier
*/
public void idReference(String s) throws ParseException {
}
Invoked when 'viewBox(x,y,width,height)' has been parsed.
Params: - 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.
Throws: - ParseException – if an error occured while processing the
fragment identifier
/**
* Invoked when 'viewBox(x,y,width,height)' has been parsed.
* @param x the x coordinate of the viewbox.
* @param y the y coordinate of the viewbox.
* @param width the width of the viewbox.
* @param height the height of the viewbox.
* @exception ParseException if an error occured while processing the
* fragment identifier
*/
public void viewBox(float x, float y, float width, float height)
throws ParseException {
}
Invoked when a view target specification starts.
Throws: - ParseException – if an error occured while processing the
fragment identifier
/**
* Invoked when a view target specification starts.
* @exception ParseException if an error occured while processing the
* fragment identifier
*/
public void startViewTarget() throws ParseException {
}
Invoked when a view target component has been parsed.
Params: - name – the target name.
Throws: - ParseException – if an error occured while processing the
fragment identifier
/**
* Invoked when a view target component has been parsed.
* @param name the target name.
* @exception ParseException if an error occured while processing the
* fragment identifier
*/
public void viewTarget(String name) throws ParseException {
}
Invoked when a view target specification ends.
Throws: - ParseException – if an error occured while processing the
fragment identifier
/**
* Invoked when a view target specification ends.
* @exception ParseException if an error occured while processing the
* fragment identifier
*/
public void endViewTarget() throws ParseException {
}
Implements TransformListHandler.startTransformList()
. /**
* Implements {@link TransformListHandler#startTransformList()}.
*/
public void startTransformList() throws ParseException {
}
/**
* Implements {@link
* TransformListHandler#matrix(float,float,float,float,float,float)}.
*/
public void matrix(float a, float b, float c, float d, float e, float f)
throws ParseException {
}
Implements TransformListHandler.rotate(float)
. /**
* Implements {@link TransformListHandler#rotate(float)}.
*/
public void rotate(float theta) throws ParseException {
}
Implements TransformListHandler.rotate(float, float, float)
. /**
* Implements {@link TransformListHandler#rotate(float,float,float)}.
*/
public void rotate(float theta, float cx, float cy) throws ParseException {
}
Implements TransformListHandler.translate(float)
. /**
* Implements {@link TransformListHandler#translate(float)}.
*/
public void translate(float tx) throws ParseException {
}
Implements TransformListHandler.translate(float, float)
. /**
* Implements {@link TransformListHandler#translate(float,float)}.
*/
public void translate(float tx, float ty) throws ParseException {
}
Implements TransformListHandler.scale(float)
. /**
* Implements {@link TransformListHandler#scale(float)}.
*/
public void scale(float sx) throws ParseException {
}
Implements TransformListHandler.scale(float, float)
. /**
* Implements {@link TransformListHandler#scale(float,float)}.
*/
public void scale(float sx, float sy) throws ParseException {
}
Implements TransformListHandler.skewX(float)
. /**
* Implements {@link TransformListHandler#skewX(float)}.
*/
public void skewX(float skx) throws ParseException {
}
Implements TransformListHandler.skewY(float)
. /**
* Implements {@link TransformListHandler#skewY(float)}.
*/
public void skewY(float sky) throws ParseException {
}
Implements TransformListHandler.endTransformList()
. /**
* Implements {@link TransformListHandler#endTransformList()}.
*/
public void endTransformList() throws ParseException {
}
Invoked when a 'zoomAndPan' specification has been parsed.
Params: - magnify – true if 'magnify' has been parsed.
Throws: - ParseException – if an error occured while processing the
fragment identifier
/**
* Invoked when a 'zoomAndPan' specification has been parsed.
* @param magnify true if 'magnify' has been parsed.
* @exception ParseException if an error occured while processing the
* fragment identifier
*/
public void zoomAndPan(boolean magnify) {
}
/**
* Implements {@link FragmentIdentifierHandler#endFragmentIdentifier()}.
*/
public void endFragmentIdentifier() throws ParseException {
}
}