Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package com.sun.xml.bind.v2.runtime.unmarshaller;
 /*    */ 
 /*    */ import javax.xml.stream.XMLStreamException;
 /*    */ import  org.jvnet.staxex.XMLStreamReaderEx;
 /*    */ import org.xml.sax.SAXException;
 /*    */ 
 /*    */ final class StAXExConnector extends StAXStreamConnector
 /*    */ {
 /*    */   private final XMLStreamReaderEx in;
/*    */ 
/*    */   public StAXExConnector(XMLStreamReaderEx inXmlVisitor visitor)
/*    */   {
/* 59 */     super(invisitor);
/* 60 */     this. = in;
/*    */   }
/*    */ 
/*    */   protected void handleCharacters() throws XMLStreamExceptionSAXException
/*    */   {
/* 65 */     if (this..expectText()) {
/* 66 */       CharSequence pcdata = this..getPCDATA();
/* 67 */       if ((pcdata instanceof org.jvnet.staxex.Base64Data)) {
/* 68 */         org.jvnet.staxex.Base64Data bd = (org.jvnet.staxex.Base64Data)pcdata;
/* 69 */         Base64Data binary = new Base64Data();
/* 70 */         binary.set(bd.get(), bd.getDataLen(), bd.getMimeType());
/*    */ 
/* 73 */         this..text(binary);
/* 74 */         this. = true;
/*    */       } else {
/* 76 */         this..append(pcdata);
/*    */       }
/*    */     }
/*    */   }
/*    */ }
/* 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.StAXExConnector
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X