KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > crypto > XMLStructure


1 /*
2  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3  */

4 /*
5  * $Id: XMLStructure.java,v 1.3 2005/05/10 15:47:42 mullan Exp $
6  */

7 package javax.xml.crypto;
8
9 /**
10  * A representation of an XML structure from any namespace. The purpose of
11  * this interface is to group (and provide type safety for) all
12  * representations of XML structures.
13  *
14  * @author Sean Mullan
15  * @author JSR 105 Expert Group
16  * @since 1.6
17  */

18 public interface XMLStructure {
19
20     /**
21      * Indicates whether a specified feature is supported.
22      *
23      * @param feature the feature name (as an absolute URI)
24      * @return <code>true</code> if the specified feature is supported,
25      * <code>false</code> otherwise
26      * @throws NullPointerException if <code>feature</code> is <code>null</code>
27      */

28     boolean isFeatureSupported(String JavaDoc feature);
29 }
30
Popular Tags