public class TlvConfigurationFileParser extends tlvBaseListener
Constructor and Description |
---|
TlvConfigurationFileParser() |
Modifier and Type | Method and Description |
---|---|
void |
enterConfigType(tlvParser.ConfigTypeContext ctx)
Enter a parse tree produced by
tlvParser.configType() . |
void |
enterSnmp(tlvParser.SnmpContext ctx)
Enter a parse tree produced by
tlvParser.snmp() . |
void |
enterStartTLV(tlvParser.StartTLVContext ctx)
Enter a parse tree produced by
tlvParser.startTLV() . |
void |
enterSTlv(tlvParser.STlvContext ctx)
Enter a parse tree produced by
tlvParser.sTlv() . |
void |
enterSub(tlvParser.SubContext ctx)
Enter a parse tree produced by
tlvParser.sub() . |
void |
enterSubTypeValue(tlvParser.SubTypeValueContext ctx)
Enter a parse tree produced by
tlvParser.subTypeValue() . |
void |
enterTlv(tlvParser.TlvContext ctx)
Enter a parse tree produced by
tlvParser.tlv() . |
void |
enterTypeValue(tlvParser.TypeValueContext ctx)
Enter a parse tree produced by
tlvParser.typeValue() . |
void |
exitSnmp(tlvParser.SnmpContext ctx)
Exit a parse tree produced by
tlvParser.snmp() . |
void |
exitSTlv(tlvParser.STlvContext ctx)
Exit a parse tree produced by
tlvParser.sTlv() . |
void |
exitSub(tlvParser.SubContext ctx)
Exit a parse tree produced by
tlvParser.sub() . |
void |
exitTlv(tlvParser.TlvContext ctx)
Exit a parse tree produced by
tlvParser.tlv() . |
int |
getConfigurationFileType() |
org.json.JSONArray |
getTLVDefinitions() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getTopLevelTypeToNumByteLength() |
byte[] |
toByteArray() |
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String sSeperation) |
enterBegin, enterDataType, enterEmptyTLV, enterEveryRule, enterOid, enterSnmpType, enterSubTLV, enterSubType, enterType, enterValue, exitBegin, exitConfigType, exitDataType, exitEmptyTLV, exitEveryRule, exitOid, exitSnmpType, exitStartTLV, exitSubTLV, exitSubType, exitSubTypeValue, exitType, exitTypeValue, exitValue, visitErrorNode, visitTerminal
public void enterConfigType(@NotNull tlvParser.ConfigTypeContext ctx)
tlvParser.configType()
.
The default implementation does nothing.
The default implementation does nothing.enterConfigType
in interface tlvListener
enterConfigType
in class tlvBaseListener
ctx
- tlvParser.ConfigTypeContextpublic void enterStartTLV(@NotNull tlvParser.StartTLVContext ctx)
tlvParser.startTLV()
.
The default implementation does nothing.
The default implementation does nothing.enterStartTLV
in interface tlvListener
enterStartTLV
in class tlvBaseListener
ctx
- tlvParser.StartTLVContextpublic void enterTlv(@NotNull tlvParser.TlvContext ctx)
tlvParser.tlv()
.
The default implementation does nothing.
The default implementation does nothing.enterTlv
in interface tlvListener
enterTlv
in class tlvBaseListener
ctx
- tlvParser.TlvContextpublic void enterSnmp(@NotNull tlvParser.SnmpContext ctx)
tlvParser.snmp()
.
The default implementation does nothing.
The default implementation does nothing.enterSnmp
in interface tlvListener
enterSnmp
in class tlvBaseListener
ctx
- tlvParser.SnmpContextpublic void enterSub(@NotNull tlvParser.SubContext ctx)
tlvParser.sub()
.
The default implementation does nothing.
The default implementation does nothing.enterSub
in interface tlvListener
enterSub
in class tlvBaseListener
ctx
- tlvParser.SubContextpublic void exitSub(@NotNull tlvParser.SubContext ctx)
tlvParser.sub()
.
The default implementation does nothing.
The default implementation does nothing.exitSub
in interface tlvListener
exitSub
in class tlvBaseListener
ctx
- tlvParser.SubContextpublic void enterSTlv(@NotNull tlvParser.STlvContext ctx)
tlvParser.sTlv()
.
The default implementation does nothing.
The default implementation does nothing.enterSTlv
in interface tlvListener
enterSTlv
in class tlvBaseListener
ctx
- tlvParser.STlvContextpublic void exitSTlv(@NotNull tlvParser.STlvContext ctx)
tlvParser.sTlv()
.
The default implementation does nothing.
The default implementation does nothing.exitSTlv
in interface tlvListener
exitSTlv
in class tlvBaseListener
ctx
- tlvParser.STlvContextpublic void enterSubTypeValue(@NotNull tlvParser.SubTypeValueContext ctx)
tlvParser.subTypeValue()
.
The default implementation does nothing.
The default implementation does nothing.enterSubTypeValue
in interface tlvListener
enterSubTypeValue
in class tlvBaseListener
ctx
- tlvParser.SubTypeValueContextpublic void enterTypeValue(@NotNull tlvParser.TypeValueContext ctx)
tlvParser.typeValue()
.
The default implementation does nothing.
The default implementation does nothing.enterTypeValue
in interface tlvListener
enterTypeValue
in class tlvBaseListener
ctx
- tlvParser.TypeValueContextpublic void exitTlv(@NotNull tlvParser.TlvContext ctx)
tlvParser.tlv()
.
The default implementation does nothing.
The default implementation does nothing.exitTlv
in interface tlvListener
exitTlv
in class tlvBaseListener
ctx
- tlvParser.TlvContextpublic void exitSnmp(@NotNull tlvParser.SnmpContext ctx)
tlvParser.snmp()
.
The default implementation does nothing.
The default implementation does nothing.exitSnmp
in interface tlvListener
exitSnmp
in class tlvBaseListener
ctx
- tlvParser.SnmpContextpublic byte[] toByteArray()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String sSeperation)
sSeperation
- public java.util.Map<java.lang.Integer,java.lang.Integer> getTopLevelTypeToNumByteLength()
public org.json.JSONArray getTLVDefinitions()
public int getConfigurationFileType()