Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package com.sun.xml.bind.v2.model.impl;
 /*    */ 
 /*    */ import com.sun.xml.bind.v2.runtime.Location;
 /*    */ import javax.xml.namespace.QName;
 /*    */ 
 /*    */ class AnyTypeImpl<T, C>
/*    */   implements NonElement<T, C>
/*    */ {
/*    */   private final T type;
/*    */   private final Navigator<T, C, ?, ?> nav;
/* 94 */   private static final QName name = new QName("http://www.w3.org/2001/XMLSchema""anyType");
/*    */ 
/*    */   public AnyTypeImpl(Navigator<T, C, ?, ?> nav)
/*    */   {
/* 60 */     this.type = nav.ref(Object.class);
/* 61 */     this.nav = nav;
/*    */   }
/*    */ 
/*    */   public QName getTypeName() {
/* 65 */     return name;
/*    */   }
/*    */ 
/*    */   public T getType() {
/* 69 */     return this.type;
/*    */   }
/*    */ 
/*    */   public Locatable getUpstream() {
/* 73 */     return null;
/*    */   }
/*    */ 
/*    */   public boolean isSimpleType() {
/* 77 */     return false;
/*    */   }
/*    */ 
/*    */   public Location getLocation() {
/* 81 */     return this.nav.getClassLocation(this.nav.asDecl(Object.class));
/*    */   }
/*    */ 
/*    */   

Deprecated:
/*    */   public final boolean canBeReferencedByIDREF()
/*    */   {
/* 91 */     return true;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     com.sun.xml.bind.v2.model.impl.AnyTypeImpl
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X