@Test(expected = IllegalArgumentException.class) public void testValidNameFromSimpleTypeRestriction() throws Exception { defaultPlugin.nameFromSimpleTypeRestriction(null, name); }
@Override public final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base) { if (simpleType == null) { throw new IllegalArgumentException("simpleType"); } if (base == null) { throw new IllegalArgumentException("base"); } return nameFromSchemaTypeName(simpleType).concat(" restricts ").concat(nameFromSchemaTypeName(base)); }
Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base) { if (simpleType == null) { throw new IllegalArgumentException("simpleType"); } if (base == null) { throw new IllegalArgumentException("base"); } return nameFromSchemaTypeName(simpleType).concat(" restricts ").concat(nameFromSchemaTypeName(base)); } }
Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base) { if (simpleType == null) { throw new IllegalArgumentException("simpleType"); } if (base == null) { throw new IllegalArgumentException("base"); } return nameFromSchemaTypeName(simpleType).concat(" restricts ").concat(nameFromSchemaTypeName(base)); }  }
Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base) { if (simpleType == null) { throw new IllegalArgumentException("simpleType"); } if (base == null) { throw new IllegalArgumentException("base"); } return nameFromSchemaTypeName(simpleType).concat(" restricts ").concat(nameFromSchemaTypeName(base)); }  @Override final String nameFromComplexTypeExtension(final QName complexType, final QName base); @Override String nameFromSchemaAttributeName(final QName name); @Override String nameFromSchemaElementName(final QName name); @Override String nameFromSchemaTypeName(final QName name); @Override final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base); }
Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base) { if (simpleType == null) { throw new IllegalArgumentException("simpleType"); } if (base == null) { throw new IllegalArgumentException("base"); } return nameFromSchemaTypeName(simpleType).concat(" restricts ").concat(nameFromSchemaTypeName(base)); }  @Override final String nameFromComplexTypeExtension(final QName complexType, final QName base); @Override String nameFromSchemaAttributeName(final QName name); @Override String nameFromSchemaElementName(final QName name); @Override String nameFromSchemaTypeName(final QName name); @Override final String nameFromSimpleTypeRestriction(final QName simpleType, final QName base);  }