/libcore/luni/src/main/java/javax/xml/validation/ |
Schema.java | 18 // $Id: Schema.java 446598 2006-09-15 12:55:40Z jeremias $ 30 * A {@link Schema} object is thread safe and applications are 34 * A {@link Schema} object is immutable in the sense that it shouldn't 37 * {@link Schema}, it must always produce the same result. 40 * A {@link Schema} object is usually created from {@link SchemaFactory}. 43 * Two kinds of validators can be created from a {@link Schema} object. 52 * In other words, if you parse the same schema twice, you may 57 * @see <a href="http://www.w3.org/TR/xmlschema-1/">XML Schema Part 1: Structures</a> 62 public abstract class Schema { 70 protected Schema() { [all...] |
SchemaFactory.java | 33 * Factory that creates {@link Schema} objects. Entry-point to 37 * {@link SchemaFactory} is a schema compiler. It reads external 53 * <h2><a name="schemaLanguage"></a>Schema Language</h2> 55 * This spec uses a namespace URI to designate a schema language. 59 * is only required to support W3C XML Schema 1.0. However, 60 * if it chooses to support other schema languages listed here, 64 * Schema languages not listed here are expected to 67 * implementations for other schema languages at run-time. 89 * <td><a href="http://www.w3.org/TR/xmlschema-1">W3C XML Schema 1.0</a></td> 118 * schema language and return it.</p [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilderFactory.java | 22 import javax.xml.validation.Schema; 127 * To use modern schema languages such as W3C XML Schema or 130 * method <tt>false</tt>, then use the {@link #setSchema(Schema)} 131 * method to associate a schema to a parser. 315 * Examples include entity expansion limits and XML Schema constructs that would consume large amounts of resources. 358 * Gets the {@link Schema} object specified through 359 * the {@link #setSchema(Schema schema)} method. 368 * the {@link Schema} object that was last set throug [all...] |
SAXParserFactory.java | 22 import javax.xml.validation.Schema; 141 * To use modern schema languages such as W3C XML Schema or 144 * method <tt>false</tt>, then use the {@link #setSchema(Schema)} 145 * method to associate a schema to a parser. 192 * Examples include entity expansion limits and XML Schema constructs that would consume large amounts of resources. 241 * Gets the {@link Schema} object specified through 242 * the {@link #setSchema(Schema schema)} method. 251 * the {@link Schema} object that was last set throug [all...] |
DocumentBuilder.java | 25 import javax.xml.validation.Schema; 264 /** <p>Get a reference to the the {@link Schema} being used by 267 * <p>If no schema is being used, <code>null</code> is returned.</p> 269 * @return {@link Schema} being used or <code>null</code> 279 public Schema getSchema() {
|
SAXParser.java | 25 import javax.xml.validation.Schema; 92 * <p>The reset <code>SAXParser</code> is not guaranteed to have the same {@link Schema} 94 * <code>Schema</code>.</p> 473 /** <p>Get a reference to the the {@link Schema} being used by 476 * <p>If no schema is being used, <code>null</code> is returned.</p> 478 * @return {@link Schema} being used or <code>null</code> 488 public Schema getSchema() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDevicesXsd.java | 27 import javax.xml.validation.Schema;
32 * Public constants for the layout device description XML Schema.
41 * The "layout-devices" element is the root element of this schema.
117 * Helper to get an input stream of the layout config XML schema.
127 Schema schema = factory.newSchema(new StreamSource(xsdStream));
local 128 Validator validator = schema.newValidator();
|
/hardware/ril/mock-ril/src/cpp/ |
protobuf_v8.cpp | 99 class Schema : public ObjectWrap { 101 Schema(Handle<Object> self, const DescriptorPool* pool) 103 DBG("Schema::Schema E:"); 107 DBG("Schema::Schema X:"); 110 virtual ~Schema() { 111 DBG("~Schema::Schema E:"); 114 DBG("~Schema::Schema X:") 488 Schema* schema = UnwrapThis<Schema>(args); local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ElementType.java | 17 This class represents an element type in the schema. 19 a flags vector, default attributes, and a schema to which it belongs. 20 @see Schema 33 private Schema theSchema; // schema to which this belongs 37 but it's better to use Schema.element() instead. 46 @param schema The schema with which this element type will be 50 public ElementType(String name, int model, int memberOf, int flags, Schema schema) { 164 public Schema schema() {return theSchema;} method in class:ElementType [all...] |
Schema.java | 21 Abstract class representing a TSSL schema. 25 public abstract class Schema { 47 Add or replace an element type for this schema. 61 Get the root element of this schema 69 Add or replace a default attribute for an element type in this schema. 88 Specify natural parent of an element in this schema. 106 Add to or replace a character entity in this schema. 139 Return the URI (namespace name) of this schema. 147 Return the prefix of this schema. 155 Change the URI (namespace name) of this schema [all...] |
Parser.java | 40 private Schema theSchema; 265 Specifies the Schema object this Parser uses. 268 "http://www.ccil.org/~cowan/tagsoup/properties/schema"; 386 if (value instanceof Schema) { 387 theSchema = (Schema)value; 390 throw new SAXNotSupportedException("Your schema is not a Schema"); 536 // Currently we don't rely on Schema to canonicalize 610 // deferring to the schema for named ones. 653 if (CDATAElements && (theStack.flags() & Schema.F_CDATA) != 0) [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/ |
ValidateAddonXmlTest.java | 30 import javax.xml.validation.Schema;
37 * Tests local validation of an SDK Addon sample XMLs using an XML Schema validator.
62 Schema schema = factory.newSchema(new StreamSource(xsdStream));
local 63 validator = schema.newValidator();
83 /** Validates that NS_LATEST_VERSION points to the max avaialble XSD schema. */
87 // There should be a schema matching NS_LATEST_VERSION
90 // There should NOT be a schema with NS_LATEST_VERSION+1
|
ValidateRepositoryXmlTest.java | 30 import javax.xml.validation.Schema;
37 * Tests local validation of an SDK Repository sample XMLs using an XML Schema validator.
65 Schema schema = factory.newSchema(new StreamSource(xsdStream));
local 66 validator = schema.newValidator();
87 /** Validates that NS_LATEST_VERSION points to the max avaialble XSD schema. */
91 // There should be a schema matching NS_LATEST_VERSION
94 // There should NOT be a schema with NS_LATEST_VERSION+1
|
/hardware/ril/mock-ril/src/js/ |
mock_ril.js | 53 * Schema is defined in protobuf_v8 and converts between 56 * Object Schema::parse(Buffer protobuf) 57 * Buffer Schema::serialize(object) 91 // Get the ril description file and create a schema 93 var rilSchema = new Schema(readFileToBuffer('ril.desc')); 94 var ctrlSchema = new Schema(readFileToBuffer('ctrl.desc')); 142 function Request(reqNum, token, protobuf, schema, schemaName) { 146 this.data = schema[packageNameAndSeperator + schemaName].parse(protobuf); 214 * is to be sent to and the name of the schema 219 * DisptachTable[RIL_REQUEST_xxx].Entry.schemaName = 'Name-of-schema'; [all...] |
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
attrgetschematypeinfo07.js | 81 Load a valid document with an XML Schema.
|
attrgetschematypeinfo08.js | 81 Load a valid document with an XML Schema.
|
elementgetschematypeinfo04.js | 81 Load a valid document with an XML Schema.
|
elementgetschematypeinfo05.js | 81 Load a valid document with an XML Schema.
|
elementgetschematypeinfo06.js | 81 Load a valid document with an XML Schema.
|
elementgetschematypeinfo07.js | 81 Load a valid document with an XML Schema.
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
AddonsListFetcher.java | 47 import javax.xml.validation.Schema;
110 // Explore the XML to find the potential XML schema version
125 // The schema used is more recent than what is supported by this tool.
235 * Manually parses the root element of the XML to extract the schema version
239 * @return 1..{@link SdkAddonsListConstants#NS_LATEST_VERSION} for a valid schema version
240 * or 0 if no schema could be found.
340 * If the XML was correctly validated, returns the schema that worked.
358 "XML verification failed for %1$s.\nNo suitable XML Schema Validator could be found in your Java environment. Please consider updating your version of Java.",
393 * @param version The version of the XML Schema.
404 // This may throw a SAX Exception if the schema itself is not a valid XSD 405 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local [all...] |
SdkSource.java | 53 import javax.xml.validation.Schema;
135 * schema that as at least a <code>tools</code> node that we could load to update the
355 // Explore the XML to find the potential XML schema version
382 // so it must be a genuine error of an XML not conforming to the schema.
385 // The schema used is more recent than what is supported by this tool.
469 // We found something using the "alternate" XML schema (that is the one made up
470 // to support schema upgrades). That means the user can only install the tools
589 * If the XML was correctly validated, returns the schema that worked.
607 "XML verification failed for %1$s.\nNo suitable XML Schema Validator could be found in your Java environment. Please consider updating your version of Java.",
639 * Manually parses the root element of the XML to extract the schema version 758 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local [all...] |
/external/libvpx/examples/includes/geshi/geshi/ |
rails.php | 227 'ActiveRecord::Schema', 'ActiveRecord::Timestamp',
|
/external/sqlite/dist/ |
shell.c.orig | 924 ** This is used, for example, to show the schema of the database by 1027 fprintf(pArg->out, "Schema Heap Usage: %d bytes\n", iCur); [all...] |
shell.c | 929 ** This is used, for example, to show the schema of the database by 1032 fprintf(pArg->out, "Schema Heap Usage: %d bytes\n", iCur); [all...] |