Uses of Class
javax.xml.validation.Schema
-
Packages that use Schema Package Description javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of thejavax.xml.bindinterfaces.javax.xml.parsers Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.javax.xml.validation Provides an API for validation of XML documents. -
-
Uses of Schema in javax.xml.bind
Methods in javax.xml.bind that return Schema Modifier and Type Method Description abstract SchemaBinder. getSchema()Gets the lastSchemaobject (including null) set by theBinder.setSchema(Schema)method.SchemaMarshaller. getSchema()Get the JAXP 1.3Schemaobject being used to perform marshal-time validation.SchemaUnmarshaller. getSchema()Get the JAXP 1.3Schemaobject being used to perform unmarshal-time validation.Methods in javax.xml.bind with parameters of type Schema Modifier and Type Method Description abstract voidBinder. setSchema(Schema schema)Specifies whether marshal, unmarshal and update methods performs validation on their XML content.voidMarshaller. setSchema(Schema schema)Specify the JAXP 1.3Schemaobject that should be used to validate subsequent marshal operations against.voidUnmarshaller. setSchema(Schema schema)Specify the JAXP 1.3Schemaobject that should be used to validate subsequent unmarshal operations against. -
Uses of Schema in javax.xml.bind.helpers
Methods in javax.xml.bind.helpers that return Schema Modifier and Type Method Description SchemaAbstractMarshallerImpl. getSchema()SchemaAbstractUnmarshallerImpl. getSchema()Methods in javax.xml.bind.helpers with parameters of type Schema Modifier and Type Method Description voidAbstractMarshallerImpl. setSchema(Schema schema)voidAbstractUnmarshallerImpl. setSchema(Schema schema) -
Uses of Schema in javax.xml.parsers
Methods in javax.xml.parsers that return Schema Modifier and Type Method Description SchemaDocumentBuilder. getSchema()Get a reference to the theSchemabeing used by the XML processor.SchemaDocumentBuilderFactory. getSchema()Gets theSchemaobject specified through theDocumentBuilderFactory.setSchema(Schema schema)method.SchemaSAXParser. getSchema()Get a reference to the theSchemabeing used by the XML processor.SchemaSAXParserFactory. getSchema()Gets theSchemaobject specified through theSAXParserFactory.setSchema(Schema schema)method.Methods in javax.xml.parsers with parameters of type Schema Modifier and Type Method Description voidDocumentBuilderFactory. setSchema(Schema schema)Set theSchemato be used by parsers created from this factory.voidSAXParserFactory. setSchema(Schema schema)Set theSchemato be used by parsers created from this factory. -
Uses of Schema in javax.xml.validation
Methods in javax.xml.validation that return Schema Modifier and Type Method Description abstract SchemaSchemaFactory. newSchema()Creates a specialSchemaobject.SchemaSchemaFactory. newSchema(File schema)Parses the specifiedFileas a schema and returns it as aSchema.SchemaSchemaFactory. newSchema(URL schema)Parses the specifiedURLas a schema and returns it as aSchema.SchemaSchemaFactory. newSchema(Source schema)Parses the specified source as a schema and returns it as a schema.abstract SchemaSchemaFactory. newSchema(Source[] schemas)Parses the specified source(s) as a schema and returns it as a schema.
-