Exemplo n.º 1
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginParameter(Name, getTypeName(), getDefaultValues());
     exporter.endParameter();
 }
Exemplo n.º 2
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginNonPrimitiveParameter(Name, getTypeName());
     m_parameter.visit(exporter);
     //foreach (Parameter p in m_parameters) // should be only 1 parameter!
     //{
     //    p.visit(exporter);
     //}
     exporter.endNonPrimitiveParameter();
 }
Exemplo n.º 3
0
 public abstract void visit(IParameterExporter exporter);
Exemplo n.º 4
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginParameter(Name, getTypeName(), m_defaultId.ToString());
     exporter.endParameter();
 }
Exemplo n.º 5
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginNonPrimitiveParameter(Name,getTypeName());
     foreach (Parameter p in m_parameters.Values)
     {
         p.visit(exporter);
     }
     exporter.endNonPrimitiveParameter();
 }
Exemplo n.º 6
0
 public void exportComponents(IParameterExporter pe)
 {
     pe.begin();
     foreach (String name in m_registeredTypes.Keys)
     {
         // remove namespace from type
         int index = name.LastIndexOf('.');
         String shortName = name.Substring(index+1);
         pe.beginElement(shortName, name);
         ParameterSequence ps = m_registeredSequences[m_registeredTypes[name]];
         foreach (Parameter.Parameter p in ps.Root.Parameters.Values)
         {
             p.visit(pe);
         }
         pe.endElement();
     }
     pe.end();
 }