Examples of TypeParser


Examples of fr.imag.adele.apam.maven.plugin.validation.property.TypeParser

  private final ContextualExpressionValidator expressionValidator;
 
  public PropertyValidator(ComponentValidator<?> parent) {
    super(parent);
   
    this.typeParser        = new TypeParser();
    this.expressionValidator  = new ContextualExpressionValidator(this,typeParser);
  }
View Full Code Here

Examples of fr.imag.adele.apam.maven.plugin.validation.property.TypeParser

  private final ContextualExpressionValidator expressionValidator;
 
  public ConstrainedReferenceValidator(ComponentValidator<?> parent) {
    super(parent);

    this.typeParser        = new TypeParser();
    this.expressionValidator  = new ContextualExpressionValidator(this,typeParser);
  }
View Full Code Here

Examples of fr.imag.adele.apam.maven.plugin.validation.property.TypeParser

  private final RelationValidator contextuallRelationValidator;
 
  public CompositeValidator(ValidationContext context, Classpath classpath) {
    super(context, classpath);
   
    this.typeParser            = new TypeParser();
    this.instanceValidator        = new InstanceValidator(this);
    this.contextuallRelationValidator  = new RelationValidator(this);
  }
View Full Code Here

Examples of org.apache.cassandra.db.marshal.TypeParser

        Class<?> validation_class = getValidationClassInstance(dataType, isCql3Enabled);

        valueType = validation_class.toString();
        if (validation_class.equals(ListType.class))
        {
            TypeParser parser = new TypeParser(getValidationClass(genericClasses.get(0), isCql3Enabled));
            valueType = ListType.getInstance(parser.parse()).toString();
        }
        else if (validation_class.equals(SetType.class))
        {
            TypeParser parser = new TypeParser(getValidationClass(genericClasses.get(0), isCql3Enabled));
            valueType = SetType.getInstance(parser.parse()).toString();
        }
        else if (validation_class.equals(MapType.class))
        {
            TypeParser keyParser = new TypeParser(getValidationClass(genericClasses.get(0), isCql3Enabled));
            TypeParser valueParser = new TypeParser(getValidationClass(genericClasses.get(1), isCql3Enabled));
            valueType = MapType.getInstance(keyParser.parse(), valueParser.parse()).toString();
        }
        return valueType;
    }
View Full Code Here

Examples of org.apache.xmlrpc.parser.TypeParser

    context = pContext;
    serializer = new JaxbSerializer(context);
  }

  public TypeParser getParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName) {
    TypeParser tp = super.getParser(pConfig, pContext, pURI, pLocalName);
    if (tp == null) {
      if (XmlRpcWriter.EXTENSIONS_URI.equals(pURI&&  JaxbSerializer.JAXB_TAG.equals(pLocalName)) {
        return new JaxbParser(context);
      }
    }
View Full Code Here

Examples of org.apache.xmlrpc.parser.TypeParser

    context = pContext;
    serializer = new JaxbSerializer(context);
  }

  public TypeParser getParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName) {
    TypeParser tp = super.getParser(pConfig, pContext, pURI, pLocalName);
    if (tp == null) {
      if (XmlRpcWriter.EXTENSIONS_URI.equals(pURI&&  JaxbSerializer.JAXB_TAG.equals(pLocalName)) {
        return new JaxbParser(context);
      }
    }
View Full Code Here

Examples of wyvern.tools.parsing.TypeParser

    }
  }

  public static SpliceType spliceType(ParseBuffer inpType) {
    try {
      Type res = (Type)new TypeParser().parse(new StringReader(inpType.getSrcString()), "inner type");
      return new SpliceType(res);
    } catch (IOException | CopperParserException e) {
      throw new RuntimeException(e);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.