private void parseStramPropertyTokens(String[] keys,int index,String propertyName,String propertyValue,Conf conf){
  if (index < keys.length) {
    String key=keys[index];
    StramElement element=getElement(key,conf);
    if ((element == null) && conf.ignoreUnknownChildren()) {
      return;
    }
    if ((element == StramElement.APPLICATION) || (element == StramElement.OPERATOR) || (element == StramElement.STREAM)|| (element == StramElement.PORT)|| (element == StramElement.INPUT_PORT)|| (element == StramElement.OUTPUT_PORT)|| (element == StramElement.TEMPLATE)) {
      parseAppElement(index,keys,element,conf,propertyName,propertyValue);
    }
 else     if (element == StramElement.GATEWAY) {
      parseGatewayElement(element,conf,keys,index,propertyName,propertyValue);
    }
 else     if ((element == StramElement.UNIFIER)) {
      parseUnifierElement(element,conf,keys,index,propertyName,propertyValue);
    }
 else     if ((element == StramElement.ATTR) || ((element == null) && (conf.getDefaultChildElement() == StramElement.ATTR))) {
      parseAttributeElement(element,keys,index,conf,propertyValue,propertyName);
    }
 else     if ((element == StramElement.PROP) || ((element == null) && (conf.getDefaultChildElement() == StramElement.PROP))) {
      parsePropertyElement(element,keys,index,conf,propertyValue,propertyName);
    }
 else     if (element != null) {
      conf.parseElement(element,keys,index,propertyValue);
    }
  }
}

private void parseStramPropertyTokens ( String [ ] keys , int index , String propertyName , String propertyValue , Conf conf ) { if ( index < keys . length ) { String key = keys [ index ] ; StramElement element = getElement ( key , conf ) ; if ( ( element == null ) && conf . ignoreUnknownChildren ( ) ) { return ; } if ( ( element == StramElement . APPLICATION ) || ( element == StramElement . OPERATOR ) || ( element == StramElement . STREAM ) || ( element == StramElement . PORT ) || ( element == StramElement . INPUT_PORT ) || ( element == StramElement . OUTPUT_PORT ) || ( element == StramElement . TEMPLATE ) ) { parseAppElement ( index , keys , element , conf , propertyName , propertyValue ) ; } else if ( element == StramElement . GATEWAY ) { parseGatewayElement ( element , conf , keys , index , propertyName , propertyValue ) ; } else if ( ( element == StramElement . UNIFIER ) ) { parseUnifierElement ( element , conf , keys , index , propertyName , propertyValue ) ; } else if ( ( element == StramElement . ATTR ) || ( ( element == null ) && ( conf . getDefaultChildElement ( ) == StramElement . ATTR ) ) ) { parseAttributeElement ( element , keys , index , conf , propertyValue , propertyName ) ; } else if ( ( element == StramElement . PROP ) || ( ( element == null ) && ( conf . getDefaultChildElement ( ) == StramElement . PROP ) ) ) { parsePropertyElement ( element , keys , index , conf , propertyValue , propertyName ) ; } else if ( element != null ) { conf . parseElement ( element , keys , index , propertyValue ) ; } } }
this method is used to parse an apex property name .
