public enum SourceContentType extends Enum<SourceContentType>
Enum Constant and Description |
---|
dtd
Treat input as DTDs (i.e.
|
DTD
Treat input as DTDs (i.e.
|
relaxng
Treat input as Relax NG.
|
RelaxNG
Treat input as Relax NG.
|
relaxng_compact
Treat input as Relax
NG with Compact syntax.
|
relaxngcompact
Treat input as Relax
NG with Compact syntax.
|
RelaxNGCompact
Treat input as Relax
NG with Compact syntax.
|
wsdl
Treat input as WSDL, and compile schemas inside it.
|
WSDL
Treat input as WSDL, and compile schemas inside it.
|
xmlschema
Treat input as W3C XML Schema (i.e.
|
XmlSchema
Treat input as W3C XML Schema (i.e.
|
Modifier and Type | Method and Description |
---|---|
String |
getXjcArgument() |
static SourceContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceContentType DTD
Treat input as DTDs (i.e. Document Type Definitions). This option is labelled as "experimental,unsupported" in the XJC documentation.
public static final SourceContentType dtd
Treat input as DTDs (i.e. Document Type Definitions). This option is labelled as "experimental,unsupported" in the XJC documentation.
DTD
public static final SourceContentType XmlSchema
Treat input as W3C XML Schema (i.e. Xml Schema Definitions). This is the standard mode of the XJC (and is recommended by the Codehaus Mojo team as well).
public static final SourceContentType xmlschema
Treat input as W3C XML Schema (i.e. Xml Schema Definitions). This is the standard mode of the XJC (and is recommended by the Codehaus Mojo team as well).
XmlSchema
public static final SourceContentType RelaxNG
Treat input as Relax NG. This option is labelled as "experimental,unsupported" in the XJC documentation.
public static final SourceContentType relaxng
Treat input as Relax NG. This option is labelled as "experimental,unsupported" in the XJC documentation.
RelaxNG
public static final SourceContentType RelaxNGCompact
Treat input as Relax NG with Compact syntax. This option is labelled as "experimental,unsupported" in the XJC documentation.
public static final SourceContentType relaxng_compact
Treat input as Relax NG with Compact syntax. This option is labelled as "experimental,unsupported" in the XJC documentation.
RelaxNGCompact
public static final SourceContentType relaxngcompact
Treat input as Relax NG with Compact syntax. This option is labelled as "experimental,unsupported" in the XJC documentation.
RelaxNGCompact
public static final SourceContentType WSDL
Treat input as WSDL, and compile schemas inside it. This option is labelled as "experimental,unsupported" in the XJC documentation.
public static final SourceContentType wsdl
Treat input as WSDL, and compile schemas inside it. This option is labelled as "experimental,unsupported" in the XJC documentation.
WSDL
public static SourceContentType[] values()
for (SourceContentType c : SourceContentType.values()) System.out.println(c);
public static SourceContentType 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 getXjcArgument()
Copyright © 2005–2015 MojoHaus. All rights reserved.