org.exolab.castor.builder
Class GroupNaming
java.lang.Object
org.exolab.castor.builder.GroupNaming
public final class GroupNaming
extends java.lang.Object
A simple class used for creating class names for unnamed Groups in XML Schema.
$Revision: 7139 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
GroupNaming
public GroupNaming(JavaNaming javaNaming)
Creates a new GroupNaming.
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.
group
- the group to create a class name forpackageName
- the package name for this group
- the class name for the given Group.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com