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 are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
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 MarkupToDitaTask.BreakStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are 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 are 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
NullPointerException - if the argument is null


Copyright © 2011 FuseSource, Corp.. All Rights Reserved.