KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > cyberneko > html > HTMLComponent


1 /*
2  * (C) Copyright 2002-2005, Andy Clark. All rights reserved.
3  *
4  * This file is distributed under an Apache style license. Please
5  * refer to the LICENSE file for specific details.
6  */

7
8 package org.cyberneko.html;
9
10 import org.apache.xerces.xni.parser.XMLComponent;
11
12 /**
13  * This interface extends the XNI <code>XMLComponent</code> interface
14  * to add methods that allow the preferred default values for features
15  * and properties to be queried.
16  *
17  * @author Andy Clark
18  *
19  * @version $Id: HTMLComponent.java,v 1.4 2005/02/14 03:56:54 andyc Exp $
20  */

21 public interface HTMLComponent
22     extends XMLComponent {
23
24     //
25
// HTMLComponent methods
26
//
27

28     /**
29      * Returns the default state for a feature, or null if this
30      * component does not want to report a default value for this
31      * feature.
32      */

33     public Boolean JavaDoc getFeatureDefault(String JavaDoc featureId);
34
35     /**
36      * Returns the default state for a property, or null if this
37      * component does not want to report a default value for this
38      * property.
39      */

40     public Object JavaDoc getPropertyDefault(String JavaDoc propertyId);
41
42 } // interface HTMLComponent
43
Popular Tags