| Package | Description |
|---|---|
| net.sourceforge.nrl.parser.ast |
The fully resolved abstract syntax tree (AST) representation of the constraint language.
|
| net.sourceforge.nrl.parser.ast.constraints.impl | |
| net.sourceforge.nrl.parser.model |
Definition of the internal meta-model that rules are written against.
|
| net.sourceforge.nrl.parser.model.uml2 |
A model implementation that provides an implementation over the UML2 model
classes.
|
| net.sourceforge.nrl.parser.model.xsd |
XML Schema model loader.
|
| net.sourceforge.nrl.parser.type |
Abstract type assignment and type checking for the completed AST.
|
| Modifier and Type | Method and Description |
|---|---|
IAttribute |
IModelReference.getLastAttribute()
Get the last attribute in a model reference.
|
| Modifier and Type | Method and Description |
|---|---|
List<IAttribute> |
IModelReference.getRemainingSteps()
Return the remaining steps after the initial step has been traversed.
|
| Modifier and Type | Method and Description |
|---|---|
IAttribute |
ModelReferenceImpl.getLastAttribute() |
| Modifier and Type | Method and Description |
|---|---|
List<IAttribute> |
ModelReferenceImpl.getRemainingSteps() |
| Modifier and Type | Method and Description |
|---|---|
void |
ModelReferenceImpl.addStep(IAttribute step) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAttribute
A basic attribute implementation, to be subclassed.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,IAttribute> |
AbstractClassifier.nameToAttribute |
| Modifier and Type | Method and Description |
|---|---|
IAttribute |
IClassifier.getAttributeByName(String name,
boolean includeInherited)
Return an attribute by name, or null if not found.
|
IAttribute |
AbstractClassifier.getAttributeByName(String name,
boolean includeInherited) |
static IAttribute |
ModelUtils.getAttributeByOriginalName(IClassifier container,
String originalName,
boolean includeInherited)
Finds an attribute within the given
IClassifier whose originalName matches
that specified. |
| Modifier and Type | Method and Description |
|---|---|
List<IAttribute> |
AbstractClassifier.getAttributes()
Return the actual, unmodified attribute list for use by subclasses.
|
List<IAttribute> |
IClassifier.getAttributes(boolean includeInherited)
Return a collection of
IAttribute objects. |
List<IAttribute> |
AbstractClassifier.getAttributes(boolean includeInherited) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractClassifier.addAttribute(IAttribute attribute) |
static String |
ModelUtils.getXMLNamespaceURI(IAttribute attr)
Return the namespace an attribute is in.
|
static String |
ModelUtils.getXSDPath(IAttribute attr)
Return an XPath to an attribute inside a schema.
|
static boolean |
ModelUtils.isAttributeAnXMLAttribute(IAttribute attr)
Return true if an attribute represents an XML attribute (as opposed to an XML
element).
|
static boolean |
ModelUtils.isAttributeAnXMLElement(IAttribute attr)
Return true if an attribute represents an XML element (rather than an XML
attribute).
|
static boolean |
ModelUtils.isRenamedXSDAttribute(IAttribute attr)
Returnt true if an attribute is an XML attribute or element that had to be renamed
by the model loader due to a naming conflict.
|
void |
AbstractClassifier.removeAttribute(IAttribute attribute) |
| Modifier and Type | Class and Description |
|---|---|
class |
UML2Attribute
Extension of a standard attribute that holds a UML2 typed element reference.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XSDAttribute
An NRL attribute created from a schema sub-element or attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static List<IAttribute> |
XSDModelUtils.getXsdAttributes(IClassifier container,
boolean includeInherited)
Return all attributes of the given
IClassifier that are tagged as having
been generated from an XSD attribute. |
static List<IAttribute> |
XSDModelUtils.getXsdElements(IClassifier container,
boolean includeInherited)
Return all attributes of the given
IClassifier that are tagged as having
been generated from an XSD element. |
| Modifier and Type | Method and Description |
|---|---|
NRLDataType |
TypeMapping.getType(IAttribute attr) |
NRLDataType |
ITypeMapping.getType(IAttribute attr)
Map the type of an attribute to an internal abstract type.
|
Copyright © 2006-2013. All Rights Reserved.