net.sourceforge.nrl.parser.model
Class ModelUtils

java.lang.Object
  extended by net.sourceforge.nrl.parser.model.ModelUtils

public class ModelUtils
extends Object

Utility methods for working with model objects.

Author:
Matthew Smith

Constructor Summary
ModelUtils()
           
 
Method Summary
static IAttribute getAttributeByOriginalName(IClassifier container, String originalName, boolean includeInherited)
          Finds an attribute within the given IClassifier whose originalName matches that specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelUtils

public ModelUtils()
Method Detail

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. XSD
includeInherited -
Returns:


Copyright © 2006-2011. All Rights Reserved.