• Home
  • Raw
  • Download

Lines Matching refs:null

86         if (str == null) return null;  in parseQName()
91 return new QName(null, str); in parseQName()
98 if (str == null) return qNames; in parseQNames()
228 if (tag == null) continue; in makeSchema()
253 if (defVal != null) { in makeElement()
256 if (substitutionGroup != null) { in makeElement()
261 if (maxOccurs != null) { in makeElement()
262 if (maxOccurs.equals("0")) return null; in makeElement()
266 XsdType type = null; in makeElement()
267 if (typename != null) { in makeElement()
268 type = new XsdType(null, typename); in makeElement()
271 if (tag == null) continue; in makeElement()
287 if (use != null && use.equals("prohibited")) return null; in makeAttribute()
289 XsdType type = null; in makeAttribute()
290 if (typename != null) { in makeAttribute()
291 type = new XsdType(null, typename); in makeAttribute()
294 if (tag == null) continue; in makeAttribute()
317 XsdComplexType type = null; in makeComplexType()
320 if (tag == null) continue; in makeComplexType()
336 return (type != null) ? type : setDeprecated(new XsdComplexContent(name, null, attributes, in makeComplexType()
346 XsdComplexContent content = null; in makeComplexContent()
348 if (tag == null) continue; in makeComplexContent()
351 content = new XsdComplexContent(null, extension.getBase(), in makeComplexContent()
356 if (base.getRef() != null && base.getRef().getNamespaceURI().equals( in makeComplexContent()
359 content = new XsdComplexContent(null, null, restriction.getAttributes(), in makeComplexContent()
363 content = new XsdComplexContent(null, base, null, null); in makeComplexContent()
372 XsdSimpleContent content = null; in makeSimpleContent()
375 if (tag == null) continue; in makeSimpleContent()
378 content = new XsdSimpleContent(null, extension.getBase(), in makeSimpleContent()
382 content = new XsdSimpleContent(null, restriction.getBase(), null); in makeSimpleContent()
392 XsdType type = null; in makeGeneralRestriction()
393 if (base != null) { in makeGeneralRestriction()
394 type = new XsdType(null, base); in makeGeneralRestriction()
399 if (tag == null) continue; in makeGeneralRestriction()
417 if (tag == null) continue; in makeGeneralExtension()
424 return setDeprecated(new XsdGeneralExtension(new XsdType(null, base), attributes, elements), in makeGeneralExtension()
430 XsdSimpleType type = null; in makeSimpleType()
432 if (tag == null) continue; in makeSimpleType()
436 type = new XsdRestriction(name, ((XsdGeneralRestriction) tag).getBase(), null); in makeSimpleType()
450 XsdType itemType = null; in makeSimpleTypeList()
451 if (itemTypeName != null) { in makeSimpleTypeList()
452 itemType = new XsdType(null, itemTypeName); in makeSimpleTypeList()
455 if (tag == null) continue; in makeSimpleTypeList()
460 return setDeprecated(new XsdList(null, itemType), state.deprecated); in makeSimpleTypeList()
466 ref -> new XsdType(null, ref)).collect(Collectors.toList()); in makeSimpleTypeUnion()
469 if (tag == null) continue; in makeSimpleTypeUnion()
475 return setDeprecated(new XsdUnion(null, memberTypes), state.deprecated); in makeSimpleTypeUnion()
482 if (minOccurs != null || maxOccurs != null) { in makeSequence()
489 if (tag == null) continue; in makeSequence()
491 if (maxOccurs != null && (maxOccurs.equals("unbounded") in makeSequence()
506 if (tag == null) continue; in makeChoice()
508 if (maxOccurs != null && (maxOccurs.equals("unbounded") in makeChoice()
523 if (tag == null) continue; in makeAll()
541 XsdType type = null; in makeEnumRestriction()
542 if (base != null) { in makeEnumRestriction()
543 type = new XsdType(null, base); in makeEnumRestriction()
547 if (tag == null) continue; in makeEnumRestriction()
566 if (tag != null) { in setDeprecated()