Search this API

y.io.graphml.input
Class ParsePrecedence

java.lang.Object
  extended by y.io.graphml.input.ParsePrecedence
All Implemented Interfaces:
java.lang.Comparable

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

This enumeration defines the valid priorities for InputHandler processing.

See Also:
InputHandler.getPrecedence()
 

Field Summary
static ParsePrecedence AFTER_CHILDREN
          The data is parsed after any non-data child content, but before parsing the owner GraphML element is finished.
static ParsePrecedence AFTER_OWNER
          The data is parsed directly after parsing the owner GraphML element is finished.
static ParsePrecedence BEFORE_CHILDREN
          The data is parsed after its owner GraphML element, but before any non-data child content.
static ParsePrecedence BEFORE_OWNER
          The data is parsed before its owner GraphML element.
static ParsePrecedence DEFAULT
          Default parse priority.
static ParsePrecedence FIRST
          The data is parsed as early as possible.
static ParsePrecedence LAST
          The data is parsed as late as possible.
 
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 ParsePrecedence 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

FIRST

public static final ParsePrecedence FIRST
The data is parsed as early as possible.


BEFORE_OWNER

public static final ParsePrecedence BEFORE_OWNER
The data is parsed before its owner GraphML element.


BEFORE_CHILDREN

public static final ParsePrecedence BEFORE_CHILDREN
The data is parsed after its owner GraphML element, but before any non-data child content.


DEFAULT

public static final ParsePrecedence DEFAULT
Default parse priority.


AFTER_CHILDREN

public static final ParsePrecedence AFTER_CHILDREN
The data is parsed after any non-data child content, but before parsing the owner GraphML element is finished.


AFTER_OWNER

public static final ParsePrecedence AFTER_OWNER
The data is parsed directly after parsing the owner GraphML element is finished.


LAST

public static final ParsePrecedence LAST
The data is parsed as late as possible.

Method Detail

toString

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

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

compareTo

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

valueOf

public static ParsePrecedence 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.