public class SchemaFactory
extends java.lang.Object
public static Schema newSchema(byte[] schema) throws XMLException
XMLException if there is any error with the schema definition.schema - The schema byte arraySchema objectXMLException - if there is any error with the schema.