1 29 30 package com.caucho.jaxb.skeleton; 31 import javax.xml.bind.JAXBException; 32 import javax.xml.bind.Marshaller; 33 import javax.xml.bind.Unmarshaller; 34 import javax.xml.bind.annotation.XmlElementWrapper; 35 import javax.xml.namespace.QName ; 36 import javax.xml.stream.XMLStreamException; 37 import javax.xml.stream.XMLStreamReader; 38 import javax.xml.stream.XMLStreamWriter; 39 import java.io.IOException ; 40 import java.util.Iterator ; 41 42 45 public abstract class IterableProperty extends Property { 46 protected Property _componentProperty = null; 47 48 51 52 public Object read(Unmarshaller u, XMLStreamReader in, QName name) 53 throws IOException , XMLStreamException, JAXBException 54 { 55 throw new UnsupportedOperationException (getClass().getName()); 56 } 57 58 public void write(Marshaller m, XMLStreamWriter out, Object obj, QName qname) 59 throws IOException , XMLStreamException, JAXBException 60 { 61 78 } 79 80 protected Property getComponentProperty() 81 { 82 return _componentProperty; 83 } 84 } 85 | Popular Tags |