Uses of Class
processing.data.XML
-
Packages that use XML Package Description processing.core processing.data -
-
Uses of XML in processing.core
Methods in processing.core that return XML Modifier and Type Method Description XMLPApplet. loadXML(String filename)XMLPApplet. loadXML(String filename, String options)XMLPApplet. parseXML(String xmlString)XMLPApplet. parseXML(String xmlString, String options)Methods in processing.core with parameters of type XML Modifier and Type Method Description protected PShapeSVGPShapeSVG. createShape(PShapeSVG parent, XML properties, boolean parseKids)Factory method for subclasses.protected static floatPShapeSVG. getFloatWithUnit(XML element, String attribute, float relativeTo)Used in place of element.getFloatAttribute(a) because we can have a unit suffix (length or coordinate).protected PShapePShapeSVG. parseChild(XML elem)Parse a child XML element.protected voidPShapeSVG. parseChildren(XML graphics)protected voidPShapeSVG. parseColors(XML properties)booleanPApplet. saveXML(XML xml, String filename)booleanPApplet. saveXML(XML xml, String filename, String options)Constructors in processing.core with parameters of type XML Constructor Description Font(PShapeSVG parent, XML properties)FontGlyph(PShapeSVG parent, XML properties, PShapeSVG.Font font)Gradient(PShapeSVG parent, XML properties)LinearGradient(PShapeSVG parent, XML properties)LineOfText(PShapeSVG parent, XML properties)PShapeSVG(PShapeSVG parent, XML properties, boolean parseKids)PShapeSVG(XML svg)Initializes a new SVG object from the given XML object.RadialGradient(PShapeSVG parent, XML properties)Text(PShapeSVG parent, XML properties) -
Uses of XML in processing.data
Fields in processing.data declared as XML Modifier and Type Field Description protected XML[]XML. childrenChild elements, once loaded.protected XMLXML. parentThe parent element.Methods in processing.data that return XML Modifier and Type Method Description XMLXML. addChild(String tag)XMLXML. addChild(XML child)protected XMLXML. appendChild(Node newNode)Internal handler to add the node structure.XMLXML. getChild(int index)Quick accessor for an element at a particular index.XMLXML. getChild(String name)Get a child by its name or path.protected XMLXML. getChildRecursive(String[] items, int offset)Internal helper function for getChild(String).XML[]XML. getChildren()Returns an array containing all the child elements.XML[]XML. getChildren(String name)Get any children that match this name or path.protected XML[]XML. getChildrenRecursive(String[] items, int offset)XMLXML. getParent()Returns the parent element.static XMLXML. parse(String data)static XMLXML. parse(String data, String options)Methods in processing.data with parameters of type XML Modifier and Type Method Description XMLXML. addChild(XML child)voidXML. removeChild(XML kid)Constructors in processing.data with parameters of type XML Constructor Description XML(XML parent, Node node)
-