Package com.google.protobuf
Class ManifestSchemaFactory.CompositeMessageInfoFactory
- java.lang.Object
-
- com.google.protobuf.ManifestSchemaFactory.CompositeMessageInfoFactory
-
- All Implemented Interfaces:
MessageInfoFactory
- Enclosing class:
- ManifestSchemaFactory
private static class ManifestSchemaFactory.CompositeMessageInfoFactory extends java.lang.Object implements MessageInfoFactory
-
-
Field Summary
Fields Modifier and Type Field Description private MessageInfoFactory[]
factories
-
Constructor Summary
Constructors Constructor Description CompositeMessageInfoFactory(MessageInfoFactory... factories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSupported(java.lang.Class<?> clazz)
Whether the message class is supported by this factory.MessageInfo
messageInfoFor(java.lang.Class<?> clazz)
Returns a information of the message class.
-
-
-
Field Detail
-
factories
private MessageInfoFactory[] factories
-
-
Constructor Detail
-
CompositeMessageInfoFactory
CompositeMessageInfoFactory(MessageInfoFactory... factories)
-
-
Method Detail
-
isSupported
public boolean isSupported(java.lang.Class<?> clazz)
Description copied from interface:MessageInfoFactory
Whether the message class is supported by this factory.- Specified by:
isSupported
in interfaceMessageInfoFactory
-
messageInfoFor
public MessageInfo messageInfoFor(java.lang.Class<?> clazz)
Description copied from interface:MessageInfoFactory
Returns a information of the message class.- Specified by:
messageInfoFor
in interfaceMessageInfoFactory
-
-