# Uses of Interface
com.snmp4j.smi.SmiObject

Packages that use SmiObject
Package
Description
com.snmp4j.smi
Provides classes and interfaces for parsing, compiling, loading, and using Management Information Base (MIB) specifications written in Structure of Management Information (SMI) version 1 and 2 with SNMP4J to format and parse SNMP data.
com.snmp4j.smi.util.json

- ## Uses of SmiObject in com.snmp4j.smi

  Classes in com.snmp4j.smi with type parameters of type SmiObject
  Modifier and Type
  Interface
  Description
  `interface`
  `SmiObjectFilter<S extends SmiObject>`
  The SmiObjectFilter can be used to filter `SmiObject`s according to self defined criteria.
  Subinterfaces of SmiObject in com.snmp4j.smi
  Modifier and Type
  Interface
  Description
  `interface`
  `SmiModule`
  The SmiModule represents a SMIv1 or SMIv2 MIB MODULE-DEFINITION.
  `interface`
  `SmiModuleCompliance`
  The `SmiModuleCompliance` interface defines the attributes of the SMIv2 MODULE-COMPLIANCE macro.
  `interface`
  `SmiModuleIdentity`
  The SmiModule represents a SMIv2 MODULE-IDENTITY.
  `interface`
  `SmiNotificationType`
  The SmiNotificationType interface extends the `SmiObject` by attributes specific to the SMI NOTIFICATION-TYPE and TRAP-TYPE constructs, for example the OBJECTS clause.
  `interface`
  `SmiObjectType`
  The SmiObjectType interface extends the `SmiObject` by attributes specific to the SMI OBJECT-TYPE construct, i.e., the MAX-ACCESS clause.
  `interface`
  `SmiObjectTypeIndex`
  The SmiObjectTypeIndex represents an OBJECT-TYPE definition that is used as an INDEX element for a table.
  `interface`
  `SmiTextualConvention`
  The SmiTextualConvention represents the SMIv2 TEXTUAL-CONVENTION and the SMIv1 type assignment construct.
  Subinterfaces with type arguments of type SmiObject in com.snmp4j.smi
  Modifier and Type
  Interface
  Description
  `interface`
  `SmiObject`
  The SmiObject interface represents the SMI information of a MIB object.
  Methods in com.snmp4j.smi with type parameters of type SmiObject
  Modifier and Type
  Method
  Description
  `<S extends SmiObject>
  List<S>`
  SmiManager.`findSmiObject(String moduleName, SmiObjectFilter<S> filter)`
  Gets the SMI object defined for the specified `OID`.
  Methods in com.snmp4j.smi that return SmiObject
  Modifier and Type
  Method
  Description
  `SmiObject`
  SmiManager.`findRootSmiObject()`
  Gets the SMI object with the lexicographic smallest OID within the currently loaded MIB modules.
  `SmiObject`
  SmiManager.`findRootSmiObject(String moduleName)`
  Gets the SMI object with the lexicographic smallest OID within the given loaded MIB module.
  `SmiObject`
  SmiManager.`findSmiObject(String moduleName, String objectName)`
  Gets the SMI object defined for the specified object name.
  `SmiObject`
  SmiManager.`findSmiObject(String moduleName, String objectName, boolean includeImportedModules)`
  Gets the SMI object defined for the specified object name.
  `SmiObject`
  SmiManager.`findSmiObject(org.snmp4j.smi.OID oid)`
  Gets the SMI object defined for the specified `OID`.
  `SmiObject`
  SmiObject.`getParent()`
  Gets the parent object for this SMI object.
  Methods in com.snmp4j.smi that return types with arguments of type SmiObject
  Modifier and Type
  Method
  Description
  `List<? extends SmiObject>`
  SmiObject.`getChildren()`
  Gets all child objects below this SMI object.

- ## Uses of SmiObject in com.snmp4j.smi.util.json

  Classes in com.snmp4j.smi.util.json that implement interfaces with type arguments of type SmiObject
  Modifier and Type
  Class
  Description
  `class`
  `SmiObjectJsonMatcher`
  Matcher class for comparing JSON generated by SmiObjectJsonConverter against a pattern JSON that contains regular expressions for field values.
  Methods in com.snmp4j.smi.util.json with parameters of type SmiObject
  Modifier and Type
  Method
  Description
  `boolean`
  SmiObjectJsonMatcher.`matches(SmiObject smiObject)`
  Matches a SmiObject against the pattern by first converting it to JSON.
  `boolean`
  SmiObjectJsonMatcher.`passesFilter(SmiObject smiObject)`
  `static boolean`
  SmiObjectJsonMatcher.`quickMatch(String patternJson, SmiObject smiObject)`
  Convenience method to create a matcher and match in one call.
  `static String`
  SmiObjectJsonConverter.`toJson(SmiObject smiObject)`
  Converts any SmiObject (or sub-interface) to a JSON string representation.
  Method parameters in com.snmp4j.smi.util.json with type arguments of type SmiObject
  Modifier and Type
  Method
  Description
  `static String`
  SmiObjectJsonConverter.`toJsonArray(Collection<? extends SmiObject> objects)`
  Converts a collection of SmiObjects to a JSON array string.