/** * Returns a javaType customization specified to the referer, if present. * @return can be null. */ private BIConversion getRefererCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIProperty prop = info.get(BIProperty.class); if(prop==null) return null; return prop.getConv(); }
/** * Returns a javaType customization specified to the referer, if present. * @return can be null. */ private BIConversion getRefererCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIProperty prop = info.get(BIProperty.class); if(prop==null) return null; return prop.getConv(); }
/** * Returns a javaType customization specified to the referer, if present. * @return can be null. */ private BIConversion getRefererCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIProperty prop = info.get(BIProperty.class); if(prop==null) return null; return prop.getConv(); }
/** * Returns a javaType customization specified to the referer, if present. * @return can be null. */ private BIConversion getRefererCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIProperty prop = info.get(BIProperty.class); if(prop==null) return null; return prop.getConv(); }
/** * Returns a javaType customization specified to the referer, if present. * @return can be null. */ private BIConversion getRefererCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIProperty prop = info.get(BIProperty.class); if(prop==null) return null; return prop.getConv(); }
} else if(typeLocalName.equals("anySimpleType")) { if(getReferer() instanceof XSAttributeDecl || getReferer() instanceof XSSimpleType) return CBuiltinLeafInfo.STRING; else
} else if(typeLocalName.equals("anySimpleType")) { if(getReferer() instanceof XSAttributeDecl || getReferer() instanceof XSSimpleType) return CBuiltinLeafInfo.STRING; else
} else if(typeLocalName.equals("anySimpleType")) { if(getReferer() instanceof XSAttributeDecl || getReferer() instanceof XSSimpleType) return CBuiltinLeafInfo.STRING; else
} else if(typeLocalName.equals("anySimpleType")) { if(getReferer() instanceof XSAttributeDecl || getReferer() instanceof XSSimpleType) return CBuiltinLeafInfo.STRING; else
} else if(typeLocalName.equals("anySimpleType")) { if(getReferer() instanceof XSAttributeDecl || getReferer() instanceof XSSimpleType) return CBuiltinLeafInfo.STRING; else
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
XSComponent referer = getReferer(); String emt = referer.getForeignAttribute(XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES); if(emt!=null) {
XSComponent referer = getReferer(); String emt = referer.getForeignAttribute(XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES); if(emt!=null) {
XSComponent referer = getReferer(); String emt = referer.getForeignAttribute(XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES); if(emt!=null) {
XSComponent referer = getReferer(); String emt = referer.getForeignAttribute(XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES); if(emt!=null) {
XSComponent referer = getReferer(); String emt = referer.getForeignAttribute(XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES); if(emt!=null) {