public static enum ParseConfiguration.PrologPresence extends Enum<ParseConfiguration.PrologPresence>
Enumeration used for determining whether an element in the document prolog (DOCTYPE, XML Declaration) or the prolog itself should be allowed, required or even forbidden.
This enumeration is used at the ParseConfiguration
class.
Modifier and Type | Method | Description |
---|---|---|
boolean |
isAllowed() |
|
boolean |
isForbidden() |
|
boolean |
isRequired() |
|
static ParseConfiguration.PrologPresence |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ParseConfiguration.PrologPresence[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseConfiguration.PrologPresence REQUIRED
public static final ParseConfiguration.PrologPresence ALLOWED
public static final ParseConfiguration.PrologPresence FORBIDDEN
public static ParseConfiguration.PrologPresence[] values()
for (ParseConfiguration.PrologPresence c : ParseConfiguration.PrologPresence.values()) System.out.println(c);
public static ParseConfiguration.PrologPresence 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 boolean isRequired()
public boolean isAllowed()
public boolean isForbidden()
Copyright © 2018 The ATTOPARSER team. All rights reserved.