org.exolab.castor.builder

Class GroupNaming

public class GroupNaming extends Object

A simple class used for creating class names for unnamed Groups in XML Schema.

Version: $Revision: 6316 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $

Author: Keith Visco

Constructor Summary
GroupNaming()
Creates a new GroupNaming.
Method Summary
StringcreateClassName(Group group, String packageName)
Creates a class name for the given Group.

Constructor Detail

GroupNaming

public GroupNaming()
Creates a new GroupNaming.

Method Detail

createClassName

public String createClassName(Group group, 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.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com