org.apache.commons.betwixt.schema.strategy
Class SchemaTypeNamingStrategy

java.lang.Object
  extended by org.apache.commons.betwixt.schema.strategy.SchemaTypeNamingStrategy
Direct Known Subclasses:
ClassNameSchemaNamingStrategy, ElementSchemaNamingStrategy, QualifiedPropertyTypeSchemaNamingStrategy

public abstract class SchemaTypeNamingStrategy
extends java.lang.Object

Pluggable strategy for naming schema types. Logical interface.

Since:
0.8
Author:
Apache Commons Team of the Apache Software Foundation

Constructor Summary
SchemaTypeNamingStrategy()
           
 
Method Summary
abstract  java.lang.String nameSchemaType(ElementDescriptor descriptor)
          Names the schema type described.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaTypeNamingStrategy

public SchemaTypeNamingStrategy()
Method Detail

nameSchemaType

public abstract java.lang.String nameSchemaType(ElementDescriptor descriptor)
Names the schema type described.

Parameters:
descriptor - ElementDescriptor describing the element
Returns:
the name of the schema


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.