Enum SourceContentType
- All Implemented Interfaces:
Serializable
,Comparable<SourceContentType>
- Since:
- 2.0
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTreat input as DTDs (i.e.Treat input as DTDs (i.e.Treat input as Relax NG.Treat input as Relax NG.Treat input as Relax NG with Compact syntax.Treat input as Relax NG with Compact syntax.Treat input as Relax NG with Compact syntax.Treat input as WSDL, and compile schemas inside it.Treat input as WSDL, and compile schemas inside it.Treat input as W3C XML Schema (i.e.Treat input as W3C XML Schema (i.e. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceContentType
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.
-
Enum Constant Details
-
DTD
Treat input as DTDs (i.e. Document Type Definitions). This option is labelled as "experimental,unsupported" in the XJC documentation.
-
dtd
Treat input as DTDs (i.e. Document Type Definitions). This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
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
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).
- See Also:
-
RelaxNG
Treat input as Relax NG. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
relaxng
Treat input as Relax NG. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
RelaxNGCompact
Treat input as Relax NG with Compact syntax. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
relaxng_compact
Treat input as Relax NG with Compact syntax. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
relaxngcompact
Treat input as Relax NG with Compact syntax. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
WSDL
Treat input as WSDL, and compile schemas inside it. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
wsdl
Treat input as WSDL, and compile schemas inside it. This option is labelled as "experimental,unsupported" in the XJC documentation.
- See Also:
-
-
Field Details
-
xjcArgument
-
-
Constructor Details
-
SourceContentType
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getXjcArgument
- Returns:
- The XJC argument flag corresponding to this InputType.
-