| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| AbstractSVGList (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="AbstractSVGList (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/AbstractSVGList.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/dom/svg/AbstractSVGItem.html" title="class in org.apache.batik.dom.svg"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGMatrix.html" title="class in org.apache.batik.dom.svg"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/batik/dom/svg/AbstractSVGList.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AbstractSVGList.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.dom.svg</FONT> |
| <BR> |
| Class AbstractSVGList</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.dom.svg.AbstractSVGList</B> |
| </PRE> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/batik/anim/dom/AbstractSVGLengthList.html" title="class in org.apache.batik.anim.dom">AbstractSVGLengthList</A>, <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGNumberList.html" title="class in org.apache.batik.dom.svg">AbstractSVGNumberList</A>, <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGPathSegList.html" title="class in org.apache.batik.dom.svg">AbstractSVGPathSegList</A>, <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGPointList.html" title="class in org.apache.batik.dom.svg">AbstractSVGPointList</A>, <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGTransformList.html" title="class in org.apache.batik.dom.svg">AbstractSVGTransformList</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public abstract class <B>AbstractSVGList</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></DL> |
| </PRE> |
| |
| <P> |
| This class is a base implementation for a live |
| list representation of SVG attributes. |
| <p> |
| This class provides support for an SVG list representation of an |
| attribute. It implements basic list functionality that is common to all |
| of the <code>SVG*List</code> interfaces. |
| </p> |
| <p> |
| For a specific attribute, it requires an <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#getValueAsString()"><CODE>attribute value</CODE></A>, a <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#doParse(java.lang.String, org.apache.batik.dom.svg.ListHandler)"><CODE>parser</CODE></A>, |
| and a method to <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#createSVGItem(java.lang.Object)"><CODE>create items</CODE></A>. |
| </p> |
| <p> |
| Whenever the attribute changes outside of the control of the list, this |
| list must be <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#invalidate()"><CODE>invalidated</CODE></A>. |
| </p> |
| <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>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#itemList">itemList</A></B></CODE> |
| |
| <BR> |
| The list of items.</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/dom/svg/AbstractSVGList.html#valid">valid</A></B></CODE> |
| |
| <BR> |
| Whether this list is valid.</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/dom/svg/AbstractSVGList.html#AbstractSVGList()">AbstractSVGList</A></B>()</CODE> |
| |
| <BR> |
| </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>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#appendItemImpl(java.lang.Object)">appendItemImpl</A></B>(<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> newItem)</CODE> |
| |
| <BR> |
| Inserts a new item at the end of the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#checkItemType(java.lang.Object)">checkItemType</A></B>(<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> newItem)</CODE> |
| |
| <BR> |
| Asserts that the given object is an appropriate SVG object for this list.</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/dom/svg/AbstractSVGList.html#clear()">clear</A></B>()</CODE> |
| |
| <BR> |
| Removes all items from the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#clear(java.util.List)">clear</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> list)</CODE> |
| |
| <BR> |
| Clears the list and sets the parent of the former list items to null.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#createDOMException(short, java.lang.String, java.lang.Object[])">createDOMException</A></B>(short type, |
| <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> |
| Create a DOM Exception.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#createSVGItem(java.lang.Object)">createSVGItem</A></B>(<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> newItem)</CODE> |
| |
| <BR> |
| Creates an <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> object that has the same values as those |
| in the specified SVG object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#doParse(java.lang.String, org.apache.batik.dom.svg.ListHandler)">doParse</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> value, |
| <A HREF="../../../../../org/apache/batik/dom/svg/ListHandler.html" title="interface in org.apache.batik.dom.svg">ListHandler</A> builder)</CODE> |
| |
| <BR> |
| Parses the given attribute value and informs the specified |
| <A HREF="../../../../../org/apache/batik/dom/svg/ListHandler.html" title="interface in org.apache.batik.dom.svg"><CODE>ListHandler</CODE></A> of the parsed list items.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#getItemImpl(int)">getItemImpl</A></B>(int index)</CODE> |
| |
| <BR> |
| Returns the item from the list at the specified index.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract <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/dom/svg/AbstractSVGList.html#getItemSeparator()">getItemSeparator</A></B>()</CODE> |
| |
| <BR> |
| Returns the separator string to use when constructing a string |
| representation of the entire list.</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/dom/svg/AbstractSVGList.html#getNumberOfItems()">getNumberOfItems</A></B>()</CODE> |
| |
| <BR> |
| Returns the number of items in the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract <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/dom/svg/AbstractSVGList.html#getValueAsString()">getValueAsString</A></B>()</CODE> |
| |
| <BR> |
| Returns the value of the DOM attribute containing the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#initializeImpl(java.lang.Object)">initializeImpl</A></B>(<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> newItem)</CODE> |
| |
| <BR> |
| Removes all items from the list and adds the specified item to |
| the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#insertItemBeforeImpl(java.lang.Object, int)">insertItemBeforeImpl</A></B>(<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> newItem, |
| int index)</CODE> |
| |
| <BR> |
| Inserts a new item into the list at the specified position.</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/dom/svg/AbstractSVGList.html#invalidate()">invalidate</A></B>()</CODE> |
| |
| <BR> |
| Invalidates this list.</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/dom/svg/AbstractSVGList.html#itemChanged()">itemChanged</A></B>()</CODE> |
| |
| <BR> |
| Method to be called by a member <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> object when its value |
| changes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#removeIfNeeded(java.lang.Object)">removeIfNeeded</A></B>(<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> newItem)</CODE> |
| |
| <BR> |
| Removes the specified object from its parent list if it is an item, or |
| creates a new item if the specified object is not an item.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#removeItem(org.apache.batik.dom.svg.SVGItem)">removeItem</A></B>(<A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> item)</CODE> |
| |
| <BR> |
| Removes an item from the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#removeItemImpl(int)">removeItemImpl</A></B>(int index)</CODE> |
| |
| <BR> |
| Removes an existing item from the list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#replaceItemImpl(java.lang.Object, int)">replaceItemImpl</A></B>(<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> newItem, |
| int index)</CODE> |
| |
| <BR> |
| Replaces an existing item in the list with a new item.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#resetAttribute()">resetAttribute</A></B>()</CODE> |
| |
| <BR> |
| Resets the value of the associated attribute.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#resetAttribute(org.apache.batik.dom.svg.SVGItem)">resetAttribute</A></B>(<A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> item)</CODE> |
| |
| <BR> |
| Appends the string representation of the given <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> to |
| the DOM attribute.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#revalidate()">revalidate</A></B>()</CODE> |
| |
| <BR> |
| Initializes the list, if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#setAttributeValue(java.lang.String)">setAttributeValue</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> value)</CODE> |
| |
| <BR> |
| Sets the DOM attribute value containing the number list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGList.html#setValueAsString(java.util.List)">setValueAsString</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> value)</CODE> |
| |
| <BR> |
| Sets the DOM attribute value to be the string representation of the |
| given list.</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="valid"><!-- --></A><H3> |
| valid</H3> |
| <PRE> |
| protected boolean <B>valid</B></PRE> |
| <DL> |
| <DD>Whether this list is valid. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="itemList"><!-- --></A><H3> |
| itemList</H3> |
| <PRE> |
| protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>itemList</B></PRE> |
| <DL> |
| <DD>The list of items. |
| <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="AbstractSVGList()"><!-- --></A><H3> |
| AbstractSVGList</H3> |
| <PRE> |
| public <B>AbstractSVGList</B>()</PRE> |
| <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="getItemSeparator()"><!-- --></A><H3> |
| getItemSeparator</H3> |
| <PRE> |
| protected abstract <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>getItemSeparator</B>()</PRE> |
| <DL> |
| <DD>Returns the separator string to use when constructing a string |
| representation of the entire list. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createSVGItem(java.lang.Object)"><!-- --></A><H3> |
| createSVGItem</H3> |
| <PRE> |
| protected abstract <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>createSVGItem</B>(<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> newItem)</PRE> |
| <DL> |
| <DD>Creates an <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> object that has the same values as those |
| in the specified SVG object. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newItem</CODE> - the SVG object |
| <DT><B>Returns:</B><DD>the newly created <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> object</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="doParse(java.lang.String, org.apache.batik.dom.svg.ListHandler)"><!-- --></A><H3> |
| doParse</H3> |
| <PRE> |
| protected abstract void <B>doParse</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> value, |
| <A HREF="../../../../../org/apache/batik/dom/svg/ListHandler.html" title="interface in org.apache.batik.dom.svg">ListHandler</A> builder) |
| throws <A HREF="../../../../../org/apache/batik/parser/ParseException.html" title="class in org.apache.batik.parser">ParseException</A></PRE> |
| <DL> |
| <DD>Parses the given attribute value and informs the specified |
| <A HREF="../../../../../org/apache/batik/dom/svg/ListHandler.html" title="interface in org.apache.batik.dom.svg"><CODE>ListHandler</CODE></A> of the parsed list items. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - the attribute value to be parsed<DD><CODE>builder</CODE> - the object to be informed of the parsed list items |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/apache/batik/parser/ParseException.html" title="class in org.apache.batik.parser">ParseException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="checkItemType(java.lang.Object)"><!-- --></A><H3> |
| checkItemType</H3> |
| <PRE> |
| protected abstract void <B>checkItemType</B>(<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> newItem) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></PRE> |
| <DL> |
| <DD>Asserts that the given object is an appropriate SVG object for this list. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getValueAsString()"><!-- --></A><H3> |
| getValueAsString</H3> |
| <PRE> |
| protected abstract <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>getValueAsString</B>()</PRE> |
| <DL> |
| <DD>Returns the value of the DOM attribute containing the list. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAttributeValue(java.lang.String)"><!-- --></A><H3> |
| setAttributeValue</H3> |
| <PRE> |
| protected abstract void <B>setAttributeValue</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> value)</PRE> |
| <DL> |
| <DD>Sets the DOM attribute value containing the number list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - the String representation of the list, or null |
| if the list contains no items</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createDOMException(short, java.lang.String, java.lang.Object[])"><!-- --></A><H3> |
| createDOMException</H3> |
| <PRE> |
| protected abstract <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A> <B>createDOMException</B>(short type, |
| <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)</PRE> |
| <DL> |
| <DD>Create a DOM Exception. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNumberOfItems()"><!-- --></A><H3> |
| getNumberOfItems</H3> |
| <PRE> |
| public int <B>getNumberOfItems</B>()</PRE> |
| <DL> |
| <DD>Returns the number of items in the list. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clear()"><!-- --></A><H3> |
| clear</H3> |
| <PRE> |
| public void <B>clear</B>() |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></PRE> |
| <DL> |
| <DD>Removes all items from the list. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - NO_MODIFICATION_ALLOWED_ERR: |
| Raised when the list cannot be modified.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="initializeImpl(java.lang.Object)"><!-- --></A><H3> |
| initializeImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>initializeImpl</B>(<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> newItem) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A>, |
| <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></PRE> |
| <DL> |
| <DD>Removes all items from the list and adds the specified item to |
| the list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newItem</CODE> - the item which should become the only member of the list. |
| <DT><B>Returns:</B><DD>the item being inserted into the list. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - NO_MODIFICATION_ALLOWED_ERR: |
| Raised when the list cannot be modified. |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></CODE> - SVG_WRONG_TYPE_ERR: |
| Raised if parameter newItem is the wrong type of object for the given |
| list.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getItemImpl(int)"><!-- --></A><H3> |
| getItemImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>getItemImpl</B>(int index) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></PRE> |
| <DL> |
| <DD>Returns the item from the list at the specified index. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the item from the list which is to be returned. |
| The first item is number 0. |
| <DT><B>Returns:</B><DD>The selected item. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - INDEX_SIZE_ERR: |
| Raised if the index number is negative or greater than or equal to |
| <code>numberOfItems</code>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="insertItemBeforeImpl(java.lang.Object, int)"><!-- --></A><H3> |
| insertItemBeforeImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>insertItemBeforeImpl</B>(<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> newItem, |
| int index) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A>, |
| <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></PRE> |
| <DL> |
| <DD>Inserts a new item into the list at the specified position. |
| <p> |
| The first item is number 0. If <code>newItem</code> is already in a |
| list, it is removed from its previous list before it is inserted into |
| this list. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newItem</CODE> - The item which is to be inserted |
| into the list.<DD><CODE>index</CODE> - The index of the item before which |
| the new item is to be inserted. The first item |
| is number 0. If the index is equal to 0, then |
| the new item is inserted at the front of the |
| list. If the index is greater than or equal to |
| <code>numberOfItems</code>, then the new item is appended |
| to the end of the list. |
| <DT><B>Returns:</B><DD>The inserted item. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - NO_MODIFICATION_ALLOWED_ERR: |
| Raised when the list cannot be modified. |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></CODE> - SVG_WRONG_TYPE_ERR: |
| Raised if parameter <code>newItem</code> is the wrong type of |
| object for the given list.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="replaceItemImpl(java.lang.Object, int)"><!-- --></A><H3> |
| replaceItemImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>replaceItemImpl</B>(<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> newItem, |
| int index) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A>, |
| <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></PRE> |
| <DL> |
| <DD>Replaces an existing item in the list with a new item. |
| <p> |
| If <code>newItem</code> is already in a list, it is removed from its |
| previous list before it is inserted into this list. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newItem</CODE> - The item which is to be inserted |
| into the list.<DD><CODE>index</CODE> - The index of the item which is to |
| be replaced. The first item is number 0. |
| <DT><B>Returns:</B><DD>The inserted item. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - NO_MODIFICATION_ALLOWED_ERR: |
| Raised when the list cannot be modified. |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - INDEX_SIZE_ERR: |
| Raised if the index number is negative or greater |
| than or equal to <code>numberOfItems</code>. |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></CODE> - SVG_WRONG_TYPE_ERR: |
| Raised if parameter newItem is the wrong type |
| of object for the given list.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeItemImpl(int)"><!-- --></A><H3> |
| removeItemImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>removeItemImpl</B>(int index) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></PRE> |
| <DL> |
| <DD>Removes an existing item from the list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the item which |
| is to be removed. The first item is number 0. |
| <DT><B>Returns:</B><DD>The removed item. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - NO_MODIFICATION_ALLOWED_ERR: |
| Raised when the list cannot be modified. |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - INDEX_SIZE_ERR: |
| Raised if the index number is negative or greater |
| than or equal to <code>numberOfItems</code>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="appendItemImpl(java.lang.Object)"><!-- --></A><H3> |
| appendItemImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>appendItemImpl</B>(<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> newItem) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A>, |
| <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></PRE> |
| <DL> |
| <DD>Inserts a new item at the end of the list. |
| If newItem is already in a list, it is removed from its previous list |
| before it is inserted into this list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newItem</CODE> - The item which is to be inserted into the list. The |
| first item is number 0. |
| <DT><B>Returns:</B><DD>The inserted item. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE> - NO_MODIFICATION_ALLOWED_ERR: |
| Raised when the list cannot be modified. |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGException.html?is-external=true" title="class or interface in org.w3c.dom">org.w3c.dom.svg.SVGException</A></CODE> - SVG_WRONG_TYPE_ERR: |
| Raised if parameter newItem is the wrong type of object for the given |
| list.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeIfNeeded(java.lang.Object)"><!-- --></A><H3> |
| removeIfNeeded</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> <B>removeIfNeeded</B>(<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> newItem)</PRE> |
| <DL> |
| <DD>Removes the specified object from its parent list if it is an item, or |
| creates a new item if the specified object is not an item. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newItem</CODE> - an instance of <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> to remove from its parent |
| list, or an SVG object for which a new <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> should be |
| created |
| <DT><B>Returns:</B><DD>item the <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> just removed from its parent list, or |
| the newly created <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="revalidate()"><!-- --></A><H3> |
| revalidate</H3> |
| <PRE> |
| protected void <B>revalidate</B>()</PRE> |
| <DL> |
| <DD>Initializes the list, if needed. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setValueAsString(java.util.List)"><!-- --></A><H3> |
| setValueAsString</H3> |
| <PRE> |
| protected void <B>setValueAsString</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> value) |
| throws <A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></PRE> |
| <DL> |
| <DD>Sets the DOM attribute value to be the string representation of the |
| given list. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/DOMException.html?is-external=true" title="class or interface in org.w3c.dom">DOMException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="itemChanged()"><!-- --></A><H3> |
| itemChanged</H3> |
| <PRE> |
| public void <B>itemChanged</B>()</PRE> |
| <DL> |
| <DD>Method to be called by a member <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> object when its value |
| changes. This causes the DOM attribute to be reset. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resetAttribute()"><!-- --></A><H3> |
| resetAttribute</H3> |
| <PRE> |
| protected void <B>resetAttribute</B>()</PRE> |
| <DL> |
| <DD>Resets the value of the associated attribute. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resetAttribute(org.apache.batik.dom.svg.SVGItem)"><!-- --></A><H3> |
| resetAttribute</H3> |
| <PRE> |
| protected void <B>resetAttribute</B>(<A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> item)</PRE> |
| <DL> |
| <DD>Appends the string representation of the given <A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg"><CODE>SVGItem</CODE></A> to |
| the DOM attribute. This is called in response to an append to |
| the list. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="invalidate()"><!-- --></A><H3> |
| invalidate</H3> |
| <PRE> |
| public void <B>invalidate</B>()</PRE> |
| <DL> |
| <DD>Invalidates this list. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeItem(org.apache.batik.dom.svg.SVGItem)"><!-- --></A><H3> |
| removeItem</H3> |
| <PRE> |
| protected void <B>removeItem</B>(<A HREF="../../../../../org/apache/batik/dom/svg/SVGItem.html" title="interface in org.apache.batik.dom.svg">SVGItem</A> item)</PRE> |
| <DL> |
| <DD>Removes an item from the list. |
| |
| This operation takes place when an |
| item was already in one list and |
| is being added to another one. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clear(java.util.List)"><!-- --></A><H3> |
| clear</H3> |
| <PRE> |
| protected void <B>clear</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> list)</PRE> |
| <DL> |
| <DD>Clears the list and sets the parent of the former list items to null. |
| <P> |
| <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/AbstractSVGList.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/dom/svg/AbstractSVGItem.html" title="class in org.apache.batik.dom.svg"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/batik/dom/svg/AbstractSVGMatrix.html" title="class in org.apache.batik.dom.svg"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/batik/dom/svg/AbstractSVGList.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AbstractSVGList.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> |