Package com.peterphi.std.util.jaxb
Class MultiXSDGenerator
java.lang.Object
com.peterphi.std.util.jaxb.MultiXSDGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(JAXBSerialiser serialiser) generateAndSerialise(JAXBSerialiser serialiser) Generate a schema and then serialise it to a String.withLoosenXmlAnyConstraints(boolean value)
-
Constructor Details
-
MultiXSDGenerator
public MultiXSDGenerator()
-
-
Method Details
-
withLoosenXmlAnyConstraints
-
generate
- Throws:
IOException
-
generateAndSerialise
Generate a schema and then serialise it to a String. Emits a simple XSD if there was only one XSD required, otherwise emits a serialisedMultiXSDSchemaFilesinstance.- Parameters:
serialiser-- Returns:
- Throws:
IOException
-