1. /*
  2. * @(#)file JDMNetMaskV6.java
  3. * @(#)author Sun Microsystems, Inc.
  4. * @(#)version 1.6
  5. * @(#)date 04/09/15
  6. *
  7. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  8. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  9. *
  10. */
  11. /* Generated By:JJTree: Do not edit this line. JDMNetMaskV6.java */
  12. package com.sun.jmx.snmp.IPAcl;
  13. import java.net.UnknownHostException;
  14. class JDMNetMaskV6 extends JDMNetMask {
  15. public JDMNetMaskV6(int id) {
  16. super(id);
  17. }
  18. public JDMNetMaskV6(Parser p, int id) {
  19. super(p, id);
  20. }
  21. protected PrincipalImpl createAssociatedPrincipal()
  22. throws UnknownHostException {
  23. return new NetMaskImpl(address.toString(), Integer.parseInt(mask));
  24. }
  25. }