de.fu_berlin.ties.xml
Class TagVariety

java.lang.Object
  extended by de.fu_berlin.ties.xml.TagVariety

public final class TagVariety
extends Object

Type-safe enumeration of the three variaties of tags employed for XML adjustment.

Version:
$Revision: 1.4 $, $Date: 2006/10/21 16:04:29 $, $Author: siefkes $
Author:
Christian Siefkes

Field Summary
static TagVariety CONTINUATION
          Constant for start tags that were created when splitting a tag.
static TagVariety REGULAR
          Constant for the most common tag variety, marking all tags that pre-existed in the input data.
static TagVariety TENTATIVE
          Constant for tentative start tags that were created when an end tag is followed by another end tag of the same type without a start tag of this type between them.
 
Method Summary
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REGULAR

public static final TagVariety REGULAR
Constant for the most common tag variety, marking all tags that pre-existed in the input data.


CONTINUATION

public static final TagVariety CONTINUATION
Constant for start tags that were created when splitting a tag. Tags of this variety that be freely moved within a tag series, but the cannot be moved to the next series (if required, they must be split again).


TENTATIVE

public static final TagVariety TENTATIVE
Constant for tentative start tags that were created when an end tag is followed by another end tag of the same type without a start tag of this type between them. The tentative tag replaces the missing start tag, it can be freely moved between tag series when required.

Method Detail

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object
Returns:
a textual representation


Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.