1 /**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21 
22 package org.apache.openoffice.ooxml.parser;
23 
24 class Transition
25 {
Transition( final int nStartStateId, final int nEndStateId, final int nElementId, final int nActionStateId)26     Transition (
27         final int nStartStateId,
28         final int nEndStateId,
29         final int nElementId,
30         final int nActionStateId)
31     {
32         mnStartStateId = nStartStateId;
33         mnEndStateId = nEndStateId;
34         mnElementId = nElementId;
35         mnActionStateId = nActionStateId;
36     }
37 
38 
39 
40 
GetStartStateId()41     public int GetStartStateId ()
42     {
43         return mnStartStateId;
44     }
45 
46 
47 
48 
GetEndStateId()49     public int GetEndStateId ()
50     {
51         return mnEndStateId;
52     }
53 
54 
55 
56 
GetElementId()57     public int GetElementId ()
58     {
59         return mnElementId;
60     }
61 
62 
63 
64 
GetActionId()65     public int GetActionId ()
66     {
67         return mnActionStateId;
68     }
69 
70 
71 
72 
73     private final int mnStartStateId;
74     private final int mnEndStateId;
75     private final int mnElementId;
76     private final int mnActionStateId;
77 }
78