Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*     */ package com.sun.xml.bind.v2.runtime.unmarshaller;
 /*     */ 
 /*     */ import java.net.URL;
 /*     */ import javax.xml.bind.ValidationEventLocator;
 /*     */ import org.w3c.dom.Node;
 /*     */ import org.xml.sax.Locator;
 /*     */ 
 /*     */ public abstract interface LocatorEx extends Locator
 /*     */ {
/*     */   public abstract ValidationEventLocator getLocation();
/*     */ 
/*     */   public static final class Snapshot
/*     */     implements LocatorExValidationEventLocator
/*     */   {
/*     */     private final int columnNumber;
/*     */     private final int lineNumber;
/*     */     private final int offset;
/*     */     private final String systemId;
/*     */     private final String publicId;
/*     */     private final URL url;
/*     */     private final Object object;
/*     */     private final Node node;
/*     */ 
/*     */     public Snapshot(LocatorEx loc)
/*     */     {
/*  68 */       this. = loc.getColumnNumber();
/*  69 */       this. = loc.getLineNumber();
/*  70 */       this. = loc.getSystemId();
/*  71 */       this. = loc.getPublicId();
/*     */ 
/*  73 */       ValidationEventLocator vel = loc.getLocation();
/*  74 */       this. = vel.getOffset();
/*  75 */       this. = vel.getURL();
/*  76 */       this. = vel.getObject();
/*  77 */       this. = vel.getNode();
/*     */     }
/*     */ 
/*     */     public Object getObject() {
/*  81 */       return this.;
/*     */     }
/*     */ 
/*     */     public Node getNode() {
/*  85 */       return this.;
/*     */     }
/*     */ 
/*     */     public int getOffset() {
/*  89 */       return this.;
/*     */     }
/*     */ 
/*     */     public URL getURL() {
/*  93 */       return this.;
/*     */     }
/*     */ 
/*     */     public int getColumnNumber() {
/*  97 */       return this.;
/*     */     }
/*     */ 
/*     */     public int getLineNumber() {
/* 101 */       return this.;
/*     */     }
/*     */ 
/*     */     public String getSystemId() {
/* 105 */       return this.;
/*     */     }
/*     */ 
/*     */     public String getPublicId() {
/* 109 */       return this.;
/*     */     }
/*     */ 
/*     */     public ValidationEventLocator getLocation() {
/* 113 */       return this;
/*     */     }
/*     */   }
/*     */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     com.sun.xml.bind.v2.runtime.unmarshaller.LocatorEx
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X