OWLObjectConverter.java revision 2
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// The MIT License
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek//
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// Copyright (c) 2004 Evren Sirin
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek//
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// Permission is hereby granted, free of charge, to any person obtaining a copy
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// of this software and associated documentation files (the "Software"), to
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// deal in the Software without restriction, including without limitation the
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// sell copies of the Software, and to permit persons to whom the Software is
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// furnished to do so, subject to the following conditions:
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek//
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// The above copyright notice and this permission notice shall be included in
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// all copies or substantial portions of the Software.
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek//
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek// IN THE SOFTWARE.
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek/*
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek * Created on Mar 17, 2004
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek */
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozekpackage org.mindswap.owl;
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek/**
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek * @author Evren Sirin
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek */
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozekpublic interface OWLObjectConverter {
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek public boolean canCast(OWLObject object);
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek public OWLObject cast(OWLObject object);
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek}
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek