1
2
3
4
5
6
7
8
9
10 package ch.panter.li.bi.asn;
11
12
13 public interface AsnTag extends Comparable
14 {
15
16 public AsnTagClass getTagClass();
17
18 public AsnTagNature getTagNature();
19
20 public boolean isConstructed();
21
22 public boolean isPrimitive();
23
24 /** Determines whether this instance is of the same tag class and has the same
25 tag number as the other instance. Doesn't look at the constructed/primitive flag.
26 @param other the other tag to compare this instance against
27 @return true if class and number are the same, false otherwise
28 */
29 public boolean isSame( final AsnTag other );
30
31 public AsnIntegralNumber getTagNumber();
32
33 }
34
35