Oxygen XML Editor 14.2 Author API

ro.sync.util.editorvars
Enum EditorVariables.FrameworkRewritePolicy

java.lang.Object
  extended by java.lang.Enum<EditorVariables.FrameworkRewritePolicy>
      extended by ro.sync.util.editorvars.EditorVariables.FrameworkRewritePolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EditorVariables.FrameworkRewritePolicy>
Enclosing class:
EditorVariables

public static enum EditorVariables.FrameworkRewritePolicy
extends java.lang.Enum<EditorVariables.FrameworkRewritePolicy>

Used to determine how framework variables should be expanded/rewritten.


Enum Constant Summary
REWRITE_ABSOLUTE
          All framework variables will be expanded to their absolute paths.
REWRITE_WITH_FRAMEWORK
          Variables FRAMEWORK_DIRECTORY and FRAMEWORK_URL will not be expanded and will be used to rewrite FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL if they match.
REWRITE_WITH_FRAMEWORKS
          Variables FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL will not be expanded and will be used to rewrite FRAMEWORK_DIRECTORY and FRAMEWORK_URL if encountered and if they match.
 
Method Summary
static EditorVariables.FrameworkRewritePolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EditorVariables.FrameworkRewritePolicy[] 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

REWRITE_ABSOLUTE

public static final EditorVariables.FrameworkRewritePolicy REWRITE_ABSOLUTE
All framework variables will be expanded to their absolute paths.


REWRITE_WITH_FRAMEWORKS

public static final EditorVariables.FrameworkRewritePolicy REWRITE_WITH_FRAMEWORKS
Variables FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL will not be expanded and will be used to rewrite FRAMEWORK_DIRECTORY and FRAMEWORK_URL if encountered and if they match. If they don't match, FRAMEWORK_DIRECTORY and FRAMEWORK_URL will be expanded to their absolute paths.


REWRITE_WITH_FRAMEWORK

public static final EditorVariables.FrameworkRewritePolicy REWRITE_WITH_FRAMEWORK
Variables FRAMEWORK_DIRECTORY and FRAMEWORK_URL will not be expanded and will be used to rewrite FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL if they match. If they don't match, FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL will be expanded to their absolute path.

Method Detail

values

public static EditorVariables.FrameworkRewritePolicy[] 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 (EditorVariables.FrameworkRewritePolicy c : EditorVariables.FrameworkRewritePolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EditorVariables.FrameworkRewritePolicy valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.