Package net.percederberg.mibble.type

Examples of net.percederberg.mibble.type.ObjectIdentifierType


        // Add the ccitt symbol
        oid = new ObjectIdentifierValue(CCITT, 0);
        symbol = new MibValueSymbol(new FileLocation(null, -1, -1),
                                    null,
                                    CCITT,
                                    new ObjectIdentifierType(),
                                    oid);
        oid.setSymbol((MibValueSymbol) symbol);
        symbols.put(CCITT, symbol);

        // Add the iso symbol
        oid = new ObjectIdentifierValue(ISO, 1);
        symbol = new MibValueSymbol(new FileLocation(null, -1, -1),
                                    null,
                                    ISO,
                                    new ObjectIdentifierType(),
                                    oid);
        oid.setSymbol((MibValueSymbol) symbol);
        symbols.put(ISO, symbol);

        // Add the joint-iso-ccitt symbol
        oid = new ObjectIdentifierValue(JOINT_ISO_CCITT, 2);
        symbol = new MibValueSymbol(new FileLocation(null, -1, -1),
                                    null,
                                    JOINT_ISO_CCITT,
                                    new ObjectIdentifierType(),
                                    oid);
        oid.setSymbol((MibValueSymbol) symbol);
        symbols.put(JOINT_ISO_CCITT, symbol);
    }
View Full Code Here


     * @param node           the node being exited
     *
     * @return the node to add to the parse tree
     */
    protected Node exitObjectIdentifierType(Production node) {
        node.addValue(new ObjectIdentifierType());
        return node;
    }
View Full Code Here

TOP

Related Classes of net.percederberg.mibble.type.ObjectIdentifierType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.