public enum ReplaceMethod extends Enum<ReplaceMethod>
Java class for ReplaceMethod.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReplaceMethod"> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="none"/> <enumeration value="full"/> <enumeration value="token"/> </restriction> </simpleType>
Enum Constant and Description |
---|
FULL
Replacement will only occur if the full contents of the node, stripped of any leading or following whitespace, forms an URI of which the part before any (optional) fragment matches the search string.
|
NONE
No replacement will take place.
|
TOKEN
The node contents will be tokenized.
|
Modifier and Type | Method and Description |
---|---|
static ReplaceMethod |
fromValue(String v) |
String |
value() |
static ReplaceMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplaceMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplaceMethod NONE
public static final ReplaceMethod FULL
public static final ReplaceMethod TOKEN
public static ReplaceMethod[] values()
for (ReplaceMethod c : ReplaceMethod.values()) System.out.println(c);
public static ReplaceMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static ReplaceMethod fromValue(String v)
Copyright © 2018 TextGrid. All rights reserved.