Mylyn WikiText

org.eclipse.mylyn.wikitext.core.util.anttask
Enum MarkupToDitaTask.BreakStrategy

java.lang.Object
  extended by java.lang.Enum<MarkupToDitaTask.BreakStrategy>
      extended by org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToDitaTask.BreakStrategy
All Implemented Interfaces:
Serializable, Comparable<MarkupToDitaTask.BreakStrategy>
Enclosing class:
MarkupToDitaTask

public static enum MarkupToDitaTask.BreakStrategy
extends Enum<MarkupToDitaTask.BreakStrategy>


Enum Constant Summary
FIRST
          break on the first level heading found in the document
LEVEL1
          break on level-1 headings
NONE
          do not break: all output is one topic
 
Method Summary
static MarkupToDitaTask.BreakStrategy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MarkupToDitaTask.BreakStrategy[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final MarkupToDitaTask.BreakStrategy NONE
do not break: all output is one topic


LEVEL1

public static final MarkupToDitaTask.BreakStrategy LEVEL1
break on level-1 headings


FIRST

public static final MarkupToDitaTask.BreakStrategy FIRST
break on the first level heading found in the document

Method Detail

values

public static final MarkupToDitaTask.BreakStrategy[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MarkupToDitaTask.BreakStrategy c : MarkupToDitaTask.BreakStrategy.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MarkupToDitaTask.BreakStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

Mylyn WikiText

Copyright © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html