Class GroupNaming


  • public final class GroupNaming
    extends java.lang.Object
    A simple class used for creating class names for unnamed Groups in XML Schema.
    Version:
    $Revision: 7943 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
    Author:
    Keith Visco
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupNaming​(JavaNaming javaNaming)
      Creates a new GroupNaming.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String createClassName​(Group group, java.lang.String packageName)
      Creates a class name for the given Group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GroupNaming

        public GroupNaming​(JavaNaming javaNaming)
        Creates a new GroupNaming.
        Parameters:
        javaNaming - the JavaNaming to be used
    • Method Detail

      • createClassName

        public java.lang.String createClassName​(Group group,
                                                java.lang.String packageName)
        Creates a class name for the given Group. A null value will be returned if a name cannot be created for the group.
        Parameters:
        group - the group to create a class name for
        packageName - the package name for this group
        Returns:
        the class name for the given Group.