org.apache.commons.betwixt.schema.strategy.impl
Class ClassNameSchemaNamingStrategy
java.lang.Object
org.apache.commons.betwixt.schema.strategy.SchemaTypeNamingStrategy
org.apache.commons.betwixt.schema.strategy.impl.ClassNameSchemaNamingStrategy
public class ClassNameSchemaNamingStrategy
- extends SchemaTypeNamingStrategy
Names schema types from the property type of the descriptor
- Since:
- 0.8
- Author:
- Apache Commons Team of the Apache Software Foundation
ClassNameSchemaNamingStrategy
public ClassNameSchemaNamingStrategy()
nameSchemaType
public 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 String toString()
- Outputs brief description.
- Overrides:
toString
in class Object
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.