net.sourceforge.nrl.parser.model
Class ModelUtils
java.lang.Object
net.sourceforge.nrl.parser.model.ModelUtils
public class ModelUtils
- extends Object
Utility methods for working with model objects.
- Author:
- Matthew Smith
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelUtils
public ModelUtils()
getAttributeByOriginalName
public static IAttribute getAttributeByOriginalName(IClassifier container,
String originalName,
boolean includeInherited)
- Finds an attribute within the given
IClassifier whose originalName matches
that specified.
- Parameters:
container - The IClassifier to search for attributes.originalName - The name of the attribute as specified in the original e.g. XSDincludeInherited -
- Returns:
Copyright © 2006-2011. All Rights Reserved.