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.namespace.QName ; 35 import javax.xml.stream.XMLStreamException; 36 import javax.xml.stream.XMLStreamReader; 37 import javax.xml.stream.XMLStreamWriter; 38 import java.io.IOException ; 39 40 43 public class MapProperty extends Property { 44 public Object read(Unmarshaller u, XMLStreamReader in, QName qname) 45 throws IOException , XMLStreamException, JAXBException 46 { 47 throw new UnsupportedOperationException (getClass().getName()); 48 } 49 50 public void write(Marshaller m, XMLStreamWriter out, Object obj, QName qname) 51 throws IOException , XMLStreamException, JAXBException 52 { 53 64 throw new UnsupportedOperationException (getClass().getName()); 65 } 66 67 public void generateSchema(XMLStreamWriter out) 68 throws XMLStreamException 69 { 70 throw new UnsupportedOperationException (); 71 } 72 73 public String getSchemaType() 74 { 75 throw new UnsupportedOperationException (); 76 } 77 78 public boolean isXmlPrimitiveType() 79 { 80 return false; 81 } 82 } 83 84 85 | Popular Tags |