01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.xml.schema;
17:
18: import java.net.URI;
19:
20: /**
21: * <p>
22: * Instances of this interface are intended to represent the 'any' construct in
23: * an XML Schema.
24: * </p>
25: *
26: * @author dzwiers www.refractions.net
27: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/xml/src/main/java/org/geotools/xml/schema/Any.java $
28: */
29: public interface Any extends ElementGrouping {
30:
31: public static final URI ALL = null;
32:
33: /**
34: * <p>
35: * Returns the element declaration's id for this schema element.
36: * </p>
37: *
38: */
39: public String getId();
40:
41: /**
42: * @see org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
43: */
44: public int getMaxOccurs();
45:
46: /**
47: * @see org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
48: */
49: public int getMinOccurs();
50:
51: /**
52: * <p>
53: * Returns the namespace attribute of the 'any' contruct that an instance
54: * of this interface is representing within an XML Schema.
55: * </p>
56: *
57: */
58: public URI getNamespace();
59: }
|