~ubuntu-branches/ubuntu/vivid/doxia/vivid-proposed

« back to all changes in this revision

Viewing changes to doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AnchorBlock.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-10-08 14:20:22 UTC
  • mfrom: (2.3.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091008142022-f6ccxganfr2tbaig
Tags: 1.1-3build1
Upload to karmic, avoiding new version from unstable. LP: #443292.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
import org.apache.maven.doxia.sink.Sink;
23
23
 
24
 
public class AnchorBlock
 
24
/**
 
25
 * @version $Id: AnchorBlock.java 638290 2008-03-18 09:45:22Z bentmann $
 
26
 */
 
27
class AnchorBlock
25
28
    implements Block
26
29
{
27
30
    private  String name;
28
31
 
29
 
    public AnchorBlock(  String name ) throws IllegalArgumentException
 
32
    AnchorBlock(  String name ) throws IllegalArgumentException
30
33
    {
31
34
        if ( name == null )
32
35
        {
35
38
        this.name = name;
36
39
    }
37
40
 
 
41
    /** {@inheritDoc} */
38
42
    public  void traverse(  Sink sink )
39
43
    {
40
44
        sink.anchor( name );