content-parser/impl-text/src/main/java/net/sf/mmm/content/parser/impl/text/AbstractContentParserText.java
/**
   * This method checks if the property identified by <code>propertyName</code>
   * already exists. If NOT, it tries to extract it using the given
   * <code>pattern</code> that produces the property in the given
   * <code>{@link Matcher#group(int) group}</code>.
   * 
   * @param context are the properties with the collected metadata.
   * @param line is a single line read from the text.
   * @param pattern is the regular expression pattern.
   * @param propertyName is the name of the property to extract.
   * @param group is the {@link Matcher#group(int) group} number of the property
   *        in the <code>pattern</code>.
   */
This method checks if the property identified by propertyName
already exists. If NOT, it tries to extract it using the given
pattern that produces the property in the given
Matcher#group(int) group.

@param context are the properties with the collected metadata.
@param line is a single line read from the text.
@param pattern is the regular expression pattern.
@param propertyName is the name of the property to extract.
@param group is the  Matcher#group(int) group number of the property
in the pattern.
This method checks if the property identified by propertyName already exists . If NOT it tries to extract it using the given pattern that produces the property in the given Matcher#group ( int ) group . @param context are the properties with the collected metadata . @param line is a single line read from the text . @param pattern is the regular expression pattern . @param propertyName is the name of the property to extract . @param group is the Matcher#group ( int ) group number of the property in the pattern .
protected void parseProperty(MutableGenericContext context, String line, Pattern pattern,
      String propertyName, int group) {
    String value = context.getVariable(propertyName, String.class);
    if (value == null) {
      value = parseProperty(line, pattern, group);
      if (value != null) {
        StringBuilder buffer = new StringBuilder(value.length());
        this.xmlUtil.extractPlainText(value, buffer, null);
        context.setVariable(propertyName, buffer.toString());
      }
    }
  }
protected void parseProperty ( MutableGenericContext context , String line , Pattern pattern , String propertyName , int group ) { String value = context . getVariable ( propertyName , String . class ) ; if ( value == null ) { value = parseProperty ( line , pattern , group ) ; if ( value != null ) { StringBuilder buffer = new StringBuilder ( value . length ( ) ) ; this . xmlUtil . extractPlainText ( value , buffer , null ) ; context . setVariable ( propertyName , buffer . toString ( ) ) ; } } }
This method checks if the property identified by <code>propertyName</code>
 already exists.
This method checks if the property identified by <code > propertyName< / code > already exists .