Search this API

y.io.graphml.output
Class WritePrecedence

java.lang.Object
  extended by y.io.graphml.output.WritePrecedence
All Implemented Interfaces:
java.lang.Comparable

public final class WritePrecedence
extends java.lang.Object
implements java.lang.Comparable

Enumeration values to control the order in which OutputHandler instances are used.

These enumeration values control whether the output handler is evaluated before or after any (optional) structural child content of the owner element.

See Also:
OutputHandler.getPrecedence()
 

Field Summary
static WritePrecedence AFTER_CHILDREN
          The data is written after any non-data child content.
static WritePrecedence BEFORE_CHILDREN
          The data is written before any non-data child content.
static WritePrecedence DEFAULT
          Default write priority.
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String name()
          Returns the name of this enumeration constant, exactly as declared the declaration.
 java.lang.String toString()
           
static WritePrecedence valueOf(java.lang.String value)
          Returns the enum constant of the specified enum type with the specified name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE_CHILDREN

public static final WritePrecedence BEFORE_CHILDREN
The data is written before any non-data child content.


DEFAULT

public static final WritePrecedence DEFAULT
Default write priority.


AFTER_CHILDREN

public static final WritePrecedence AFTER_CHILDREN
The data is written after any non-data child content.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

name

public java.lang.String name()
Returns the name of this enumeration constant, exactly as declared the declaration.

Returns:
the name of this enumeration constant

valueOf

public static WritePrecedence valueOf(java.lang.String value)
Returns the enum constant of the specified enum type with the specified name

Returns:
The enum constant of the specified enum type with the specified name
Throws:
{@link - NullPointerException} if value is null.
{@link - IllegalArgumentException} if value does not represent a valid enumeration value.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.