1 5 6 package javax.xml.bind; 7 import javax.xml.namespace.QName ; 8 9 26 public abstract class JAXBIntrospector { 27 28 40 public abstract boolean isElement(Object object); 41 42 50 public abstract QName getElementName(Object jaxbElement); 51 52 63 public static Object getValue(Object jaxbElement) { 64 if (jaxbElement instanceof JAXBElement) { 65 return ((JAXBElement)jaxbElement).getValue(); 66 } else { 67 return jaxbElement; 70 } 71 } 72 } 73 | Popular Tags |