View Javadoc

1   package net.sf.tomp.xml.type;
2   
3   /***
4    * DOCUMENT ME!
5    * 
6    * @author $author$
7    * @version $Revision$
8    */
9   public interface Type {
10      /***
11       * DOCUMENT ME!
12       * 
13       * @return DOCUMENT ME!
14       */
15      String getIdentification();
16  
17      /***
18       * DOCUMENT ME!
19       * 
20       * @return DOCUMENT ME!
21       */
22      String getTypeType();
23  
24      /***
25       * DOCUMENT ME!
26       * 
27       * @param p DOCUMENT ME!
28       */
29      void addParent(Type p);
30  
31      /***
32       * DOCUMENT ME!
33       * 
34       * @return DOCUMENT ME!
35       */
36      java.util.Iterator parentIterator();
37  
38      /***
39       * DOCUMENT ME!
40       * 
41       * @return DOCUMENT ME!
42       */
43      java.util.Iterator ancestorIterator();
44  
45      /***
46       * DOCUMENT ME!
47       * 
48       * @param t DOCUMENT ME!
49       * @return DOCUMENT ME!
50       */
51      boolean isDescendantOf(Type t);
52  
53      /***
54       * DOCUMENT ME!
55       * 
56       * @param c DOCUMENT ME!
57       * @param t DOCUMENT ME!
58       */
59      void addTypeForContext(TypeContext c, Type t);
60  
61      /***
62       * DOCUMENT ME!
63       * 
64       * @param c DOCUMENT ME!
65       * @return DOCUMENT ME!
66       */
67      Type getTypeForContext(TypeContext c);
68  
69      /*
70       * String getDoctypePublic(); String getDoctypeSystem();
71       */
72  }
73  
74  /*
75   * The contents of this file are subject to the Mozilla Public License Version
76   * 1.1 (the "License"); you may not use this file except in compliance with the
77   * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
78   * Software distributed under the License is distributed on an "AS IS" basis,
79   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
80   * the specific language governing rights and limitations under the License. The
81   * Original Code is: all this file. The Initial Developer of the Original Code
82   * is: Tomas Pitner, Masaryk University in Brno, Czech Republic. Contributor(s):
83   */