<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.io.graphml.mxGraphMlUtils</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxGraphMlUtils</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
This class implements several GML utility methods.
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#childsHasTag(org.w3c.dom.Element, java.lang.String)">childsHasTag</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> element,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</CODE>
<BR>
Checks if the childrens of element has a Node with name = tag.</TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#childsTag(org.w3c.dom.Element, java.lang.String)">childsTag</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> element,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</CODE>
<BR>
Returns the first Element that has name = tag in the childrens of element.</TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#childsTags(org.w3c.dom.Element, java.lang.String)">childsTags</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> element,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</CODE>
<BR>
Returns a list with the elements included in the childrens of element
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#copyNodeList(org.w3c.dom.NodeList)">copyNodeList</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nodeList)</CODE>
<BR>
Copy a given NodeList into a List<Element></TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/HashMap.html?is-external=true"title="class or interface in java.util">HashMap</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>,<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#getStyleMap(java.lang.String, java.lang.String)">getStyleMap</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> style,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> asig)</CODE>
<BR>
Create a style map from a String with style definitions.</TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#getStyleString(java.util.Map, java.lang.String)">getStyleString</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>,<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>> styleMap,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> asig)</CODE>
<BR>
Returns the string that represents the content of a given style map.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#nodeListHasTag(org.w3c.dom.NodeList, java.lang.String)">nodeListHasTag</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nl,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</CODE>
<BR>
Checks if the NodeList has a Node with name = tag.</TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#nodeListTag(org.w3c.dom.NodeList, java.lang.String)">nodeListTag</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nl,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</CODE>
<BR>
Returns the first Element that has name = tag in Node List.</TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlUtils.html#nodeListTags(org.w3c.dom.NodeList, java.lang.String)">nodeListTags</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nl,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</CODE>
<BR>
Returns a list with the elements included in the Node List that have name = tag.</TD>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public static boolean <B>nodeListHasTag</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nl,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</PRE>
<DL>
<DD>Checks if the NodeList has a Node with name = tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nl</CODE> - NodeList<DD><CODE>tag</CODE> - Name of the node.
<DT><B>Returns:</B><DD>Returns <code>true</code> if the Node List has a Node with name = tag.</DL>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>nodeListTag</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nl,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</PRE>
<DL>
<DD>Returns the first Element that has name = tag in Node List.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nl</CODE> - NodeList<DD><CODE>tag</CODE> - Name of the Element
<DT><B>Returns:</B><DD>Element with name = 'tag'.</DL>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A>><B>nodeListTags</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nl,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</PRE>
<DL>
<DD>Returns a list with the elements included in the Node List that have name = tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nl</CODE> - NodeList<DD><CODE>tag</CODE> - name of the Element.
<DT><B>Returns:</B><DD>List with the indicated elements.</DL>
public static boolean <B>childsHasTag</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> element,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</PRE>
<DL>
<DD>Checks if the childrens of element has a Node with name = tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>element</CODE> - Element<DD><CODE>tag</CODE> - Name of the node.
<DT><B>Returns:</B><DD>Returns <code>true</code> if the childrens of element has a Node with name = tag.</DL>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>childsTag</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> element,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</PRE>
<DL>
<DD>Returns the first Element that has name = tag in the childrens of element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>element</CODE> - Element<DD><CODE>tag</CODE> - Name of the Element
<DT><B>Returns:</B><DD>Element with name = 'tag'.</DL>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A>><B>childsTags</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> element,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> tag)</PRE>
<DL>
<DD>Returns a list with the elements included in the childrens of element
that have name = tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>element</CODE> - Element<DD><CODE>tag</CODE> - name of the Element.
<DT><B>Returns:</B><DD>List with the indicated elements.</DL>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</A>><B>copyNodeList</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/NodeList.html?is-external=true"title="class or interface in org.w3c.dom">NodeList</A> nodeList)</PRE>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/HashMap.html?is-external=true"title="class or interface in java.util">HashMap</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>,<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>><B>getStyleMap</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> style,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> asig)</PRE>
<DL>
<DD>Create a style map from a String with style definitions.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>style</CODE> - Definition of the style.<DD><CODE>asig</CODE> - Asignation simbol used in 'style'.
<DT><B>Returns:</B><DD>Map with the style properties.</DL>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>getStyleString</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>,<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>> styleMap,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> asig)</PRE>
<DL>
<DD>Returns the string that represents the content of a given style map.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>styleMap</CODE> - Map with the styles values
<DT><B>Returns:</B><DD>string that represents the style.</DL>