org.exolab.castor.builder
Class GroupNaming

java.lang.Object
  extended by org.exolab.castor.builder.GroupNaming

public class GroupNaming
extends java.lang.Object

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

Version:
$Revision: 1.2 $ $Date: 2005/05/21 17:32:23 $
Author:
Keith Visco

Constructor Summary
GroupNaming()
          Creates a new GroupNaming
 
Method Summary
 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()
Creates a new GroupNaming

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.

Returns:
the class name for the given Group.


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