/libcore/luni/src/main/java/org/xml/sax/ |
Locator.java | 6 package org.xml.sax; 22 * handler's {@link org.xml.sax.ContentHandler#setDocumentLocator 25 * in the XML source document.</p> 36 * the {@link org.xml.sax.ContentHandler#startDocument startDocument} 43 * @see org.xml.sax.ContentHandler#setDocumentLocator 84 * the XML specification. 89 * to edit the character content of the original XML document. 116 * to edit the character content of the original XML document.
|
Parser.java | 6 package org.xml.sax; 13 * Basic interface for SAX (Simple API for XML) parsers. 23 * been replaced in SAX2 by {@link org.xml.sax.XMLReader XMLReader}, 40 * {@link org.xml.sax.XMLReader XMLReader} 45 * @see org.xml.sax.EntityResolver 46 * @see org.xml.sax.DTDHandler 47 * @see org.xml.sax.DocumentHandler 48 * @see org.xml.sax.ErrorHandler 49 * @see org.xml.sax.HandlerBase 50 * @see org.xml.sax.InputSourc [all...] |
SAXException.java | 6 package org.xml.sax; 19 * either the XML parser or the application: a parser writer or 29 * specific location in an XML document, it should use the 30 * {@link org.xml.sax.SAXParseException SAXParseException} subclass.</p> 35 * @see org.xml.sax.SAXParseException
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
DeclHandler.java | 6 package org.xml.sax.ext; 8 import org.xml.sax.SAXException; 22 * complete information about DTD declarations in an XML document. 23 * XML readers are not required to recognize this handler, and it 28 * org.xml.sax.DTDHandler DTDHandler} interface.</p> 32 * {@link org.xml.sax.ext.LexicalHandler#startDTD startDTD} and the 33 * {@link org.xml.sax.ext.LexicalHandler#endDTD endDTD} events.</p> 35 * <p>To set the DeclHandler for an XML reader, use the 36 * {@link org.xml.sax.XMLReader#setProperty setProperty} method 38 * <code>http://xml.org/sax/properties/declaration-handler</code [all...] |
/libcore/luni/src/test/java/libcore/javax/xml/parsers/ |
DocumentBuilderTest.java | 17 package libcore.javax.xml.parsers; 41 assertEquals("hello & world", attrOf(firstElementOf(domOf("<?xml version=\"1.0\"?><root attr=\"hello & world\" />")))); 43 domOf("<?xml version=\"1.0\"?><root attr=\"hello <![CDATA[ some-cdata ]]> world\" />"); 45 } catch (org.xml.sax.SAXParseException ex) { 48 assertEquals("hello <![CDATA[ some-cdata ]]> world", attrOf(firstElementOf(domOf("<?xml version=\"1.0\"?><root attr=\"hello <![CDATA[ some-cdata ]]> world\" />")))); 49 assertEquals("hello <![CDATA[ some-cdata ]]> world", attrOf(firstElementOf(domOf("<?xml version=\"1.0\"?><root attr=\"hello <![CDATA[ some-cdata ]]> world\" />")))); 54 assertEquals("hello & world", firstChildTextOf(domOf("<?xml version=\"1.0\"?><root>hello & world</root>"))); 55 assertEquals("hello some-cdata world", firstChildTextOf(domOf("<?xml version=\"1.0\"?><root>hello <![CDATA[ some-cdata ]]> world</root>"))); 56 assertEquals("hello <![CDATA[ some-cdata ]]> world", firstChildTextOf(domOf("<?xml version=\"1.0\"?><root>hello <![CDATA[ some-cdata ]]> world</root>"))); 58 domOf("<?xml version=\"1.0\"?><root>hello <![CDATA[ some-cdata ]]> world</root>") [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
NamespacedAttributesLookupTest.java | 17 package libcore.xml; 20 import org.xml.sax.Attributes; 21 import org.xml.sax.InputSource; 22 import org.xml.sax.XMLReader; 23 import org.xml.sax.helpers.DefaultHandler; 25 import javax.xml.parsers.SAXParserFactory; 38 "http://xml.org/sax/features/namespaces"; 40 "http://xml.org/sax/features/namespace-prefixes"; 42 private static String xml = "<?xml version='1.0' encoding='UTF-8'?>" field in class:NamespacedAttributesLookupTest [all...] |
/cts/tools/utils/ |
android_api_description_splitter.py | 17 # This script is used to split the jdiff xml into several smaller xml files
18 # so that we could avoid the xml resource limit in Android platform.
24 # 1. Read the xml file and generate DOM tree
25 # 2. Generate xml file for each tagname.
28 # xml source:
39 # when the tagname is specified as A, it will generate two xml files:
54 # when the tagname is specified as B, it will generated three xml files:
77 # 3. Currently will remove all the doc element. - workaround for jdiff xml
80 import xml.dom.minidom; namespace [all...] |
/development/testrunner/ |
android_manifest.py | 18 """In memory representation of AndroidManifest.xml file. 20 Specification of AndroidManifest.xml can be found at 26 import xml.dom.minidom namespace 27 import xml.parsers namespace 31 """In memory representation of AndroidManifest.xml file.""" 33 FILENAME = 'AndroidManifest.xml' 55 """Parse AndroidManifest.xml at the specified path. 58 app_path: path to folder containing AndroidManifest.xml 60 IOError: AndroidManifest.xml cannot be found at given path, or cannot be 65 self._dom = xml.dom.minidom.parse(self._manifest_path [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMAxisIterNodeList.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMAxisIterator; 25 import org.apache.xml.utils.IntVector;
|
DTMChildIterNodeList.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM;
|
DTMNodeList.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMIterator;
|
IncrementalSAXSource.java | 22 package org.apache.xml.dtm.ref; 24 import org.xml.sax.ContentHandler; 25 import org.xml.sax.InputSource; 26 import org.xml.sax.SAXException; 49 public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler); 53 public void setDTDHandler(org.xml.sax.DTDHandler handler);
|
NodeLocator.java | 22 package org.apache.xml.dtm.ref; 24 import javax.xml.transform.SourceLocator; 27 * <code>NodeLocator</code> maintains information on an XML source
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
DOM3Serializer.java | 22 package org.apache.xml.serializer;
32 * by an end user, but rather by an XML parser that is implementing the DOM
42 * The following example uses a DOM3Serializer indirectly, through an an XML
60 * javax.xml.parsers.DocumentBuilderFactory factory =
61 * javax.xml.parsers.DocumentBuilderFactory.newInstance();
62 * javax.xml.parsers.DocumentBuilder builder = factory.newDocumentBuilder();
109 * @see org.apache.xml.serializer.Serializer
110 * @see org.apache.xml.serializer.DOMSerializer
|
SerializationHandler.java | 21 package org.apache.xml.serializer; 25 import javax.xml.transform.Transformer; 28 import org.xml.sax.ContentHandler; 29 import org.xml.sax.ErrorHandler; 30 import org.xml.sax.SAXException; 31 import org.xml.sax.ext.DeclHandler; 49 org.xml.sax.DTDHandler, 78 * CDATA sections in output XML documents.
|
Serializer.java | 21 package org.apache.xml.serializer; 27 import org.xml.sax.ContentHandler; 34 * <li>get an org.xml.sax.ContentHandler or a DOMSerializer to provide input to 64 * org.apache.xml.serializer.Serializer ser; 68 * OutputPropertiesFactory.getDefaultMethodProperties(Method.XML); 146 * "omit-xml-declaration", "standalone", doctype-public",
|
Version.java | 21 package org.apache.xml.serializer;
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOMStringListImpl.java | 21 package org.apache.xml.serializer.dom3;
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
DOM2Helper.java | 21 package org.apache.xml.serializer.utils; 29 * This class is a copy of the one in org.apache.xml.utils. 46 * used in org.apache.xml.serializer. 60 * XML Namespaces specification. This is prepared to handle documents 82 * This method is copied from org.apache.xml.utils.DOMHelper
|
WrappedRuntimeException.java | 21 package org.apache.xml.serializer.utils; 28 * This class is a copy of the one in org.apache.xml.utils. 32 * used by org.apache.xml.serializer.
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
NSInfo.java | 21 package org.apache.xml.utils;
|
ObjectPool.java | 21 package org.apache.xml.utils; 25 import org.apache.xml.res.XMLErrorResources; 26 import org.apache.xml.res.XMLMessages;
|
PrefixResolverDefault.java | 21 package org.apache.xml.utils; 83 if (prefix.equals("xml"))
|
/external/chromium_org/chrome/browser/nacl_host/test/ |
debug_stub_browser_tests.py | 7 import xml.etree.ElementTree namespace 14 reply = connection.RspRequest('qXfer:features:read:target.xml:0,fff') 16 tree = xml.etree.ElementTree.fromstring(reply[1:])
|
/external/chromium_org/chrome/tools/ |
check_grd_for_unused_strings.py | 16 import xml.sax namespace 24 class GrdIDExtractor(xml.sax.handler.ContentHandler): 53 xml.sax.parse(y, handler)
|