eu.esdihumboldt.hale.io.xsd.reader.internal.constraint
Class ElementName
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.constraint.DisplayName
eu.esdihumboldt.hale.io.xsd.reader.internal.constraint.ElementName
- All Implemented Interfaces:
- GroupPropertyConstraint, PropertyConstraint, TypeConstraint
public class ElementName
- extends DisplayName
Custom display name based on XML elements
- Author:
- Simon Templer
Constructor Summary |
ElementName(XmlElements xmlElements)
Create a display name constraint based on the XML elements of a type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementName
public ElementName(XmlElements xmlElements)
- Create a display name constraint based on the XML elements of a type
- Parameters:
xmlElements
- the XML elements
getCustomName
public String getCustomName()
- Description copied from class:
DisplayName
- Get the custom display name.
- Overrides:
getCustomName
in class DisplayName
- Returns:
- the customName the custom display name or
null
if
there is no custom name - See Also:
DisplayName.getCustomName()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d