public abstract class ProprietaryFactory extends Object
| Constructor and Description |
|---|
ProprietaryFactory(String prefix)
Instantiates a new Proprietary factory.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<ProprietaryFactory> |
getAllFactories()
Gets all factories.
|
String |
getPrefix()
Gets prefix.
|
abstract IProprietaryTag |
getTag(SentenceLine sl)
Return the tag for line, if matches, otherwise null is returned
|
static boolean |
isProprietaryTag(String line)
Is proprietary tag boolean.
|
static ProprietaryFactory |
match(String line)
Match proprietary factory.
|
static IProprietaryTag |
parseTag(SentenceLine sl)
Parse tag proprietary tag.
|
public ProprietaryFactory(String prefix)
prefix - the prefixpublic String getPrefix()
public abstract IProprietaryTag getTag(SentenceLine sl)
sl - the slpublic static Collection<ProprietaryFactory> getAllFactories()
public static IProprietaryTag parseTag(SentenceLine sl)
sl - the slpublic static boolean isProprietaryTag(String line)
line - the linepublic static ProprietaryFactory match(String line)
line - the lineCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.