@Test public void testGetSchemaOfImplementationClass () { assertNull (UBL23DocumentTypes.getDocumentTypeOfImplementationClass (null)); assertNull (UBL23DocumentTypes.getSchemaOfImplementationClass (null)); assertNull (UBL23DocumentTypes.getSchemaOfImplementationClass (String.class)); for (final EUBL23DocumentType eDocType : EUBL23DocumentType.values ()) { assertSame (eDocType, UBL23DocumentTypes.getDocumentTypeOfImplementationClass (eDocType.getImplementationClass ())); assertSame (eDocType.getSchema (), UBL23DocumentTypes.getSchemaOfImplementationClass (eDocType.getImplementationClass ())); assertNotNull (eDocType.getValidator ()); } }
@Nullable public static Schema getSchemaOfImplementationClass (@Nullable final Class <?> aImplClass) { final EUBL23DocumentType eDocType = getDocumentTypeOfImplementationClass (aImplClass); return eDocType == null ? null : eDocType.getSchema (); }
UBL23DocumentTypes { @Nullable public static Schema getSchemaOfImplementationClass (@Nullable final Class <?> aImplClass) { final EUBL23DocumentType eDocType = getDocumentTypeOfImplementationClass (aImplClass); return eDocType == null ? null : eDocType.getSchema (); } }
UBL23DocumentTypes { @Nullable public static Schema getSchemaOfImplementationClass (@Nullable final Class <?> aImplClass) { final EUBL23DocumentType eDocType = getDocumentTypeOfImplementationClass (aImplClass); return eDocType == null ? null : eDocType.getSchema (); } private  UBL23DocumentTypes(); }
UBL23DocumentTypes { @Nullable public static Schema getSchemaOfImplementationClass (@Nullable final Class <?> aImplClass) { final EUBL23DocumentType eDocType = getDocumentTypeOfImplementationClass (aImplClass); return eDocType == null ? null : eDocType.getSchema (); } private  UBL23DocumentTypes(); @Nonnull @ReturnsMutableCopy static ICommonsSet <String> getAllNamespaces(); @Nullable static EUBL23DocumentType getDocumentTypeOfNamespace(@Nullable final String sNamespace); @Nullable static Class <?> getImplementationClassOfNamespace(@Nullable final String sNamespace); @Nullable static EUBL23DocumentType getDocumentTypeOfImplementationClass(@Nullable final Class <?> aImplClass); @Nullable static Schema getSchemaOfNamespace(@Nullable final String sNamespace); @Nonnull @ReturnsMutableCopy static ICommonsSet <String> getAllLocalNames(); @Nullable static EUBL23DocumentType getDocumentTypeOfLocalName(@Nullable final String sLocalName); @Nullable static Class <?> getImplementationClassOfLocalName(@Nullable final String sLocalName); @Nullable static Schema getSchemaOfLocalName(@Nullable final String sLocalName); @Nullable static Schema getSchemaOfImplementationClass(@Nullable final Class <?> aImplClass); }
UBL23DocumentTypes { @Nullable public static Schema getSchemaOfImplementationClass (@Nullable final Class <?> aImplClass) { final EUBL23DocumentType eDocType = getDocumentTypeOfImplementationClass (aImplClass); return eDocType == null ? null : eDocType.getSchema (); } private  UBL23DocumentTypes(); @Nonnull @ReturnsMutableCopy static ICommonsSet <String> getAllNamespaces(); @Nullable static EUBL23DocumentType getDocumentTypeOfNamespace(@Nullable final String sNamespace); @Nullable static Class <?> getImplementationClassOfNamespace(@Nullable final String sNamespace); @Nullable static EUBL23DocumentType getDocumentTypeOfImplementationClass(@Nullable final Class <?> aImplClass); @Nullable static Schema getSchemaOfNamespace(@Nullable final String sNamespace); @Nonnull @ReturnsMutableCopy static ICommonsSet <String> getAllLocalNames(); @Nullable static EUBL23DocumentType getDocumentTypeOfLocalName(@Nullable final String sLocalName); @Nullable static Class <?> getImplementationClassOfLocalName(@Nullable final String sLocalName); @Nullable static Schema getSchemaOfLocalName(@Nullable final String sLocalName); @Nullable static Schema getSchemaOfImplementationClass(@Nullable final Class <?> aImplClass);  }