public TypeAndAnnotation getElementTypeAndAnn(QName qname){ JAXBMapping mapping = jaxbModel.get(qname); if (mapping == null){ return null; } return mapping.getType().getTypeAnn(); }
/** * This method should be called incase of wrapper style operations. This is * equivalent to wrapper style schema component or JAXB Mapping object. * * @param jaxbType JAXBType from which a JAXBStructured type will be created. * @return returns JAXBStructured type */ public static JAXBStructuredType createJAXBStructureType(JAXBType jaxbType) { JAXBStructuredType type = new JAXBStructuredType(jaxbType); type.setName(jaxbType.getName()); type.setJavaType(jaxbType.getJavaType()); return type; }
public JAXBType(QName name, JavaType type, JAXBMapping jaxbMapping, JAXBModel jaxbModel){ super(name, type); this.jaxbMapping = jaxbMapping; this.jaxbModel = jaxbModel; init(); }
public JAXBType(JAXBType jaxbType){ setName(jaxbType.getName()); this.jaxbMapping = jaxbType.getJaxbMapping(); this.jaxbModel = jaxbType.getJaxbModel(); init(); }
public JAXBProperty getProperty() { if(_prop == null && _type != null) { for (JAXBProperty prop: _type.getWrapperChildren()){ if(prop.getElementName().equals(_name)) setProperty(prop); } } return _prop; } public void setProperty(JAXBProperty prop) {
public RpcLitMember(QName name, String javaTypeName, QName schemaTypeName){ setName(name); this.javaTypeName = javaTypeName; this.schemaTypeName = schemaTypeName; }
/** * This method should be called incase of wrapper style operations. This is * equivalent to wrapper style schema component or JAXB Mapping object. * * @param jaxbType JAXBType from which a JAXBStructured type will be created. * @return returns JAXBStructured type */ public static JAXBStructuredType createJAXBStructureType(JAXBType jaxbType) { JAXBStructuredType type = new JAXBStructuredType(jaxbType); type.setName(jaxbType.getName()); type.setJavaType(jaxbType.getJavaType()); return type; }
public JAXBType(JAXBType jaxbType){ setName(jaxbType.getName()); this.jaxbMapping = jaxbType.getJaxbMapping(); this.jaxbModel = jaxbType.getJaxbModel(); init(); }
public TypeAndAnnotation getElementTypeAndAnn(QName qname){ JAXBMapping mapping = jaxbModel.get(qname); if (mapping == null){ return null; } return mapping.getType().getTypeAnn(); }
public JAXBProperty getProperty() { if(_prop == null && _type != null) { for (JAXBProperty prop: _type.getWrapperChildren()){ if(prop.getElementName().equals(_name)) setProperty(prop); } } return _prop; } public void setProperty(JAXBProperty prop) {
/** * This method should be called incase of wrapper style operations. This is * equivalent to wrapper style schema component or JAXB Mapping object. * * @param jaxbType JAXBType from which a JAXBStructured type will be created. * @return returns JAXBStructured type */ public static JAXBStructuredType createJAXBStructureType(JAXBType jaxbType) { JAXBStructuredType type = new JAXBStructuredType(jaxbType); type.setName(jaxbType.getName()); type.setJavaType(jaxbType.getJavaType()); return type; }
public TypeAndAnnotation getElementTypeAndAnn(QName qname){ JAXBMapping mapping = jaxbModel.get(qname); if (mapping == null){ return null; } return mapping.getType().getTypeAnn(); }
public JAXBProperty getProperty() { if(_prop == null && _type != null) { for (JAXBProperty prop: _type.getWrapperChildren()){ if(prop.getElementName().equals(_name)) setProperty(prop); } } return _prop; } public void setProperty(JAXBProperty prop) {
/** * This method should be called incase of wrapper style operations. This is * equivalent to wrapper style schema component or JAXB Mapping object. * * @param jaxbType JAXBType from which a JAXBStructured type will be created. * @return returns JAXBStructured type */ public static JAXBStructuredType createJAXBStructureType(JAXBType jaxbType) { JAXBStructuredType type = new JAXBStructuredType(jaxbType); type.setName(jaxbType.getName()); type.setJavaType(jaxbType.getJavaType()); return type; }
public TypeAndAnnotation getElementTypeAndAnn(QName qname){ JAXBMapping mapping = jaxbModel.get(qname); if (mapping == null){ return null; } return mapping.getType().getTypeAnn(); }
public JAXBProperty getProperty() { if(_prop == null && _type != null) { for (JAXBProperty prop: _type.getWrapperChildren()){ if(prop.getElementName().equals(_name)) setProperty(prop); } } return _prop; } public void setProperty(JAXBProperty prop) {