public interface SmiSyntax
| Modifier and Type | Method and Description |
|---|---|
List<SmiSyntaxElement> |
getElements()
Gets the syntax elements, i.e. range or enumeration elements.
|
String |
getResolvedDisplayHint()
Returns the DISPLAY-HINT clause of the TEXTUAL-CONVENTION referenced by this syntax of type
SmiSyntaxType.CONVENTION. |
SmiSyntax |
getResolvedSyntax()
Returns the resolved syntax.
|
int |
getSyntax()
Returns the BER syntax identifier for the simple of application type this syntax is based on.
|
String |
getSyntaxClause()
Returns the value of the syntax clause.
|
SmiSyntaxType |
getType()
Returns the type of syntax clause.
|
boolean |
isEnumeration()
Indicates whether this SYNTAX clause is an enumeration.
|
String getSyntaxClause()
getType() for details.List<SmiSyntaxElement> getElements()
null if the syntax has no elements.boolean isEnumeration()
true only if all elements returned by getElements() are
of type SmiSyntaxElement.Type.Enumeration.SmiSyntaxType getType()
SmiSyntax getResolvedSyntax()
SmiSyntaxType.APPLICATION or
SmiSyntaxType.SIMPLE. Thus, a syntax of type SmiSyntaxType.CONVENTION
will return the SmiSyntax as defined by the referenced textual convention. Note: TEXTUAL CONVENTION and SMIv1
syntax assignments must not be nested in SMIv2. For SMIv1, the effective (artificial) syntax is returned for nested
conventions.this otherwise. If null is returned,
the referenced convention could not be resolved with the currently loaded MIB modules.String getResolvedDisplayHint()
SmiSyntaxType.CONVENTION.null if getType() is not
SmiSyntaxType.CONVENTION or the resolved textual convention has no display hint.int getSyntax()
BER.Copyright © 2015 SNMP4J.com. All Rights Reserved.