public AttributeSet currentSectionAttributes(){
  MutableAttributeSet attributes=new SimpleAttributeSet(sectionAttributes);
  Style sectionStyle=(Style)parserState.get("sectionStyle");
  if (sectionStyle != null)   attributes.setResolveParent(sectionStyle);
  return attributes;
}

public AttributeSet currentSectionAttributes ( ) { MutableAttributeSet attributes = new SimpleAttributeSet ( sectionAttributes ) ; Style sectionStyle = ( Style ) parserState . get ( "sectionStyle" ) ; if ( sectionStyle != null ) attributes . setResolveParent ( sectionStyle ) ; return attributes ; }
calculates the current section attributes from the current parser state .
