Since there is no visibility declared, the interface is only available from within the same package which is similar to protected but not completely the same. Protected also allows inheritance.

Werner Guttmann wrote:
Joachim,

sorry, but the keyword 'protected' is not used in the interface
declaration anywhere. As such, it definitely is not protected.

Let me ask you something else: what problem are you having (if at all)
with the way the interface is declared ?

Regards
Werner

Joachim Grüneis wrote:
When an interface is declared as:

/*
 * Copyright 2008 Lukas Lang
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package org.castor.core.nature;

/**
 * A Nature defines a perception of any arbitrary Class.
 *
 * @author Lukas Lang
 * @since 1.2.1
 *
 */
interface Nature {
    /**
     * Returns the fully qualified name of the Nature.
     * @return qualified name of the nature.
     */
    String getId();
}

it is protected.

2008/7/31 Werner Guttmann <[EMAIL PROTECTED]>:
Joachim,

in what sense 'protected' ?

Werner

Joachim Grüneis wrote:
Why is interface org.castor.core.nature.Nature protected?

Regards
Joachim

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





--
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  [EMAIL PROTECTED]
________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to