View Javadoc

1   /*
2    * Copyright (c) 2007 Creative Sphere Limited.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the Eclipse Public License v1.0
5    * which accompanies this distribution, and is available at
6    * http://www.eclipse.org/legal/epl-v10.html
7    *
8    * Contributors:
9    *
10   *   Creative Sphere - initial API and implementation
11   *
12   */
13  package org.abstracthorizon.extend.repository.maven.pom;
14  
15  public class Exclusion extends Artifact {
16  
17      public Exclusion() {
18      }
19      
20      public String toString(int indent) {
21          StringBuffer res = new StringBuffer();
22          ToStringHelper.openTag("exclusion", res, indent);
23          res.append(super.toString(indent + 2));
24          ToStringHelper.closeTag("exclusion", res, indent);
25          return res.toString();
26      }
27      
28      public String toString() {
29          return toString(0);
30      }
31  }