jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/model/core/RegistryInfo.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
32 /** |
32 /** |
33 * Represents the information in a class with {@link XmlRegistry} annotaion. |
33 * Represents the information in a class with {@link XmlRegistry} annotaion. |
34 * |
34 * |
35 * <p> |
35 * <p> |
36 * This interface is only meant to be used as a return type from |
36 * This interface is only meant to be used as a return type from |
37 * {@link com.sun.xml.internal.bind.v2.model.impl.ModelBuilder}. |
37 * {@link com.sun.xml.internal.bind.v2.model.impl.ModelBuilderI}. |
38 * |
38 * |
39 * @author Kohsuke Kawaguchi |
39 * @author Kohsuke Kawaguchi |
|
40 * @param <T> |
|
41 * @param <C> |
40 */ |
42 */ |
41 public interface RegistryInfo<T,C> { |
43 public interface RegistryInfo<T,C> { |
42 /** |
44 /** |
43 * Returns all the references to other types in this registry. |
45 * Returns all the references to other types in this registry. |
|
46 * @return |
44 */ |
47 */ |
45 Set<TypeInfo<T,C>> getReferences(); |
48 Set<TypeInfo<T,C>> getReferences(); |
46 |
49 |
47 /** |
50 /** |
48 * Returns the class with {@link XmlRegistry}. |
51 * Returns the class with {@link XmlRegistry}. |
|
52 * @return |
49 */ |
53 */ |
50 C getClazz(); |
54 C getClazz(); |
51 } |
55 } |