com.cisco.provisioning.cpe.extensions.services
Interface TemplateParser


public interface TemplateParser

The TemplateParser interface provides dynamic template parsing functionality to RDU extension points.

See Also:
ExtensionServices

Method Summary
 void parseTemplateFile(DOCSISTFTPFile docsisFile, String filename, IPDevice device, OptionDescType optionDescType)
          Parses the named template against device.
 

Method Detail

parseTemplateFile

void parseTemplateFile(DOCSISTFTPFile docsisFile,
                       String filename,
                       IPDevice device,
                       OptionDescType optionDescType)
                       throws InvalidConfigException,
                              InvalidTLVException,
                              IOException,
                              com.cisco.provisioning.cpe.ProvisioningException
Parses the named template against device.

This results in a list of OptionValues placed in the DOCSIS TFTP file.

Parameters:
docsisFile - the TFTPFIle into which is placed the resulting OptionValues.
filename - the name of the template file.
device - the device for which this parse is performed.
optionDescType - the type of file (DOCSIS11, etc.).
Throws:
InvalidConfigException - when adding option values to the DOCSIS Configuration.
InvalidTLVException - when creating option values instances.
IOException
com.cisco.provisioning.cpe.ProvisioningException