You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by cj...@apache.org on 2001/05/03 11:48:04 UTC

cvs commit: xml-batik/sources/org/apache/batik/svggen SVGGeneratorContext.java

cjolif      01/05/03 02:48:03

  Modified:    sources/org/apache/batik/svggen SVGGeneratorContext.java
  Log:
  simplify user work by moving some protected -> public
  
  Revision  Changes    Path
  1.8       +8 -8      xml-batik/sources/org/apache/batik/svggen/SVGGeneratorContext.java
  
  Index: SVGGeneratorContext.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/svggen/SVGGeneratorContext.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SVGGeneratorContext.java	2001/04/26 14:17:20	1.7
  +++ SVGGeneratorContext.java	2001/05/03 09:48:02	1.8
  @@ -18,7 +18,7 @@
    *
    * @see org.apache.batik.svggen.SVGGraphics2D#SVGGraphics2D(SVGGeneratorContext,boolean)
    * @author <a href="mailto:cjolif@ilog.fr>Christophe Jolif</a>
  - * @version $Id: SVGGeneratorContext.java,v 1.7 2001/04/26 14:17:20 cjolif Exp $
  + * @version $Id: SVGGeneratorContext.java,v 1.8 2001/05/03 09:48:02 cjolif Exp $
    */
   public class SVGGeneratorContext implements ErrorConstants {
       // this fields are package access for read-only purpose
  @@ -108,7 +108,7 @@
        * Sets the {@link org.apache.batik.svggen.SVGIDGenerator}
        * to be used. It should not be <code>null</code>.
        */
  -    final protected void setIDGenerator(SVGIDGenerator idGenerator) {
  +    final public void setIDGenerator(SVGIDGenerator idGenerator) {
           if (idGenerator == null)
               throw new SVGGraphics2DRuntimeException(ERR_ID_GENERATOR_NULL);
           this.idGenerator = idGenerator;
  @@ -126,7 +126,7 @@
        * Sets the DOM Factory
        * to be used. It should not be <code>null</code>.
        */
  -    final protected void setDOMFactory(Document domFactory) {
  +    final public void setDOMFactory(Document domFactory) {
           if (domFactory == null)
               throw new SVGGraphics2DRuntimeException(ERR_DOM_FACTORY_NULL);
           this.domFactory = domFactory;
  @@ -144,7 +144,7 @@
        * Sets the {@link org.apache.batik.svggen.ExtensionHandler}
        * to be used. It should not be <code>null</code>.
        */
  -    final protected void setExtensionHandler(ExtensionHandler extensionHandler) {
  +    final public void setExtensionHandler(ExtensionHandler extensionHandler) {
           if (extensionHandler == null)
               throw new SVGGraphics2DRuntimeException(ERR_EXTENSION_HANDLER_NULL);
           this.extensionHandler = extensionHandler;
  @@ -162,7 +162,7 @@
        * Sets the {@link org.apache.batik.svggen.ImageHandler}
        * to be used. It should not be <code>null</code>.
        */
  -    final protected void setImageHandler(ImageHandler imageHandler) {
  +    final public void setImageHandler(ImageHandler imageHandler) {
           if (imageHandler == null)
               throw new SVGGraphics2DRuntimeException(ERR_IMAGE_HANDLER_NULL);
           this.imageHandler = imageHandler;
  @@ -180,7 +180,7 @@
        * Sets the {@link org.apache.batik.svggen.Stylehandler}
        * to be used. It should not be <code>null</code>.
        */
  -    final protected void setStyleHandler(StyleHandler styleHandler) {
  +    final public void setStyleHandler(StyleHandler styleHandler) {
           if (styleHandler == null)
               throw new SVGGraphics2DRuntimeException(ERR_STYLE_HANDLER_NULL);
           this.styleHandler = styleHandler;
  @@ -197,7 +197,7 @@
        * Sets the comment to be used. It can be <code>null</code> if you
        * want to disable it.
        */
  -    final protected void setComment(String generatorComment) {
  +    final public void setComment(String generatorComment) {
           this.generatorComment = generatorComment;
       }
   
  @@ -213,7 +213,7 @@
        * Sets the {@link org.apache.batik.svggen.Errorhandler}
        * to be used. It should not be <code>null</code>.
        */
  -    final protected void setErrorHandler(ErrorHandler errorHandler) {
  +    final public void setErrorHandler(ErrorHandler errorHandler) {
           if (errorHandler == null)
               throw new SVGGraphics2DRuntimeException(ERR_ERROR_HANDLER_NULL);
           this.errorHandler = errorHandler;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org