SMILA (incubation) API documentation

org.eclipse.smila.utils.xml.stax
Class MarkerTag

java.lang.Object
  extended by org.eclipse.smila.utils.xml.stax.MarkerTag

public class MarkerTag
extends java.lang.Object

Utility class for a tag that marks a snippet boundary.


Constructor Summary
MarkerTag(java.lang.String name, boolean isEndTag)
          Conversion Constructor.
 
Method Summary
 java.lang.String getName()
          Get the tag name.
 boolean isEndTag()
          Returns if the MarkerTag is a end tag (true) or not (false).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkerTag

public MarkerTag(java.lang.String name,
                 boolean isEndTag)
Conversion Constructor. Creates a MarkerTag with the given name and isEndtag flag.

Parameters:
name - the name of the tag
isEndTag - boolean flag if the tag is a start tag (false) or a end tag (true).
Method Detail

getName

public java.lang.String getName()
Get the tag name.

Returns:
the tag name

isEndTag

public boolean isEndTag()
Returns if the MarkerTag is a end tag (true) or not (false).

Returns:
if the MarkerTag is a end tag (true) or not (false)

SMILA (incubation) API documentation