| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| XMLScanner (Apache Batik Javadoc) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="XMLScanner (Apache Batik Javadoc)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLScanner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/batik/xml/XMLStreamNormalizingReader.html" title="class in org.apache.batik.xml"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/batik/xml/XMLScanner.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="XMLScanner.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.batik.xml</FONT> |
| <BR> |
| Class XMLScanner</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.xml.XMLScanner</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/batik/i18n/Localizable.html" title="interface in org.apache.batik.i18n">Localizable</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>XMLScanner</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html" title="interface in org.apache.batik.i18n">Localizable</A></DL> |
| </PRE> |
| |
| <P> |
| This class represents a scanner for XML documents. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#ATTLIST_CONTEXT">ATTLIST_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The ATTLIST context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected char</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#attrDelimiter">attrDelimiter</A></B></CODE> |
| |
| <BR> |
| The last attribute delimiter encountered.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#ATTRIBUTE_VALUE_CONTEXT">ATTRIBUTE_VALUE_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The attribute value context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#buffer">buffer</A></B></CODE> |
| |
| <BR> |
| The recording buffer.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#BUNDLE_CLASSNAME">BUNDLE_CLASSNAME</A></B></CODE> |
| |
| <BR> |
| The default resource bundle base name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#CDATA_SECTION_CONTEXT">CDATA_SECTION_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The CDATA section context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#cdataEndRead">cdataEndRead</A></B></CODE> |
| |
| <BR> |
| A CDATA section end is the next token</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#CONTENT_CONTEXT">CONTENT_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The content context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#context">context</A></B></CODE> |
| |
| <BR> |
| The current scanning context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#current">current</A></B></CODE> |
| |
| <BR> |
| The current char.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#depth">depth</A></B></CODE> |
| |
| <BR> |
| The depth in the xml tree.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#DOCTYPE_CONTEXT">DOCTYPE_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The doctype context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#DOCUMENT_START_CONTEXT">DOCUMENT_START_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The document start context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#DTD_DECLARATIONS_CONTEXT">DTD_DECLARATIONS_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The DTD declarations context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#ELEMENT_DECLARATION_CONTEXT">ELEMENT_DECLARATION_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The element declaration context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#end">end</A></B></CODE> |
| |
| <BR> |
| The end offset of the last lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#END_TAG_CONTEXT">END_TAG_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The end tag context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#ENTITY_CONTEXT">ENTITY_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The entity context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#ENTITY_VALUE_CONTEXT">ENTITY_VALUE_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The entity value context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#ENUMERATION_CONTEXT">ENUMERATION_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The enumeration context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#inDTD">inDTD</A></B></CODE> |
| |
| <BR> |
| The scanner is in the internal DTD.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/batik/i18n/LocalizableSupport.html" title="class in org.apache.batik.i18n">LocalizableSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#localizableSupport">localizableSupport</A></B></CODE> |
| |
| <BR> |
| The localizable support.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#NOTATION_CONTEXT">NOTATION_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The notation context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#NOTATION_TYPE_CONTEXT">NOTATION_TYPE_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The notation type context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#PI_CONTEXT">PI_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The processing instruction context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#piEndRead">piEndRead</A></B></CODE> |
| |
| <BR> |
| A PI end has been previously read.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#position">position</A></B></CODE> |
| |
| <BR> |
| The current position in the buffer.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/batik/util/io/NormalizingReader.html" title="class in org.apache.batik.util.io">NormalizingReader</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#reader">reader</A></B></CODE> |
| |
| <BR> |
| The reader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#start">start</A></B></CODE> |
| |
| <BR> |
| The start offset of the last lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#START_TAG_CONTEXT">START_TAG_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The start tag context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#TOP_LEVEL_CONTEXT">TOP_LEVEL_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The top level context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#type">type</A></B></CODE> |
| |
| <BR> |
| The type of the current lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#XML_DECL_CONTEXT">XML_DECL_CONTEXT</A></B></CODE> |
| |
| <BR> |
| The XML declaration context.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#XMLScanner(java.io.InputStream, java.lang.String)">XMLScanner</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> enc)</CODE> |
| |
| <BR> |
| Creates a new XML scanner.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#XMLScanner(java.io.Reader)">XMLScanner</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> r)</CODE> |
| |
| <BR> |
| Creates a new XML scanner.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#XMLScanner(java.lang.String)">XMLScanner</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s)</CODE> |
| |
| <BR> |
| Creates a new XML scanner.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#clearBuffer()">clearBuffer</A></B>()</CODE> |
| |
| <BR> |
| Clears the buffer.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#createXMLException(java.lang.String)">createXMLException</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</CODE> |
| |
| <BR> |
| Returns an XMLException initialized with the given message key.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#formatMessage(java.lang.String, java.lang.Object[])">formatMessage</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> key, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] args)</CODE> |
| |
| <BR> |
| Implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html#formatMessage(java.lang.String, java.lang.Object[])"><CODE>Localizable.formatMessage(String,Object[])</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getBuffer()">getBuffer</A></B>()</CODE> |
| |
| <BR> |
| Returns the buffer used to store the chars.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getColumn()">getColumn</A></B>()</CODE> |
| |
| <BR> |
| Returns the current column.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getContext()">getContext</A></B>()</CODE> |
| |
| <BR> |
| Returns the current context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getDepth()">getDepth</A></B>()</CODE> |
| |
| <BR> |
| Returns the current depth in the XML tree.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getEnd()">getEnd</A></B>()</CODE> |
| |
| <BR> |
| Returns the end offset of the last lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getEndOffset()">getEndOffset</A></B>()</CODE> |
| |
| <BR> |
| Returns the end offset of the current lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getLine()">getLine</A></B>()</CODE> |
| |
| <BR> |
| Returns the current line.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getLocale()">getLocale</A></B>()</CODE> |
| |
| <BR> |
| Implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html#getLocale()"><CODE>Localizable.getLocale()</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getStart()">getStart</A></B>()</CODE> |
| |
| <BR> |
| Returns the start offset of the last lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getStartOffset()">getStartOffset</A></B>()</CODE> |
| |
| <BR> |
| Returns the start offset of the current lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> char</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getStringDelimiter()">getStringDelimiter</A></B>()</CODE> |
| |
| <BR> |
| Returns the last encountered string delimiter.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#getType()">getType</A></B>()</CODE> |
| |
| <BR> |
| The current lexical unit type like defined in LexicalUnits.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#next()">next</A></B>()</CODE> |
| |
| <BR> |
| Advances to the next lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#next(int)">next</A></B>(int ctx)</CODE> |
| |
| <BR> |
| Advances to the next lexical unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextChar()">nextChar</A></B>()</CODE> |
| |
| <BR> |
| Sets the value of the current char to the next character or -1 if the |
| end of stream has been reached.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInAttList()">nextInAttList</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an attribute list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInAttributeValue()">nextInAttributeValue</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an attribute value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInCDATASection()">nextInCDATASection</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a CDATA section.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInContent()">nextInContent</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an element content.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInDoctype()">nextInDoctype</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a doctype.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInDocumentStart()">nextInDocumentStart</A></B>()</CODE> |
| |
| <BR> |
| Reads the first token in the stream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInDTDDeclarations()">nextInDTDDeclarations</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context dtd declarations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInElementDeclaration()">nextInElementDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a element declaration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInEndTag()">nextInEndTag</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a end tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInEntity()">nextInEntity</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an entity.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInEntityValue()">nextInEntityValue</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an entity value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInEnumeration()">nextInEnumeration</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an enumeration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInNotation()">nextInNotation</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a notation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInNotationType()">nextInNotationType</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a notation type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInPI()">nextInPI</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a processing |
| instruction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInStartTag()">nextInStartTag</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of a start tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInTopLevel()">nextInTopLevel</A></B>()</CODE> |
| |
| <BR> |
| Advances to the next lexical unit in the top level context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#nextInXMLDecl()">nextInXMLDecl</A></B>()</CODE> |
| |
| <BR> |
| Returns the next lexical unit in the context of an XML declaration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readComment()">readComment</A></B>()</CODE> |
| |
| <BR> |
| Reads a comment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readIdentifier(java.lang.String, int, int)">readIdentifier</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s, |
| int type, |
| int ntype)</CODE> |
| |
| <BR> |
| Reads the given identifier.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readName(int)">readName</A></B>(int type)</CODE> |
| |
| <BR> |
| Reads a name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readNmtoken()">readNmtoken</A></B>()</CODE> |
| |
| <BR> |
| Reads a Nmtoken.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readPEReference()">readPEReference</A></B>()</CODE> |
| |
| <BR> |
| Reads a parameter entity reference.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readPIStart()">readPIStart</A></B>()</CODE> |
| |
| <BR> |
| Reads a processing instruction start.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readReference()">readReference</A></B>()</CODE> |
| |
| <BR> |
| Reads an entity or character reference.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#readString()">readString</A></B>()</CODE> |
| |
| <BR> |
| Reads a simple string, like the ones used for version, encoding, |
| public/system identifiers...</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#setContext(int)">setContext</A></B>(int c)</CODE> |
| |
| <BR> |
| Sets the current context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#setDepth(int)">setDepth</A></B>(int i)</CODE> |
| |
| <BR> |
| Sets the current depth in the XML tree.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/xml/XMLScanner.html#setLocale(java.util.Locale)">setLocale</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> l)</CODE> |
| |
| <BR> |
| Implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html#setLocale(java.util.Locale)"><CODE>Localizable.setLocale(Locale)</CODE></A>.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="DOCUMENT_START_CONTEXT"><!-- --></A><H3> |
| DOCUMENT_START_CONTEXT</H3> |
| <PRE> |
| public static final int <B>DOCUMENT_START_CONTEXT</B></PRE> |
| <DL> |
| <DD>The document start context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.DOCUMENT_START_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="TOP_LEVEL_CONTEXT"><!-- --></A><H3> |
| TOP_LEVEL_CONTEXT</H3> |
| <PRE> |
| public static final int <B>TOP_LEVEL_CONTEXT</B></PRE> |
| <DL> |
| <DD>The top level context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.TOP_LEVEL_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PI_CONTEXT"><!-- --></A><H3> |
| PI_CONTEXT</H3> |
| <PRE> |
| public static final int <B>PI_CONTEXT</B></PRE> |
| <DL> |
| <DD>The processing instruction context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.PI_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="XML_DECL_CONTEXT"><!-- --></A><H3> |
| XML_DECL_CONTEXT</H3> |
| <PRE> |
| public static final int <B>XML_DECL_CONTEXT</B></PRE> |
| <DL> |
| <DD>The XML declaration context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.XML_DECL_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DOCTYPE_CONTEXT"><!-- --></A><H3> |
| DOCTYPE_CONTEXT</H3> |
| <PRE> |
| public static final int <B>DOCTYPE_CONTEXT</B></PRE> |
| <DL> |
| <DD>The doctype context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.DOCTYPE_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="START_TAG_CONTEXT"><!-- --></A><H3> |
| START_TAG_CONTEXT</H3> |
| <PRE> |
| public static final int <B>START_TAG_CONTEXT</B></PRE> |
| <DL> |
| <DD>The start tag context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.START_TAG_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CONTENT_CONTEXT"><!-- --></A><H3> |
| CONTENT_CONTEXT</H3> |
| <PRE> |
| public static final int <B>CONTENT_CONTEXT</B></PRE> |
| <DL> |
| <DD>The content context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.CONTENT_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DTD_DECLARATIONS_CONTEXT"><!-- --></A><H3> |
| DTD_DECLARATIONS_CONTEXT</H3> |
| <PRE> |
| public static final int <B>DTD_DECLARATIONS_CONTEXT</B></PRE> |
| <DL> |
| <DD>The DTD declarations context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.DTD_DECLARATIONS_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CDATA_SECTION_CONTEXT"><!-- --></A><H3> |
| CDATA_SECTION_CONTEXT</H3> |
| <PRE> |
| public static final int <B>CDATA_SECTION_CONTEXT</B></PRE> |
| <DL> |
| <DD>The CDATA section context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.CDATA_SECTION_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="END_TAG_CONTEXT"><!-- --></A><H3> |
| END_TAG_CONTEXT</H3> |
| <PRE> |
| public static final int <B>END_TAG_CONTEXT</B></PRE> |
| <DL> |
| <DD>The end tag context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.END_TAG_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTRIBUTE_VALUE_CONTEXT"><!-- --></A><H3> |
| ATTRIBUTE_VALUE_CONTEXT</H3> |
| <PRE> |
| public static final int <B>ATTRIBUTE_VALUE_CONTEXT</B></PRE> |
| <DL> |
| <DD>The attribute value context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.ATTRIBUTE_VALUE_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTLIST_CONTEXT"><!-- --></A><H3> |
| ATTLIST_CONTEXT</H3> |
| <PRE> |
| public static final int <B>ATTLIST_CONTEXT</B></PRE> |
| <DL> |
| <DD>The ATTLIST context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.ATTLIST_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ELEMENT_DECLARATION_CONTEXT"><!-- --></A><H3> |
| ELEMENT_DECLARATION_CONTEXT</H3> |
| <PRE> |
| public static final int <B>ELEMENT_DECLARATION_CONTEXT</B></PRE> |
| <DL> |
| <DD>The element declaration context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.ELEMENT_DECLARATION_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ENTITY_CONTEXT"><!-- --></A><H3> |
| ENTITY_CONTEXT</H3> |
| <PRE> |
| public static final int <B>ENTITY_CONTEXT</B></PRE> |
| <DL> |
| <DD>The entity context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.ENTITY_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="NOTATION_CONTEXT"><!-- --></A><H3> |
| NOTATION_CONTEXT</H3> |
| <PRE> |
| public static final int <B>NOTATION_CONTEXT</B></PRE> |
| <DL> |
| <DD>The notation context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.NOTATION_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="NOTATION_TYPE_CONTEXT"><!-- --></A><H3> |
| NOTATION_TYPE_CONTEXT</H3> |
| <PRE> |
| public static final int <B>NOTATION_TYPE_CONTEXT</B></PRE> |
| <DL> |
| <DD>The notation type context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.NOTATION_TYPE_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ENUMERATION_CONTEXT"><!-- --></A><H3> |
| ENUMERATION_CONTEXT</H3> |
| <PRE> |
| public static final int <B>ENUMERATION_CONTEXT</B></PRE> |
| <DL> |
| <DD>The enumeration context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.ENUMERATION_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ENTITY_VALUE_CONTEXT"><!-- --></A><H3> |
| ENTITY_VALUE_CONTEXT</H3> |
| <PRE> |
| public static final int <B>ENTITY_VALUE_CONTEXT</B></PRE> |
| <DL> |
| <DD>The entity value context. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.ENTITY_VALUE_CONTEXT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="BUNDLE_CLASSNAME"><!-- --></A><H3> |
| BUNDLE_CLASSNAME</H3> |
| <PRE> |
| protected static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>BUNDLE_CLASSNAME</B></PRE> |
| <DL> |
| <DD>The default resource bundle base name. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.batik.xml.XMLScanner.BUNDLE_CLASSNAME">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="localizableSupport"><!-- --></A><H3> |
| localizableSupport</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/batik/i18n/LocalizableSupport.html" title="class in org.apache.batik.i18n">LocalizableSupport</A> <B>localizableSupport</B></PRE> |
| <DL> |
| <DD>The localizable support. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="reader"><!-- --></A><H3> |
| reader</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/batik/util/io/NormalizingReader.html" title="class in org.apache.batik.util.io">NormalizingReader</A> <B>reader</B></PRE> |
| <DL> |
| <DD>The reader. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="current"><!-- --></A><H3> |
| current</H3> |
| <PRE> |
| protected int <B>current</B></PRE> |
| <DL> |
| <DD>The current char. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="type"><!-- --></A><H3> |
| type</H3> |
| <PRE> |
| protected int <B>type</B></PRE> |
| <DL> |
| <DD>The type of the current lexical unit. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="buffer"><!-- --></A><H3> |
| buffer</H3> |
| <PRE> |
| protected char[] <B>buffer</B></PRE> |
| <DL> |
| <DD>The recording buffer. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="position"><!-- --></A><H3> |
| position</H3> |
| <PRE> |
| protected int <B>position</B></PRE> |
| <DL> |
| <DD>The current position in the buffer. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="start"><!-- --></A><H3> |
| start</H3> |
| <PRE> |
| protected int <B>start</B></PRE> |
| <DL> |
| <DD>The start offset of the last lexical unit. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="end"><!-- --></A><H3> |
| end</H3> |
| <PRE> |
| protected int <B>end</B></PRE> |
| <DL> |
| <DD>The end offset of the last lexical unit. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="context"><!-- --></A><H3> |
| context</H3> |
| <PRE> |
| protected int <B>context</B></PRE> |
| <DL> |
| <DD>The current scanning context. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="depth"><!-- --></A><H3> |
| depth</H3> |
| <PRE> |
| protected int <B>depth</B></PRE> |
| <DL> |
| <DD>The depth in the xml tree. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="piEndRead"><!-- --></A><H3> |
| piEndRead</H3> |
| <PRE> |
| protected boolean <B>piEndRead</B></PRE> |
| <DL> |
| <DD>A PI end has been previously read. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="inDTD"><!-- --></A><H3> |
| inDTD</H3> |
| <PRE> |
| protected boolean <B>inDTD</B></PRE> |
| <DL> |
| <DD>The scanner is in the internal DTD. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="attrDelimiter"><!-- --></A><H3> |
| attrDelimiter</H3> |
| <PRE> |
| protected char <B>attrDelimiter</B></PRE> |
| <DL> |
| <DD>The last attribute delimiter encountered. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="cdataEndRead"><!-- --></A><H3> |
| cdataEndRead</H3> |
| <PRE> |
| protected boolean <B>cdataEndRead</B></PRE> |
| <DL> |
| <DD>A CDATA section end is the next token |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="XMLScanner(java.io.Reader)"><!-- --></A><H3> |
| XMLScanner</H3> |
| <PRE> |
| public <B>XMLScanner</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> r) |
| throws <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Creates a new XML scanner. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>r</CODE> - The reader to scan. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="XMLScanner(java.io.InputStream, java.lang.String)"><!-- --></A><H3> |
| XMLScanner</H3> |
| <PRE> |
| public <B>XMLScanner</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> enc) |
| throws <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Creates a new XML scanner. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>is</CODE> - The input stream to scan.<DD><CODE>enc</CODE> - The character encoding to use. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="XMLScanner(java.lang.String)"><!-- --></A><H3> |
| XMLScanner</H3> |
| <PRE> |
| public <B>XMLScanner</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s) |
| throws <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Creates a new XML scanner. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>s</CODE> - The string to parse. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3> |
| setLocale</H3> |
| <PRE> |
| public void <B>setLocale</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> l)</PRE> |
| <DL> |
| <DD>Implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html#setLocale(java.util.Locale)"><CODE>Localizable.setLocale(Locale)</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/batik/i18n/Localizable.html#setLocale(java.util.Locale)">setLocale</A></CODE> in interface <CODE><A HREF="../../../../org/apache/batik/i18n/Localizable.html" title="interface in org.apache.batik.i18n">Localizable</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>l</CODE> - The locale to set.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLocale()"><!-- --></A><H3> |
| getLocale</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> <B>getLocale</B>()</PRE> |
| <DL> |
| <DD>Implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html#getLocale()"><CODE>Localizable.getLocale()</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/batik/i18n/Localizable.html#getLocale()">getLocale</A></CODE> in interface <CODE><A HREF="../../../../org/apache/batik/i18n/Localizable.html" title="interface in org.apache.batik.i18n">Localizable</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="formatMessage(java.lang.String, java.lang.Object[])"><!-- --></A><H3> |
| formatMessage</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>formatMessage</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> key, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] args) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/MissingResourceException.html?is-external=true" title="class or interface in java.util">MissingResourceException</A></PRE> |
| <DL> |
| <DD>Implements <A HREF="../../../../org/apache/batik/i18n/Localizable.html#formatMessage(java.lang.String, java.lang.Object[])"><CODE>Localizable.formatMessage(String,Object[])</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/batik/i18n/Localizable.html#formatMessage(java.lang.String, java.lang.Object[])">formatMessage</A></CODE> in interface <CODE><A HREF="../../../../org/apache/batik/i18n/Localizable.html" title="interface in org.apache.batik.i18n">Localizable</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>key</CODE> - The key used to retreive the message from the resource |
| bundle.<DD><CODE>args</CODE> - The objects that compose the message. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/MissingResourceException.html?is-external=true" title="class or interface in java.util">MissingResourceException</A></CODE> - if the key is not in the bundle.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDepth(int)"><!-- --></A><H3> |
| setDepth</H3> |
| <PRE> |
| public void <B>setDepth</B>(int i)</PRE> |
| <DL> |
| <DD>Sets the current depth in the XML tree. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDepth()"><!-- --></A><H3> |
| getDepth</H3> |
| <PRE> |
| public int <B>getDepth</B>()</PRE> |
| <DL> |
| <DD>Returns the current depth in the XML tree. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setContext(int)"><!-- --></A><H3> |
| setContext</H3> |
| <PRE> |
| public void <B>setContext</B>(int c)</PRE> |
| <DL> |
| <DD>Sets the current context. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getContext()"><!-- --></A><H3> |
| getContext</H3> |
| <PRE> |
| public int <B>getContext</B>()</PRE> |
| <DL> |
| <DD>Returns the current context. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getType()"><!-- --></A><H3> |
| getType</H3> |
| <PRE> |
| public int <B>getType</B>()</PRE> |
| <DL> |
| <DD>The current lexical unit type like defined in LexicalUnits. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLine()"><!-- --></A><H3> |
| getLine</H3> |
| <PRE> |
| public int <B>getLine</B>()</PRE> |
| <DL> |
| <DD>Returns the current line. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getColumn()"><!-- --></A><H3> |
| getColumn</H3> |
| <PRE> |
| public int <B>getColumn</B>()</PRE> |
| <DL> |
| <DD>Returns the current column. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBuffer()"><!-- --></A><H3> |
| getBuffer</H3> |
| <PRE> |
| public char[] <B>getBuffer</B>()</PRE> |
| <DL> |
| <DD>Returns the buffer used to store the chars. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStart()"><!-- --></A><H3> |
| getStart</H3> |
| <PRE> |
| public int <B>getStart</B>()</PRE> |
| <DL> |
| <DD>Returns the start offset of the last lexical unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEnd()"><!-- --></A><H3> |
| getEnd</H3> |
| <PRE> |
| public int <B>getEnd</B>()</PRE> |
| <DL> |
| <DD>Returns the end offset of the last lexical unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStringDelimiter()"><!-- --></A><H3> |
| getStringDelimiter</H3> |
| <PRE> |
| public char <B>getStringDelimiter</B>()</PRE> |
| <DL> |
| <DD>Returns the last encountered string delimiter. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStartOffset()"><!-- --></A><H3> |
| getStartOffset</H3> |
| <PRE> |
| public int <B>getStartOffset</B>()</PRE> |
| <DL> |
| <DD>Returns the start offset of the current lexical unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEndOffset()"><!-- --></A><H3> |
| getEndOffset</H3> |
| <PRE> |
| public int <B>getEndOffset</B>()</PRE> |
| <DL> |
| <DD>Returns the end offset of the current lexical unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clearBuffer()"><!-- --></A><H3> |
| clearBuffer</H3> |
| <PRE> |
| public void <B>clearBuffer</B>()</PRE> |
| <DL> |
| <DD>Clears the buffer. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="next()"><!-- --></A><H3> |
| next</H3> |
| <PRE> |
| public int <B>next</B>() |
| throws <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Advances to the next lexical unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The type of the lexical unit like defined in LexicalUnits. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="next(int)"><!-- --></A><H3> |
| next</H3> |
| <PRE> |
| public int <B>next</B>(int ctx) |
| throws <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Advances to the next lexical unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ctx</CODE> - The context to use for scanning. |
| <DT><B>Returns:</B><DD>The type of the lexical unit like defined in LexicalUnits. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInDocumentStart()"><!-- --></A><H3> |
| nextInDocumentStart</H3> |
| <PRE> |
| protected int <B>nextInDocumentStart</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads the first token in the stream. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInTopLevel()"><!-- --></A><H3> |
| nextInTopLevel</H3> |
| <PRE> |
| protected int <B>nextInTopLevel</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Advances to the next lexical unit in the top level context. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The type of the lexical unit like defined in LexicalUnits. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInPI()"><!-- --></A><H3> |
| nextInPI</H3> |
| <PRE> |
| protected int <B>nextInPI</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a processing |
| instruction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInStartTag()"><!-- --></A><H3> |
| nextInStartTag</H3> |
| <PRE> |
| protected int <B>nextInStartTag</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a start tag. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInAttributeValue()"><!-- --></A><H3> |
| nextInAttributeValue</H3> |
| <PRE> |
| protected int <B>nextInAttributeValue</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an attribute value. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInContent()"><!-- --></A><H3> |
| nextInContent</H3> |
| <PRE> |
| protected int <B>nextInContent</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an element content. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInEndTag()"><!-- --></A><H3> |
| nextInEndTag</H3> |
| <PRE> |
| protected int <B>nextInEndTag</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a end tag. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInCDATASection()"><!-- --></A><H3> |
| nextInCDATASection</H3> |
| <PRE> |
| protected int <B>nextInCDATASection</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a CDATA section. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInXMLDecl()"><!-- --></A><H3> |
| nextInXMLDecl</H3> |
| <PRE> |
| protected int <B>nextInXMLDecl</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an XML declaration. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInDoctype()"><!-- --></A><H3> |
| nextInDoctype</H3> |
| <PRE> |
| protected int <B>nextInDoctype</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a doctype. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInDTDDeclarations()"><!-- --></A><H3> |
| nextInDTDDeclarations</H3> |
| <PRE> |
| protected int <B>nextInDTDDeclarations</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context dtd declarations. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readString()"><!-- --></A><H3> |
| readString</H3> |
| <PRE> |
| protected int <B>readString</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads a simple string, like the ones used for version, encoding, |
| public/system identifiers... |
| The current character must be the string delimiter. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>type. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readComment()"><!-- --></A><H3> |
| readComment</H3> |
| <PRE> |
| protected int <B>readComment</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads a comment. '<!-' must have been read. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readIdentifier(java.lang.String, int, int)"><!-- --></A><H3> |
| readIdentifier</H3> |
| <PRE> |
| protected int <B>readIdentifier</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s, |
| int type, |
| int ntype) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads the given identifier. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>s</CODE> - The portion of the identifier to read.<DD><CODE>type</CODE> - The lexical unit type of the identifier.<DD><CODE>ntype</CODE> - The lexical unit type to set if the identifier do not |
| match or -1 if an error must be signaled. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readName(int)"><!-- --></A><H3> |
| readName</H3> |
| <PRE> |
| protected int <B>readName</B>(int type) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads a name. The current character must be the first character. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - The lexical unit type to set. |
| <DT><B>Returns:</B><DD>type. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readPIStart()"><!-- --></A><H3> |
| readPIStart</H3> |
| <PRE> |
| protected int <B>readPIStart</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads a processing instruction start. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>type. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInElementDeclaration()"><!-- --></A><H3> |
| nextInElementDeclaration</H3> |
| <PRE> |
| protected int <B>nextInElementDeclaration</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a element declaration. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInAttList()"><!-- --></A><H3> |
| nextInAttList</H3> |
| <PRE> |
| protected int <B>nextInAttList</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an attribute list. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInNotation()"><!-- --></A><H3> |
| nextInNotation</H3> |
| <PRE> |
| protected int <B>nextInNotation</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a notation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInEntity()"><!-- --></A><H3> |
| nextInEntity</H3> |
| <PRE> |
| protected int <B>nextInEntity</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an entity. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInEntityValue()"><!-- --></A><H3> |
| nextInEntityValue</H3> |
| <PRE> |
| protected int <B>nextInEntityValue</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an entity value. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInNotationType()"><!-- --></A><H3> |
| nextInNotationType</H3> |
| <PRE> |
| protected int <B>nextInNotationType</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of a notation type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextInEnumeration()"><!-- --></A><H3> |
| nextInEnumeration</H3> |
| <PRE> |
| protected int <B>nextInEnumeration</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Returns the next lexical unit in the context of an enumeration. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readReference()"><!-- --></A><H3> |
| readReference</H3> |
| <PRE> |
| protected int <B>readReference</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads an entity or character reference. The current character |
| must be '&'. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>type. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readPEReference()"><!-- --></A><H3> |
| readPEReference</H3> |
| <PRE> |
| protected int <B>readPEReference</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads a parameter entity reference. The current character must be '%'. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>type. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readNmtoken()"><!-- --></A><H3> |
| readNmtoken</H3> |
| <PRE> |
| protected int <B>readNmtoken</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></PRE> |
| <DL> |
| <DD>Reads a Nmtoken. The current character must be the first character. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>LexicalUnits.NMTOKEN. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
| <DD><CODE><A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nextChar()"><!-- --></A><H3> |
| nextChar</H3> |
| <PRE> |
| protected int <B>nextChar</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD>Sets the value of the current char to the next character or -1 if the |
| end of stream has been reached. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createXMLException(java.lang.String)"><!-- --></A><H3> |
| createXMLException</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml">XMLException</A> <B>createXMLException</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</PRE> |
| <DL> |
| <DD>Returns an XMLException initialized with the given message key. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLScanner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/batik/xml/XMLException.html" title="class in org.apache.batik.xml"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/batik/xml/XMLStreamNormalizingReader.html" title="class in org.apache.batik.xml"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/batik/xml/XMLScanner.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="XMLScanner.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |