⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlparser.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser that the particular attribute of an element may have an additional attributeValueKindOnOff value,  as specified by attributeValueKind and attributeValueKindInfo</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addAttributeValueKind(int, int, float)">addAttributeValueKind</A></B>(int&nbsp;elementID,                      int&nbsp;attributeID,                      float&nbsp;attributePercentValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser that the particular attribute of an element may have an additional attributeValueKindPercent value,  as specified by attributeValueKind and attributeValueKindInfo</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addAttributeValueKind(int, int, int)">addAttributeValueKind</A></B>(int&nbsp;elementID,                      int&nbsp;attributeID,                      int&nbsp;attributeValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser that the particular attribute of an element may have an additional attributeValueKindInteger value,  as specified by attributeValueKind and attributeValueKindInfo</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addAttributeValueKind(int, int, int, byte[])">addAttributeValueKind</A></B>(int&nbsp;elementID,                      int&nbsp;attributeID,                      int&nbsp;attributeValueKind,                      byte[]&nbsp;attributeValueKindInfo)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser that the particular attribute of an element may have an additional kind of value,  as specified by attributeValueKind and attributeValueKindInfo</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addAttributeValueKind(int, int, quicktime.qd.QDColor)">addAttributeValueKind</A></B>(int&nbsp;elementID,                      int&nbsp;attributeID,                      <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;attributeColorValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser that the particular attribute of an element may have an additional attributeValueKindColor value,  as specified by attributeValueKind and attributeValueKindInfo</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addAttributeValueKind(int, int, java.lang.String)">addAttributeValueKind</A></B>(int&nbsp;elementID,                      int&nbsp;attributeID,                      java.lang.String&nbsp;attributeStringValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser of an enumerated attribute, of type attributeValueKindCharString, for the specified element</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addAttributeValueKind(int, int, java.lang.String[], boolean)">addAttributeValueKind</A></B>(int&nbsp;elementID,                      int&nbsp;attributeID,                      java.lang.String[]&nbsp;attributeList,                      boolean&nbsp;caseSensitive)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser of an enumerated attribute, of type attributeValueKindEnum or attributeValueKindCaseSensEnum, for the specified element</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addElement(java.lang.String, int, int, int)">addElement</A></B>(java.lang.String&nbsp;elementName,           int&nbsp;nameSpaceID,           int&nbsp;elementID,           int&nbsp;elementFlags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser of an element to be recognized in the specified namespace</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addNameSpace(int, java.lang.String)">addNameSpace</A></B>(int&nbsp;nameSpaceID,             java.lang.String&nbsp;nameSpaceURL)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser of a namespace to be recognized</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#addNameSpace(java.lang.String)">addNameSpace</A></B>(java.lang.String&nbsp;nameSpaceURL)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tell the parser of an identified namespace to be recognized</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#eventParse(quicktime.std.movies.media.DataRef, boolean, boolean)">eventParse</A></B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef,           boolean&nbsp;allowUppercase,           boolean&nbsp;allowUnquotedAttributeValues)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the XML file pointed to by dataRef, using event-based parsing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#eventParse(quicktime.io.QTFile, boolean, boolean)">eventParse</A></B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;file,           boolean&nbsp;allowUppercase,           boolean&nbsp;allowUnquotedAttributeValues)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the XML file pointed to by file, using event-based parsing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#getParseErrorDescription()">getParseErrorDescription</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a more detailed description of the error if a file failed to parse properly</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#getParseErrorLine()">getParseErrorLine</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the line number the error if a file failed to parse properly</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/std/qtcomponents/XMLDoc.html">XMLDoc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#parse(quicktime.std.movies.media.DataRef, boolean, boolean)">parse</A></B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef,      boolean&nbsp;allowUppercase,      boolean&nbsp;allowUnquotedAttributeValues)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parses the XML file pointed to by dataRef, returning a XMLParseTree parse tree</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/std/qtcomponents/XMLDoc.html">XMLDoc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#parse(quicktime.io.QTFile, boolean, boolean)">parse</A></B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;file,      boolean&nbsp;allowUppercase,      boolean&nbsp;allowUnquotedAttributeValues)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the XML file pointed to by file, returning a XMLDoc parse tree</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removeCharDataHandler()">removeCharDataHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered callback handler for character data events.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removeCommentHandler()">removeCommentHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered callback handler for comment events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removeEndDocumentHandler()">removeEndDocumentHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered callback handler for end document events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removeEndElementHandler()">removeEndElementHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered end element proc.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removePreprocessorHandler()">removePreprocessorHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered callback handler for preprocessor instruction events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removeStartDocumentHandler()">removeStartDocumentHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered callback handler for start document events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#removeStartElementHandler()">removeStartElementHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the currently registered start element proc.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#setCharDataHandler(quicktime.std.qtcomponents.XMLCharDataProc)">setCharDataHandler</A></B>(<A HREF="../../../quicktime/std/qtcomponents/XMLCharDataProc.html">XMLCharDataProc</A>&nbsp;proc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the callback handler for character data events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#setCommentHandler(quicktime.std.qtcomponents.XMLCommentProc)">setCommentHandler</A></B>(<A HREF="../../../quicktime/std/qtcomponents/XMLCommentProc.html">XMLCommentProc</A>&nbsp;proc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the callback handler for comment events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#setEndDocumentHandler(quicktime.std.qtcomponents.XMLEndDocProc)">setEndDocumentHandler</A></B>(<A HREF="../../../quicktime/std/qtcomponents/XMLEndDocProc.html">XMLEndDocProc</A>&nbsp;proc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the callback handler for end document events</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#setEndElementHandler(quicktime.std.qtcomponents.XMLEndElementProc)">setEndElementHandler</A></B>(<A HREF="../../../quicktime/std/qtcomponents/XMLEndElementProc.html">XMLEndElementProc</A>&nbsp;proc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set the end element handler UPP for event parsing</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/XMLParser.html#setOffsetAndLimit(int, int)">setOffsetAndLimit</A></B>(int&nbsp;offset,                  int&nbsp;limit)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specify the offset and limit for reading from the dataref to be used when parsing</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -