public class ProducerDescriptor extends Object
We can't create a Producer object directly when we parse the data stream because the file format allows for cross references between producers.
Constructor and Description |
---|
ProducerDescriptor(String name,
String description,
String uriString,
int identifier,
EventTypeDescriptor[] eventTypeDescriptors,
ContentTypeDescriptor[] contentTypes) |
Modifier and Type | Method and Description |
---|---|
ContentTypeDescriptor[] |
getContentTypes() |
String |
getDescription() |
EventTypeDescriptor[] |
getEventTypeDescriptors() |
int |
getIdentifier() |
String |
getName() |
String |
getURIString() |
public ProducerDescriptor(String name, String description, String uriString, int identifier, EventTypeDescriptor[] eventTypeDescriptors, ContentTypeDescriptor[] contentTypes)
public String getName()
public String getDescription()
public String getURIString()
public int getIdentifier()
public EventTypeDescriptor[] getEventTypeDescriptors()
public ContentTypeDescriptor[] getContentTypes()
Copyright © 2020. All rights reserved.