OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:htmlparser
(Results
1 - 25
of
200
) sorted by null
1
2
3
4
5
6
7
8
/external/owasp/sanitizer/lib/htmlparser-1.3/
htmlparser-1.3-with-transitions.jar
htmlparser-1.3.jar
README.txt
3
Please see http://about.validator.nu/
htmlparser
/
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/
AutoEscapeContext.java
37
import com.google.streamhtmlparser.
HtmlParser
;
50
* Map of content-type to corresponding {@code
HtmlParser
.Mode}, used by {@code setContentType} to
55
* <td>
HtmlParser
.Mode.HTML</td>
59
* <td>
HtmlParser
.Mode.HTML</td>
63
* <td>
HtmlParser
.Mode.JS</td>
67
* <td>
HtmlParser
.Mode.JS</td>
71
* <td>
HtmlParser
.Mode.JS</td>
75
* <td>
HtmlParser
.Mode.CSS</td>
81
public static final Map<String,
HtmlParser
.Mode> CONTENT_TYPE_LIST;
89
private
HtmlParser
htmlParser
[
all
...]
/external/jsilver/src/com/google/streamhtmlparser/
HtmlParserFactory.java
25
* A factory class to obtain instances of an {@link
HtmlParser
}.
40
* To provide additional options when creating an {@code
HtmlParser
} using
41
* {@link HtmlParserFactory#createParserInAttribute(
HtmlParser
.ATTR_TYPE,
49
* {@link
HtmlParser
.ATTR_TYPE#JS} - and only when the attribute is also
59
* {@link
HtmlParser
.ATTR_TYPE#URI}.
65
* To provide additional options when creating an {@code
HtmlParser
} using
66
* {@link HtmlParserFactory#createParserInMode(
HtmlParser
.Mode, Set)}
72
* valid in the {@link
HtmlParser
.Mode#JS} mode.
77
private static final
HtmlParser
parserInDefaultAttr = createParser();
78
private static final
HtmlParser
parserInDefaultAttrQ = createParser()
[
all
...]
ExternalState.java
25
* it depends on which parser is used (currently {@link
HtmlParser
} and
41
* @see
HtmlParser
52
* @see
HtmlParser
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
test_parser2.py
21
parser = html5parser.
HTMLParser
(tree=self.dom_tree)
27
parser = html5parser.
HTMLParser
(tree=self.dom_tree)
31
parser = html5parser.
HTMLParser
(tree=self.dom_tree, namespaceHTMLElements=True)
36
parser = html5parser.
HTMLParser
(tree=self.dom_tree, namespaceHTMLElements=False)
41
parser = html5parser.
HTMLParser
(namespaceHTMLElements=True)
46
parser = html5parser.
HTMLParser
(namespaceHTMLElements=False)
51
parser = html5parser.
HTMLParser
()
mockParser.py
14
class
HTMLParser
(object):
23
x =
HTMLParser
()
test_encoding.py
12
from html5lib import
HTMLParser
, inputstream
30
p =
HTMLParser
()
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_htmllib.py
8
class AnchorCollector(htmllib.
HTMLParser
):
11
htmllib.
HTMLParser
.__init__(self, *args, **kw)
19
class DeclCollector(htmllib.
HTMLParser
):
22
htmllib.
HTMLParser
.__init__(self, *args, **kw)
/prebuilts/gdb/linux-x86/lib/python2.7/test/
test_htmllib.py
8
class AnchorCollector(htmllib.
HTMLParser
):
11
htmllib.
HTMLParser
.__init__(self, *args, **kw)
19
class DeclCollector(htmllib.
HTMLParser
):
22
htmllib.
HTMLParser
.__init__(self, *args, **kw)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_htmllib.py
8
class AnchorCollector(htmllib.
HTMLParser
):
11
htmllib.
HTMLParser
.__init__(self, *args, **kw)
19
class DeclCollector(htmllib.
HTMLParser
):
22
htmllib.
HTMLParser
.__init__(self, *args, **kw)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_htmllib.py
8
class AnchorCollector(htmllib.
HTMLParser
):
11
htmllib.
HTMLParser
.__init__(self, *args, **kw)
19
class DeclCollector(htmllib.
HTMLParser
):
22
htmllib.
HTMLParser
.__init__(self, *args, **kw)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
__init__.py
16
from .html5parser import
HTMLParser
, parse, parseFragment
21
__all__ = ["
HTMLParser
", "parse", "parseFragment", "getTreeBuilder",
/external/owasp/sanitizer/
.classpath
7
<classpathentry kind="lib" path="lib/
htmlparser
-1.3/
htmlparser
-1.3-with-transitions.jar"/>
/external/libxml2/doc/devhelp/
libxml2-HTMLparser.html
5
<title>
HTMLparser
: interface for an HTML 4.0 non-verifying parser</title>
39
<span class="refentrytitle">
HTMLparser
</span>
41
<p>
HTMLparser
- interface for an HTML 4.0 non-verifying parser</p>
57
typedef <a href="libxml2-
HTMLparser
.html#htmlElemDesc">htmlElemDesc</a> * <a href="#htmlElemDescPtr">htmlElemDescPtr</a>;
62
typedef <a href="libxml2-
HTMLparser
.html#htmlEntityDesc">htmlEntityDesc</a> * <a href="#htmlEntityDescPtr">htmlEntityDescPtr</a>;
66
<a href="libxml2-
HTMLparser
.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadFd">htmlReadFd</a> (int fd, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
67
<a href="libxml2-
HTMLparser
.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadIO">htmlReadIO</a> (<a href="libxml2-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br/> <a href="libxml2-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
68
<a href="libxml2-
HTMLparser
.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseFile">htmlParseFile</a> (const char * filename, <br/> const char * encoding);
69
<a href="libxml2-
HTMLparser
.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadDoc">htmlCtxtReadDoc</a> (<a href="libxml2-
HTMLparser
.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.ht (…)
[
all
...]
/external/jsilver/src/com/google/streamhtmlparser/impl/
HtmlParserImpl.java
22
import com.google.streamhtmlparser.
HtmlParser
;
36
* {@code
HtmlParser
} interface.
47
public class HtmlParserImpl extends GenericParser implements
HtmlParser
{
336
* <p>See the {@link
HtmlParser
.Mode} enum for information on all
679
registerMapping(InternalState.INTERNAL_ERROR_STATE,
HtmlParser
.STATE_ERROR);
681
registerMapping(TEXT,
HtmlParser
.STATE_TEXT);
682
registerMapping(TAG_START,
HtmlParser
.STATE_TAG);
683
registerMapping(TAG_NAME,
HtmlParser
.STATE_TAG);
684
registerMapping(DECL_START,
HtmlParser
.STATE_TEXT);
685
registerMapping(DECL_BODY,
HtmlParser
.STATE_TEXT)
[
all
...]
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
_htmlparser.py
1
"""Use the
HTMLParser
library to parse HTML files that aren't too bad."""
7
from
HTMLParser
import (
8
HTMLParser
,
14
# Starting in Python 3.2, the
HTMLParser
constructor takes a 'strict'
19
# At the end of this file, we monkeypatch
HTMLParser
so that
43
HTMLPARSER
= 'html.parser'
45
class BeautifulSoupHTMLParser(
HTMLParser
):
65
# XXX workaround for a bug in
HTMLParser
. Remove this once
118
# will cause the '?' to be included in data." -
HTMLParser
131
features = [HTML, STRICT,
HTMLPARSER
]
[
all
...]
/external/libxml2/doc/html/
libxml-HTMLparser.html
13
</style><title>Module
HTMLparser
from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="../epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="../gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="../w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="../redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="../Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1></h1><h2>Module
HTMLparser
from libxml2</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a style="font-weight:bold" href="../index.html">Main Menu</a></li><li><a style="font-weight:bold" href="../docs.html">Developer Menu</a></li><li><a style="font-weight:bold" href="../examples/index.html">Code Examples</a></li><li><a style="font-weight:bold" href="index.html">API Menu</a></li><li><a href="libxml-parser.html">Parser API</a></li><li><a href="libxml-tree.html">Tree API</a></li><li><a href="libxml-xmlreader.html">Reader API</a></li><li><a href="../guidelines.html">XML Guidelines</a></li><li><a href="../ChangeLog.html">ChangeLog</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="../APIchunk0.html">Alphabetic</a></li><li><a href="../APIconstructors.html">Constructors</a></li><li><a href="../APIfunctions.html">Functions/Types</a></li><li><a href="../APIfiles.html">Modules</a></li><li><a href="../APIsymbols.html">Symbols</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://lxml.de/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libxml-DOCBparser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev" /></a></td><th align="left"><a href="libxml-DOCBparser.html">DOCBparser</a></th><td><a accesskey="u" href="index.html"><img src="up.png" width="24" height="24" border="0" alt="Up" /></a></td><th align="left"><a href="index.html">API documentation</a></th><td><a accesskey="h" href="../index.html"><img src="home.png" width="24" height="24" border="0" alt="Home" /></a></td><th align="center"><a href="../index.html">The XML C parser and toolkit of Gnome</a></th><th align="right"><a href="libxml-HTMLtree.html">HTMLtree</a></th><td><a accesskey="n" href="libxml-HTMLtree.html"><img src="right.png" width="24" height="24" border="0" alt="Next" /></a></td></tr></table><p>this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view. </p><h2>Table of Contents</h2><pre class="programlisting">#define <a href="#htmlDefaultSubelement">htmlDefaultSubelement</a></pre><pre class="programlisting">#define <a href="#htmlElementAllowedHereDesc">htmlElementAllowedHereDesc</a></pre><pre class="programlisting">#define <a href="#htmlRequiredAttrs">htmlRequiredAttrs</a></pre><pre class="programlisting">Typedef <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a name="htmlDocPtr" id="htmlDocPtr">htmlDocPtr</a>
15
</pre><pre class="programlisting">Typedef <a href="libxml-
HTMLparser
.html#htmlElemDesc">htmlElemDesc</a> * <a name="htmlElemDescPtr" id="htmlElemDescPtr">htmlElemDescPtr</a>
17
</pre><pre class="programlisting">Typedef <a href="libxml-
HTMLparser
.html#htmlEntityDesc">htmlEntityDesc</a> * <a name="htmlEntityDescPtr" id="htmlEntityDescPtr">htmlEntityDescPtr</a>
29
<pre class="programlisting"><a href="libxml-
HTMLparser
.html#htmlStatus">htmlStatus</a> <a href="#htmlAttrAllowed">htmlAttrAllowed</a> (const <a href="libxml-
HTMLparser
.html#htmlElemDesc">htmlElemDesc</a> * elt, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * attr, <br /> int legacy)</pre>
30
<pre class="programlisting">int <a href="#htmlAutoCloseTag">htmlAutoCloseTag</a> (<a href="libxml-
HTMLparser
.html#htmlDocPtr">htmlDocPtr</a> doc, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> <a href="libxml-
HTMLparser
.html#htmlNodePtr">htmlNodePtr</a> elem)</pre>
31
<pre class="programlisting"><a href="libxml-
HTMLparser
.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> <a href="#htmlCreateMemoryParserCtxt">htmlCreateMemoryParserCtxt</a> (const char * buffer, <br /> int size)</pre>
32
<pre class="programlisting"><a href="libxml-
HTMLparser
.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> <a href="#htmlCreatePushParserCtxt">htmlCreatePushPa (…)
[
all
...]
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
htmlutil.py
24
import
HTMLParser
28
class ScriptExtractor(htmllib.
HTMLParser
):
29
"""Subclass of
HTMLParser
that extracts script contents from an HTML file.
37
htmllib.
HTMLParser
.__init__(self, formatter.NullFormatter())
149
except
HTMLParser
.HTMLParseError, e:
156
class _HtmlStripper(
HTMLParser
.
HTMLParser
):
/external/skia/tools/
compare_codereview.py
22
import
HTMLParser
25
class CodeReviewHTMLParser(
HTMLParser
.
HTMLParser
):
31
This uses the
HTMLParser
class because it's the best thing in
63
HTMLParser
.
HTMLParser
.__init__(self)
73
"""Overrides the
HTMLParser
method to implement functionality.
109
"""Overrides the
HTMLParser
method to implement functionality.
123
"""Overrides the
HTMLParser
method to implement functionality.
147
class BuilderHTMLParser(
HTMLParser
.HTMLParser)
[
all
...]
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
diagnose.py
4
from
HTMLParser
import
HTMLParser
79
class AnnouncingParser(
HTMLParser
):
80
"""Announces
HTMLParser
parse events, without doing anything else."""
113
"""Print out the
HTMLParser
events that occur during parsing.
115
This lets you see how
HTMLParser
parses a document when no
183
parser = html5lib.
HTMLParser
()
/external/autotest/client/site_tests/firmware_TouchMTB/
noise_summary.py
9
from
HTMLParser
import
HTMLParser
23
class ParseReport(
HTMLParser
):
25
HTMLParser
.__init__(self)
65
# Handler for
HTMLParser
for whenever it encounters text between tags
105
# Handler for
HTMLParser
for whenever it encounters text between tags
/external/chromium-trace/catapult/third_party/html5lib-python/doc/
movingparts.rst
40
parser = html5lib.
HTMLParser
(tree=SomeTreeBuilder)
48
parser = html5lib.
HTMLParser
(tree=html5lib.getTreeBuilder("dom"))
158
:meth:`~html5lib.html5parser.
HTMLParser
.parse` method on
159
``
HTMLParser
`` objects.
182
a :class:`~html5lib.html5parser.
HTMLParser
`:
189
p = html5lib.
HTMLParser
(tokenizer=sanitizer.HTMLSanitizer)
/external/chromium-trace/catapult/third_party/beautifulsoup4/
TODO.txt
25
present for
HTMLParser
, and also does nothing there.)
Completed in 1467 milliseconds
1
2
3
4
5
6
7
8