HomeSort by relevance Sort by last modified time
    Searched refs:XMLReader (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/apache-xml/src/main/java/org/apache/xml/utils/
XMLReaderManager.java 29 import org.xml.sax.XMLReader;
34 * Creates XMLReader objects and caches them for re-use.
47 * Parser factory to be used to construct XMLReader objects
52 * Cache of XMLReader objects
57 * Keeps track of whether an XMLReader object is in use.
75 * Retrieves a cached XMLReader for this thread, or creates a new
76 * XMLReader, if the existing reader is in use. When the caller no
80 public synchronized XMLReader getXMLReader() throws SAXException {
81 XMLReader reader;
86 // on a thread, a new XMLReader will automatically be created
    [all...]
  /cts/tools/release-parser/src/com/android/cts/releaseparser/
TestModuleConfigParser.java 23 import org.xml.sax.XMLReader;
64 XMLReader xmlReader = XMLReaderFactory.createXMLReader();
67 xmlReader.setContentHandler(testModuleXmlHandler);
69 xmlReader.parse(new InputSource(fileReader));
XmlParser.java 22 import org.xml.sax.XMLReader;
63 XMLReader xmlReader = XMLReaderFactory.createXMLReader();
64 xmlReader.setContentHandler(mHandler);
66 xmlReader.parse(new InputSource(fileReader));
  /external/fonttools/Tests/misc/
xmlReader_test.py 8 from fontTools.misc.xmlReader import XMLReader, ProgressPrinter, BUFSIZE
16 class DebugXMLReader(XMLReader):
49 class DebugXMLReader(XMLReader):
108 reader = XMLReader(tmp, TTFont(), progress=progressBar)
115 reader = XMLReader(tmp, TTFont(), progress=progressBar)
123 reader = XMLReader(tmp.name, TTFont())
136 reader = XMLReader(f, TTFont())
176 reader = XMLReader(f, ttf)
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
TrAXFilter.java 37 import org.xml.sax.XMLReader;
54 * @see org.xml.sax.XMLReader#setFeature
55 * @see org.xml.sax.XMLReader#setProperty
74 * <p>This is the {@link org.xml.sax.XMLReader XMLReader} from which
84 public void setParent (XMLReader parent)
106 * @see org.xml.sax.XMLReader#parse(org.xml.sax.InputSource)
113 XMLReader reader=null;
140 XMLReader parent;
184 * @see org.xml.sax.XMLReader#parse(java.lang.String
    [all...]
  /cts/tests/tests/sax/src/android/sax/cts/
ElementTest.java 22 import org.xml.sax.XMLReader;
121 XMLReader xmlReader = saxParser.getXMLReader();
122 xmlReader.setContentHandler(root.getContentHandler());
125 xmlReader.parse(source);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/
xmlreader.py 9 # ===== XMLREADER =====
11 class XMLReader:
14 XMLReader is the interface that an XML parser's SAX2 driver must
91 class IncrementalParser(XMLReader):
92 """This interface adds three extra methods to the XMLReader
106 By default, the class also implements the parse method of the XMLReader
113 XMLReader.__init__(self)
188 """Encapsulation of the information needed by the XMLReader to
196 XMLReader.parse method and for returning from
199 An InputSource belongs to the application, the XMLReader is not
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/
xmlreader.py 9 # ===== XMLREADER =====
11 class XMLReader:
14 XMLReader is the interface that an XML parser's SAX2 driver must
91 class IncrementalParser(XMLReader):
92 """This interface adds three extra methods to the XMLReader
106 By default, the class also implements the parse method of the XMLReader
113 XMLReader.__init__(self)
188 """Encapsulation of the information needed by the XMLReader to
196 XMLReader.parse method and for returning from
199 An InputSource belongs to the application, the XMLReader is not
    [all...]
  /external/python/cpython2/Lib/xml/sax/
xmlreader.py 9 # ===== XMLREADER =====
11 class XMLReader:
14 XMLReader is the interface that an XML parser's SAX2 driver must
91 class IncrementalParser(XMLReader):
92 """This interface adds three extra methods to the XMLReader
106 By default, the class also implements the parse method of the XMLReader
113 XMLReader.__init__(self)
188 """Encapsulation of the information needed by the XMLReader to
196 XMLReader.parse method and for returning from
199 An InputSource belongs to the application, the XMLReader is no
    [all...]
  /external/python/cpython3/Lib/xml/sax/
xmlreader.py 9 # ===== XMLREADER =====
11 class XMLReader:
14 XMLReader is the interface that an XML parser's SAX2 driver must
91 class IncrementalParser(XMLReader):
92 """This interface adds three extra methods to the XMLReader
106 By default, the class also implements the parse method of the XMLReader
113 XMLReader.__init__(self)
190 """Encapsulation of the information needed by the XMLReader to
198 XMLReader.parse method and for returning from
201 An InputSource belongs to the application, the XMLReader is no
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
ProfileManager.java 27 import org.xml.sax.XMLReader;
150 XMLReader xr = sp.getXMLReader();
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
CtsReportParser.java 23 import org.xml.sax.XMLReader;
54 XMLReader xmlReader = XMLReaderFactory.createXMLReader();
57 xmlReader.setContentHandler(ctsReportXmlHandler);
61 xmlReader.parse(new InputSource(fileReader));
GTestApiReport.java 22 import org.xml.sax.XMLReader;
130 XMLReader xmlReader = XMLReaderFactory.createXMLReader();
132 xmlReader.setContentHandler(testModuleXmlHandler);
137 xmlReader.parse(new InputSource(fileReader));
  /external/cldr/tools/java/org/unicode/cldr/icu/
MapperUtils.java 20 import org.xml.sax.XMLReader;
39 XMLReader xmlReader = XMLFileReader.createXMLReader(true);
40 xmlReader.setContentHandler(handler);
50 xmlReader.parse(is);
  /external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
SAX1ParserAdapter.java 31 final XMLReader xmlReader;
33 public SAX1ParserAdapter(XMLReader xr)
35 xmlReader = xr;
44 xmlReader.parse(source);
54 xmlReader.parse(systemId);
65 xmlReader.setContentHandler(new DocHandlerWrapper(h));
70 xmlReader.setDTDHandler(h);
75 xmlReader.setEntityResolver(r);
80 xmlReader.setErrorHandler(h)
    [all...]
SAXParserImpl.java 68 public XMLReader getXMLReader() { return parser; }
  /external/apache-xml/src/main/java/org/apache/xpath/
SourceTreeManager.java 36 import org.xml.sax.XMLReader;
336 * @return a SAX2 XMLReader to use to resolve the inputSource argument.
341 public static XMLReader getXMLReader(Source inputSource, SourceLocator locator)
347 XMLReader reader = (inputSource instanceof SAXSource)
XPathContext.java 55 import org.xml.sax.XMLReader;
607 public XMLReader m_primaryReader;
610 * Get primary XMLReader associated with this execution context.
614 public final XMLReader getPrimaryReader()
620 * Set primary XMLReader associated with this execution context.
624 public void setPrimaryReader(XMLReader reader)
    [all...]
  /external/fonttools/Lib/fontTools/misc/
xmlReader.py 18 class XMLReader(object):
106 subReader = XMLReader(subFile, self.ttFont, self.progress)
132 subReader = XMLReader(subFile, self.ttFont, self.progress, contentOnly=True)
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMManagerDefault.java 53 import org.xml.sax.XMLReader;
112 * The cache for XMLReader objects to be used if the user did not
113 * supply an XMLReader for a SAXSource or supplied a StreamSource.
273 XMLReader reader = null;
588 * After use of the parser is completed, the releaseXMLReader(XMLReader)
592 * @return a SAX2 XMLReader to use to resolve the inputSource argument.
594 * @return non-null XMLReader reference ready to parse.
596 synchronized public XMLReader getXMLReader(Source inputSource)
601 XMLReader reader = (inputSource instanceof SAXSource)
621 * Indicates that the XMLReader object is no longer in use for the transform
    [all...]
IncrementalSAXSource_Filter.java 40 import org.xml.sax.XMLReader;
92 private XMLReader fXMLReader=null;
137 /** Bind our input streams to an XMLReader.
142 public void setXMLReader(XMLReader eventsource)
544 * from an XMLReader passed to our startReader() method), we can do so
591 // Convenience: Run an XMLReader in a thread
594 /** Launch a thread that will run an XMLReader's parse() operation within
608 throw new SAXException(XMLMessages.createXMLMessage(XMLErrorResources.ER_XMLRDR_NOT_BEFORE_STARTPARSE, null)); //"XMLReader not before startParse request");
744 org.xml.sax.XMLReader theSAXParser=
  /external/cldr/tools/java/org/unicode/cldr/util/
XMLFileReader.java 28 import org.xml.sax.XMLReader;
142 XMLReader xmlReader = createXMLReader(validating);
145 xmlReader.setContentHandler(DEFAULT_DECLHANDLER);
148 xmlReader.setErrorHandler(DEFAULT_DECLHANDLER);
151 xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler", DEFAULT_DECLHANDLER);
154 xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", DEFAULT_DECLHANDLER);
159 xmlReader.parse(is);
363 public static XMLReader createXMLReader(boolean validating) {
372 "gnu.xml.aelfred2.XmlReader",
    [all...]
ElementAttributeInfo.java 17 import org.xml.sax.XMLReader;
93 XMLReader xmlReader = CLDRFile.createXMLReader(true);
96 xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", me);
99 // xmlReader.setContentHandler(me);
100 // xmlReader.setErrorHandler(me);
101 xmlReader.parse(is);
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorInclude.java 42 import org.xml.sax.XMLReader;
258 XMLReader reader = null;
  /external/cldr/tools/java/org/unicode/cldr/tool/
GenerateAttributeList.java 37 import org.xml.sax.XMLReader;
117 XMLReader xmlReader = CLDRFile.createXMLReader(true);
119 xmlReader.setProperty("http://xml.org/sax/properties/declaration-handler", me);
122 // xmlReader.setContentHandler(me);
123 // xmlReader.setErrorHandler(me);
124 xmlReader.parse(is);
151 XMLReader xmlReader = CLDRFile.createXMLReader(true);
152 xmlReader.setContentHandler(new MyContentHandler())
    [all...]

Completed in 1984 milliseconds

1 2 3