com.xpn.xwiki.content.parsers
Class ReplacementResultCollection

java.lang.Object
  extended by com.xpn.xwiki.content.parsers.ParsingResultCollection
      extended by com.xpn.xwiki.content.parsers.ReplacementResultCollection

public class ReplacementResultCollection
extends ParsingResultCollection

Provides accessors to find all elements that have been replaced successfully when parsing and replacing content. Also returns the modified content after the replacements have been done.

Version:
$Id: 3f726577a2ed375801443d34f3d6a8e57b2d751f $

Constructor Summary
ReplacementResultCollection()
           
 
Method Summary
 Object getModifiedContent()
           
 List<Object> getReplacedElements()
           
 void setModifiedContent(Object modifiedContent)
           
 
Methods inherited from class com.xpn.xwiki.content.parsers.ParsingResultCollection
getInvalidElementIds, getValidElements, hasInvalidElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplacementResultCollection

public ReplacementResultCollection()
Method Detail

getReplacedElements

public List<Object> getReplacedElements()
Returns:
the replaced elements. For example Link objects.

setModifiedContent

public void setModifiedContent(Object modifiedContent)
Parameters:
modifiedContent - see getModifiedContent()

getModifiedContent

public Object getModifiedContent()
Returns:
the modified content after the replacements have been done


Copyright © 2004-2013 XWiki. All Rights Reserved.