org.apache.commons.betwixt.schema.strategy.impl
Class QualifiedPropertyTypeSchemaNamingStrategy

java.lang.Object
  extended by org.apache.commons.betwixt.schema.strategy.SchemaTypeNamingStrategy
      extended by org.apache.commons.betwixt.schema.strategy.impl.QualifiedPropertyTypeSchemaNamingStrategy

public class QualifiedPropertyTypeSchemaNamingStrategy
extends SchemaTypeNamingStrategy

Names schema types from the fully qualified property type of the descriptor

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

Constructor Summary
QualifiedPropertyTypeSchemaNamingStrategy()
           
 
Method Summary
 java.lang.String nameSchemaType(ElementDescriptor elementDescriptor)
          Names the schema type from the type of the property.
 java.lang.String toString()
          Outputs brief description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QualifiedPropertyTypeSchemaNamingStrategy

public QualifiedPropertyTypeSchemaNamingStrategy()
Method Detail

nameSchemaType

public java.lang.String nameSchemaType(ElementDescriptor elementDescriptor)
Names the schema type from the type of the property.

Specified by:
nameSchemaType in class SchemaTypeNamingStrategy
Parameters:
elementDescriptor - ElementDescriptor describing the element
Returns:
the name of the schema
See Also:
SchemaTypeNamingStrategy.nameSchemaType(ElementDescriptor)

toString

public java.lang.String toString()
Outputs brief description.

Overrides:
toString in class java.lang.Object


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