org.apache.commons.betwixt.schema.strategy.impl
Class ElementSchemaNamingStrategy
java.lang.Object
org.apache.commons.betwixt.schema.strategy.SchemaTypeNamingStrategy
org.apache.commons.betwixt.schema.strategy.impl.ElementSchemaNamingStrategy
public class ElementSchemaNamingStrategy
- extends SchemaTypeNamingStrategy
Strategy uses the name of the element for the complex type
- Since:
- 0.8
- Author:
- Apache Commons Team of the Apache Software Foundation
ElementSchemaNamingStrategy
public ElementSchemaNamingStrategy()
nameSchemaType
public String nameSchemaType(ElementDescriptor descriptor)
- Names the schema from the element
- Specified by:
nameSchemaType
in class SchemaTypeNamingStrategy
- Parameters:
descriptor
- ElementDescriptor
describing the element
- Returns:
- the name of the schema
- See Also:
SchemaTypeNamingStrategy.nameSchemaType(ElementDescriptor)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.