org.apache.commons.betwixt.schema
Class SimpleType
java.lang.Object
org.apache.commons.betwixt.schema.SimpleType
public class SimpleType
- extends Object
Models a simpleType tag in an XML schema.
A simple type is an element that cannot have element content
and which has no attributes.
- Version:
- $Revision: 561314 $
- Author:
- Apache Commons Team
SimpleType
public SimpleType()
getName
public String getName()
- Gets the name
- Returns:
- the name of this type
setName
public void setName(String name)
- Sets the name
- Parameters:
name
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.