📄 xmlparser.html
字号:
java.lang.String nameSpaceURL) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>tell the parser of a namespace to be recognized</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>nameSpaceID</CODE> - non zero tokenized namespace identifier<DT><B>Throws:</B><DD><CODE>on</CODE> - zero nameSpaceID</DL></DD></DL><HR><A NAME="addNameSpace(java.lang.String)"><!-- --></A><H3>addNameSpace</H3><PRE>public int <B>addNameSpace</B>(java.lang.String nameSpaceURL) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>tell the parser of an identified namespace to be recognized</DL></DD><DD><DL><DT><B>Returns:</B><DD>generated non zero tokenized name space identifier</DL></DD></DL><HR><A NAME="setOffsetAndLimit(int, int)"><!-- --></A><H3>setOffsetAndLimit</H3><PRE>public void <B>setOffsetAndLimit</B>(int offset, int limit) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>specify the offset and limit for reading from the dataref to be used when parsing</DL></DD></DL><HR><A NAME="setStartDocumentHandler(quicktime.std.qtcomponents.XMLStartDocProc)"><!-- --></A><H3>setStartDocumentHandler</H3><PRE>public void <B>setStartDocumentHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLStartDocProc.html">XMLStartDocProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the callback handler for start document events</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - implements XMLStartDocProc</DL></DD></DL><HR><A NAME="removeStartDocumentHandler()"><!-- --></A><H3>removeStartDocumentHandler</H3><PRE>public void <B>removeStartDocumentHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered callback handler for start document events</DL></DD></DL><HR><A NAME="setEndDocumentHandler(quicktime.std.qtcomponents.XMLEndDocProc)"><!-- --></A><H3>setEndDocumentHandler</H3><PRE>public void <B>setEndDocumentHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLEndDocProc.html">XMLEndDocProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the callback handler for end document events</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - implements XMLEndDocProc</DL></DD></DL><HR><A NAME="removeEndDocumentHandler()"><!-- --></A><H3>removeEndDocumentHandler</H3><PRE>public void <B>removeEndDocumentHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered callback handler for end document events</DL></DD></DL><HR><A NAME="setStartElementHandler(quicktime.std.qtcomponents.XMLStartElementProc)"><!-- --></A><H3>setStartElementHandler</H3><PRE>public void <B>setStartElementHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLStartElementProc.html">XMLStartElementProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>set the start element handler UPP for event parsing</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - implements XMLStartElementProc</DL></DD></DL><HR><A NAME="removeStartElementHandler()"><!-- --></A><H3>removeStartElementHandler</H3><PRE>public void <B>removeStartElementHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered start element proc. </DL></DD></DL><HR><A NAME="setEndElementHandler(quicktime.std.qtcomponents.XMLEndElementProc)"><!-- --></A><H3>setEndElementHandler</H3><PRE>public void <B>setEndElementHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLEndElementProc.html">XMLEndElementProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>set the end element handler UPP for event parsing</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - implements XMLEndElementProc</DL></DD></DL><HR><A NAME="removeEndElementHandler()"><!-- --></A><H3>removeEndElementHandler</H3><PRE>public void <B>removeEndElementHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered end element proc. </DL></DD></DL><HR><A NAME="setCommentHandler(quicktime.std.qtcomponents.XMLCommentProc)"><!-- --></A><H3>setCommentHandler</H3><PRE>public void <B>setCommentHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLCommentProc.html">XMLCommentProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the callback handler for comment events</DL></DD></DL><HR><A NAME="removeCommentHandler()"><!-- --></A><H3>removeCommentHandler</H3><PRE>public void <B>removeCommentHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered callback handler for comment events</DL></DD></DL><HR><A NAME="setCharDataHandler(quicktime.std.qtcomponents.XMLCharDataProc)"><!-- --></A><H3>setCharDataHandler</H3><PRE>public void <B>setCharDataHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLCharDataProc.html">XMLCharDataProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the callback handler for character data events</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - implements XMLCharDataProc</DL></DD></DL><HR><A NAME="removeCharDataHandler()"><!-- --></A><H3>removeCharDataHandler</H3><PRE>public void <B>removeCharDataHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered callback handler for character data events. </DL></DD></DL><HR><A NAME="setPreprocessorHandler(quicktime.std.qtcomponents.XMLPreprocessorProc)"><!-- --></A><H3>setPreprocessorHandler</H3><PRE>public void <B>setPreprocessorHandler</B>(<A HREF="../../../quicktime/std/qtcomponents/XMLPreprocessorProc.html">XMLPreprocessorProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the callback handler for preprocessor instruction events</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - implements XMLPreprocessorProc</DL></DD></DL><HR><A NAME="removePreprocessorHandler()"><!-- --></A><H3>removePreprocessorHandler</H3><PRE>public void <B>removePreprocessorHandler</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered callback handler for preprocessor instruction events</DL></DD></DL><HR><A NAME="getParseErrorLine()"><!-- --></A><H3>getParseErrorLine</H3><PRE>public int <B>getParseErrorLine</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the line number the error if a file failed to parse properly</DL></DD><DD><DL><DT><B>Returns:</B><DD>line number of the error</DL></DD></DL><HR><A NAME="getParseErrorDescription()"><!-- --></A><H3>getParseErrorDescription</H3><PRE>public java.lang.String <B>getParseErrorDescription</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns a more detailed description of the error if a file failed to parse properly</DL></DD><DD><DL><DT><B>Returns:</B><DD>description of error</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -