| Constructor and Description |
|---|
SdpParserPipeline() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeParser(String type,
SdpParser<? extends AttributeField> parser)
Adds an attribute parser to the pipeline.
|
void |
addFieldParser(char type,
SdpParser<? extends SdpField> parser)
Adds a parser to the pipeline.
|
SdpParser<? extends AttributeField> |
getAttributeParser(String type)
Gets the attribute parser capable of parsing an attribute field of a certain type.
|
SdpParser<? extends SdpField> |
getFieldParser(char type)
Gets the field parser capable of parsing a field of a certain type.
|
void |
removeAllAttributeParsers()
Removes all registered attribute parsers from the pipeline.
|
void |
removeAllFieldParsers()
Removes all registered parsers from the pipeline.
|
void |
removeAttributeParser(String type)
Removes an existing attribute parser from the pipeline.
|
void |
removeFieldParser(char type)
Removes an existing parser from the pipeline.
|
public void addFieldParser(char type,
SdpParser<? extends SdpField> parser)
parser - The parser to be registeredpublic void removeFieldParser(char type)
parser - The parser to be removed from the pipelinepublic void removeAllFieldParsers()
public SdpParser<? extends SdpField> getFieldParser(char type)
type - the type of field to be parsedpublic void addAttributeParser(String type, SdpParser<? extends AttributeField> parser)
parser - The parser to be registeredpublic void removeAttributeParser(String type)
parser - The parser to be removed from the pipelinepublic void removeAllAttributeParsers()
public SdpParser<? extends AttributeField> getAttributeParser(String type)
type - the type of attribute to be parsedCopyright © 2017 TeleStax, Inc.. All Rights Reserved.