public static enum SchemaBuilder.SchemaLanguage extends Enum<SchemaBuilder.SchemaLanguage>
Enum Constant and Description |
---|
RELAX
OASIS RELAX NG Schema.
|
XML
W3 XML Schema.
|
Modifier and Type | Field and Description |
---|---|
private String |
schemaFactoryURI
Constant for use with
SchemaFactory.newInstance(String) . |
Modifier and Type | Method and Description |
---|---|
SchemaFactory |
getSchemaFactory()
Get a
SchemaFactory instance for a schema language. |
static SchemaBuilder.SchemaLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaBuilder.SchemaLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaBuilder.SchemaLanguage XML
public static final SchemaBuilder.SchemaLanguage RELAX
@Nonnull private String schemaFactoryURI
SchemaFactory.newInstance(String)
.public static SchemaBuilder.SchemaLanguage[] values()
for (SchemaBuilder.SchemaLanguage c : SchemaBuilder.SchemaLanguage.values()) System.out.println(c);
public static SchemaBuilder.SchemaLanguage 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 null@Nonnull public SchemaFactory getSchemaFactory()
SchemaFactory
instance for a schema language.Copyright © 1999–2018. All rights reserved.