package jaxbniltest65;
import java.io.File;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.transform.stream.StreamSource;
import nt.A;
import org.xml.sax.SAXException;
public class Main
{
public static void main(String[] args) throws JAXBException, SAXException
{
JAXBContext ctx = JAXBContext.newInstance(A.class);
Unmarshaller um = ctx.createUnmarshaller();
JAXBElement a = (JAXBElement) um.unmarshal(new StreamSource(new File("src/niltest.xml")), A.class);
System.out.println(a.getValue().getE().size());
}
}