Ignore:
Timestamp:
09/06/10 11:40:42 (21 months ago)
Author:
jharrop
Message:

Avoid things of the form:

extends JaxbXmlPart?<JAXBElement<xyz>>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/JaxbXmlPart.java

    r949 r1203  
    2626import javax.xml.bind.Unmarshaller; 
    2727 
     28import org.docx4j.XmlUtils; 
    2829import org.docx4j.jaxb.Context; 
    2930import org.docx4j.jaxb.NamespacePrefixMapperUtils; 
     
    214215 
    215216                        log.debug("unmarshalling " + this.getClass().getName() );                                                                                                                        
    216                         jaxbElement = (E) u.unmarshal( is );                                             
     217                        jaxbElement = (E) XmlUtils.unwrap( 
     218                                        u.unmarshal( is ));                                              
    217219                        log.debug( this.getClass().getName() + " unmarshalled" );                                                                        
    218220 
Note: See TracChangeset for help on using the changeset viewer.