1
/*******************************************************************************
2
* Copyright (C) 2003, 2004, 2007, 2013, Guillaume Brocker
4
* All rights reserved. This program and the accompanying materials
5
* are made available under the terms of the Eclipse Public License v1.0
6
* which accompanies this distribution, and is available at
7
* http://www.eclipse.org/legal/epl-v10.html
10
* Guillaume Brocker - Initial API and implementation
12
******************************************************************************/
14
package eclox.core.doxyfiles;
18
* Implements the default item that can be contained in a doxyfile.
20
* A chunk is a piece of text extracted from e doxyfile. It can represent comments,
21
* empty lines or whatever.
23
* @author Guillaume Brocker
25
public abstract class Chunk {
28
* the chunk owner (aka the doxyfile)
30
private Doxyfile owner;
33
* Retrieves the chunk owner.
35
* @return the chunk owner
37
public Doxyfile getOwner() {
42
* Updates the chunk owner
44
* @param owner the new owner
46
public void setOwner( Doxyfile owner ) {
51
* Converts the chunk into a string representing its content.
53
* @return a string containing the chunk content
55
public abstract String toString();