|
JASMI API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISyntax
ISyntax represents a SYNTAX clause of OBJECT-TYPE, TEXTUAL-CONVENTION, and other SMIv1/v2 constructs.
| Field Summary | |
|---|---|
static int |
APPLICATION
Denotes an APPLICATION syntax as specifed by ASN.1 |
static int |
CONVENTION
Denotes a TEXTUAL CONVENTION that is defined based on SIMPLE or APPLICATION syntaxes. |
static int |
SEQUENCE
Denotes a SEQUENCE syntax used for defining tables. |
static int |
SIMPLE
Denotes a SIMPLE syntax, for example INTEGER, OCTET STRING, etc. |
| Method Summary | |
|---|---|
IEnum[] |
getEnums()
Gets the enumerated values specified for this syntax definition. |
IRange[] |
getRanges()
Gets the range definitions for this syntax definition. |
java.lang.String |
getSyntax()
Gets the syntax definition string. |
int |
getType()
Gets the type of the syntax. |
boolean |
hasEnums()
Checks whether the syntax definition specifies enumerated values. |
boolean |
hasRanges()
Checks whether the syntax definition specifies any ranges. |
| Field Detail |
|---|
static final int APPLICATION
static final int CONVENTION
static final int SIMPLE
static final int SEQUENCE
| Method Detail |
|---|
java.lang.String getSyntax()
boolean hasRanges()
true if getRanges() returns not null.IRange[] getRanges()
null if there are no range
definitions for this syntax.boolean hasEnums()
true if getEnums() returns not null.IEnum[] getEnums()
null if there are no enumerated
values defined for this syntax.int getType()
APPLICATION,
SEQUENCE, SIMPLE, and CONVENTION.
|
JASMI API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||