Examples of Origin


Examples of org.hibernate.internal.jaxb.Origin

   * @param document The DOM document
   *
   * @return this (for method chaining purposes)
   */
  public MetadataSources addDocument(Document document) {
    final Origin origin = new Origin( SourceType.DOM, "<unknown>" );
    JaxbRoot jaxbRoot = jaxbHelper.unmarshal( document, origin );
    jaxbRootList.add( jaxbRoot );
    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.jaxb.Origin

   *
   * @return this (for method chaining purposes)
   */
  public MetadataSources addJar(File jar) {
    LOG.debugf( "Seeking mapping documents in jar file : %s", jar.getName() );
    final Origin origin = new Origin( SourceType.JAR, jar.getAbsolutePath() );
    try {
      JarFile jarFile = new JarFile( jar );
      try {
        Enumeration jarEntries = jarFile.entries();
        while ( jarEntries.hasMoreElements() ) {
View Full Code Here

Examples of org.hibernate.metamodel.source.Origin

  private final AnnotationBindingContext contextDelegate;
  private final Origin origin;

  public LocalBindingContextImpl(AnnotationBindingContext contextDelegate, ConfiguredClass source) {
    this.contextDelegate = contextDelegate;
    this.origin = new Origin( SourceType.ANNOTATION, source.getName() );
  }
View Full Code Here

Examples of soc.qase.state.Origin

    if((bitmask & 0x0002) != 0) {
      x = Utils.shortValue(data, offset);
      y = Utils.shortValue(data, offset + 2);
      z = Utils.shortValue(data, offset + 4);
      offset = offset + 6;
      player.setOrigin(new Origin((int)(0.125 * x), (int)(0.125 * y), (int)(0.125 * z)));
    }
    if((bitmask & 0x0004) != 0) {
      x = Utils.shortValue(data, offset);
      y = Utils.shortValue(data, offset + 2);
      z = Utils.shortValue(data, offset + 4);
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.