blob: dfd4e5c16951041a3b8ab8b7c898db8d67247d5b [file] [log] [blame]
The Android Open Source Project7c1b96a2008-10-21 07:00:00 -07001/*
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/**
18 * @author Sergey I. Salishev
19 * @version $Revision: 1.2 $
20 */
21package javax.imageio.metadata;
22
23/*
24 * @author Sergey I. Salishev
25 * @version $Revision: 1.2 $
26 */
27
28/**
29 * The IIOMetadataController interface provides a method for
30 * implementing objects to activate the controller without
31 * defining how the controller obtains values.
32 */
33public interface IIOMetadataController {
34
35 /**
36 * Activates a controller.
37 *
38 * @param metadata the metadata to be modified.
39 *
40 * @return true if the IIOMetadata has been modified,
41 * false otherwise.
42 */
43 public boolean activate(IIOMetadata metadata);
44}
45