dk.brics.xact.analysis.transformations
Class SchemaTypeLinking

java.lang.Object
  extended by dk.brics.xact.analysis.transformations.SchemaTypeLinking

public class SchemaTypeLinking
extends Object

Loads all XML schemas used by the program and then builds an XML graph containing:

Additionally, only ChoiceNodes can have element and attribute nodes as content, and the contents of each element node will be a ChoiceNode.

A quantified type is the name of a type suffixed with ?, + or *, corresponding to the zero-or-one, one-or-more and zero-or-more operators. Quantifiers can appear both inside and outside of gap annotations. For example, these are all types that use quantifiers:

  foo+
  foo[bar* X]
  foo*[bar+ Z]
  foo[bar? X, baz? Y]
 


Nested Class Summary
(package private) static class SchemaTypeLinking.Quantifier
           
 
Constructor Summary
SchemaTypeLinking()
           
 
Method Summary
 void run(FlowGraph g, Configuration config)
           
(package private)  void wrapNodesInChoices(XMLGraph xg)
          Puts a choice node around each element node, and before each attribute node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaTypeLinking

public SchemaTypeLinking()
Method Detail

run

public void run(FlowGraph g,
                Configuration config)

wrapNodesInChoices

void wrapNodesInChoices(XMLGraph xg)
Puts a choice node around each element node, and before each attribute node



Copyright © 2005-2011 Aarhus University.