com.foxsmart.csu.config.global.classmap
Class MatchInfo

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.global.classmap.MatchInfo
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MatchInfoAccessGroupName, MatchInfoAccessGroupNumber, MatchInfoInputInterface, MatchInfoMpls, MatchInfoProtocol

public abstract class MatchInfo
extends CiscoRouterConfigParser
implements java.io.Serializable

The MatchInfo class represents the class map match information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
MatchInfo()
          Constructs a match information object.
 
Method Summary
abstract  java.lang.String generateIos()
          Generates the IOS string associated with this part of the router configuration.
abstract  void validate()
          Validates this component.
 
Methods inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
checkExists, checkLineComplete, checkNotEmpty, checkRange, checkTokenCount, checkTokenCount, checkTokenMatch, checkTokenMatch, decrementTokenIndex, generateCommands, getBigDecimalNumberFromString, getDoubleNumberFromString, getEnum, getHexadecimalNumberFromString, getIntegerNumberFromString, getIpAddressFromString, getLine, getLongNumberFromString, getMacAddressFromString, getNextOptionalToken, getNextToken, getToken, getTokenIndex, getTokens, getTotalIndentedLines, getTotalLines, incrementTokenIndex, invalidConfiguration, invalidTokenFound, isEmpty, moreIndentedLines, moreLines, moreTokens, removeLines, resetTokenIndex, setTokenIndex, tokensLeft
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchInfo

public MatchInfo()
Constructs a match information object.

Method Detail

validate

public abstract void validate()
                       throws InvalidConfigurationException
Validates this component.

Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateIos

public abstract java.lang.String generateIos()
                                      throws InvalidConfigurationException
Generates the IOS string associated with this part of the router configuration.

Returns:
the generated IOS.
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.