Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

RegisterableImageProvider.java 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /* $Id$ */
  18. package org.apache.fop.image;
  19. /**
  20. * This interface is used to dynamically register FopImage implementations.
  21. * <p>
  22. * NOTE: Please don't rely on this interface too much. It is a temporary measure
  23. * until the whole image package can be redesigned. The redesign will likely
  24. * provide a different mechanism to dynamically register new implementations.
  25. */
  26. public interface RegisterableImageProvider {
  27. /**
  28. * Returns the MIME type the implementation supports.
  29. * @return the MIME type
  30. */
  31. String getSupportedMimeType();
  32. /**
  33. * Returns the name of the implementation.
  34. * @return the name
  35. */
  36. String getName();
  37. /**
  38. * Returns the fully qualified class name for the implementing class.
  39. * @return the class name
  40. */
  41. String getClassName();
  42. }