001: /*
002:
003: Licensed to the Apache Software Foundation (ASF) under one or more
004: contributor license agreements. See the NOTICE file distributed with
005: this work for additional information regarding copyright ownership.
006: The ASF licenses this file to You under the Apache License, Version 2.0
007: (the "License"); you may not use this file except in compliance with
008: the License. You may obtain a copy of the License at
009:
010: http://www.apache.org/licenses/LICENSE-2.0
011:
012: Unless required by applicable law or agreed to in writing, software
013: distributed under the License is distributed on an "AS IS" BASIS,
014: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015: See the License for the specific language governing permissions and
016: limitations under the License.
017:
018: */
019: package org.apache.batik.parser;
020:
021: /**
022: * This class provides an adapter for PreserveAspectRatioHandler.
023: *
024: * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
025: * @version $Id: DefaultPreserveAspectRatioHandler.java 478188 2006-11-22 15:19:17Z dvholten $
026: */
027: public class DefaultPreserveAspectRatioHandler implements
028: PreserveAspectRatioHandler {
029: /**
030: * The only instance of this class.
031: */
032: public static final PreserveAspectRatioHandler INSTANCE = new DefaultPreserveAspectRatioHandler();
033:
034: /**
035: * This class does not need to be instantiated.
036: */
037: protected DefaultPreserveAspectRatioHandler() {
038: }
039:
040: /**
041: * Implements {@link
042: * PreserveAspectRatioHandler#startPreserveAspectRatio()}.
043: */
044: public void startPreserveAspectRatio() throws ParseException {
045: }
046:
047: /**
048: * Implements {@link PreserveAspectRatioHandler#none()}.
049: */
050: public void none() throws ParseException {
051: }
052:
053: /**
054: * Implements {@link PreserveAspectRatioHandler#xMaxYMax()}.
055: */
056: public void xMaxYMax() throws ParseException {
057: }
058:
059: /**
060: * Implements {@link PreserveAspectRatioHandler#xMaxYMid()}.
061: */
062: public void xMaxYMid() throws ParseException {
063: }
064:
065: /**
066: * Implements {@link PreserveAspectRatioHandler#xMaxYMin()}.
067: */
068: public void xMaxYMin() throws ParseException {
069: }
070:
071: /**
072: * Implements {@link PreserveAspectRatioHandler#xMidYMax()}.
073: */
074: public void xMidYMax() throws ParseException {
075: }
076:
077: /**
078: * Implements {@link PreserveAspectRatioHandler#xMidYMid()}.
079: */
080: public void xMidYMid() throws ParseException {
081: }
082:
083: /**
084: * Implements {@link PreserveAspectRatioHandler#xMidYMin()}.
085: */
086: public void xMidYMin() throws ParseException {
087: }
088:
089: /**
090: * Implements {@link PreserveAspectRatioHandler#xMinYMax()}.
091: */
092: public void xMinYMax() throws ParseException {
093: }
094:
095: /**
096: * Implements {@link PreserveAspectRatioHandler#xMinYMid()}.
097: */
098: public void xMinYMid() throws ParseException {
099: }
100:
101: /**
102: * Implements {@link PreserveAspectRatioHandler#xMinYMin()}.
103: */
104: public void xMinYMin() throws ParseException {
105: }
106:
107: /**
108: * Implements {@link PreserveAspectRatioHandler#meet()}.
109: */
110: public void meet() throws ParseException {
111: }
112:
113: /**
114: * Implements {@link PreserveAspectRatioHandler#slice()}.
115: */
116: public void slice() throws ParseException {
117: }
118:
119: /**
120: * Implements {@link PreserveAspectRatioHandler#endPreserveAspectRatio()}.
121: */
122: public void endPreserveAspectRatio() throws ParseException {
123: }
124: }
|