{"id":296,"date":"2010-04-08T13:15:28","date_gmt":"2010-04-08T18:15:28","guid":{"rendered":"http:\/\/billdwhite.com\/?p=296"},"modified":"2019-02-14T21:06:01","modified_gmt":"2019-02-14T21:06:01","slug":"core-flex-4-elements-vs-children","status":"publish","type":"post","link":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/","title":{"rendered":"Core Flex 4 &#8211; Elements vs Children"},"content":{"rendered":"<p>When I started using Flex 4 I tried to get up to speed by using the new version in a manner similar to its predecessor until I came across roadblocks or when I determined I was able to take advantage of the new features I had heard about such as skinning, states, etc. I quickly found that there were some obvious Flex questions that I was not able to answer without diving into the API docs and by playing with some examples so I could truly understand what is going on. \u00a0 I knew from past experience that Halo was hiding a lot of the dirty details about what was going on in the display list, but once you start using Spark, you will come to see just how much Halo was really doing under the covers and why Spark is a much more &#8216;honest&#8217; way of working with the display list.<br \/>\n<!--more--><\/p>\n<p>One of the first things I hit was the term &#8216;elements&#8217;. What is an element? Is it the same thing as a child? Initially I concluded that elements where just another way of saying children (wrong). I figured that all elements where child components and vice versa. Then I noticed that some of the methods that I was expecting to find inside the new containers (as well as some of the existing ones) were missing. Where is getElements()? How do I find out how many elements I have? Can I just use <strong>getChildren()<\/strong> and treat the result like an <strong>IVisualElement<\/strong> (which itself was a mystery to me at the time).<\/p>\n<p>So I started to <em>really<\/em> read the API docs, Flex source and blog postings about these topics. I also tried to decipher the slides shows that some bloggers posted about the great new features of Flex 4, but it turns out the slides do not make much sense if you do not have the audio of the presentation to go along with them.<\/p>\n<p>Finally, I started to put together some very basic demos that would help me explore the new world of elements and help me figure out what I was really doing when it came to using the new Spark containers.<\/p>\n<p>I&#8217;ll start by stating the questions I had at the time. Question number one was &#8220;How do I get the all the elements of a spark container?&#8221; I was expecting a getElements() method similar to the familiar <strong>getChildren()<\/strong> method from Flex 3. Instead, what you have are two properties: <strong>numElements<\/strong> and <strong>numChildren<\/strong>. To obtain all of the elements of a container, you can use a for-loop with the numElements count and call the getElementAt() method for each one. Pretty obvious after you realize there is no getElements convenience method. Question number two was: &#8220;what is the difference between an element and a child?&#8221;. Let&#8217;s look at the difference between elements and children&#8230;.<\/p>\n<p>An element is basically anything that implements the <strong>IVisualElement<\/strong> interface. A child is anything that extends from <strong>DisplayObject<\/strong>. When trying to determine if a component is an element or a child or both, remember that a <strong>UIComponent<\/strong> is a descendant of DisplayObject, so all UIComponents are DisplayObjects and therefore can be children. Also know that UIComponent implements IVisualElement so all UIComponents are considered &#8216;elements&#8217;. However, this does not mean that all DisplayObjects are elements. A DisplayObject that is parented by a container (ie, contained within that container) is a child of that container. But it is only an element of that container if it also implements IVisualElement. So when is a DisplayObject a child of a container and when is a DisplayObject an element of that container? Some examples showing different types of containers will answer this question.<\/p>\n<p>In the first example, we look at the result when the container in question is an older Halo container (in this case, a Halo Panel). Because Panel is a descendant of <strong>DisplayObjectContainer<\/strong>, it has the <strong>addChild()<\/strong> method. In addition, because it descends from <strong>Container<\/strong> (which implements <strong>IVisualElementContainer<\/strong>), it also has the <strong>addElement()<\/strong> method. We will see that the Container&#8217;s implementation of the IVisualElementContainer interface is just a facade to the display list API but it is implemented here so that it will have the same methods that we find in the newer Spark containers that also implement IVisualElementContainer.<\/p>\n<p>So we can add both children and elements to this container. However, we cannot add just any type of element to it. There is a difference between VisualElements and GraphicElements. VisualElements implement the <strong>IVisualElement<\/strong> interface, but GraphicElements implement an extension of IVisualElement called IGraphicElement which has some extra features that the container needs to know about. Therefore, some elements (such as the GraphicElement) cannot be added directly to the Halo Panel. The compiler will complain that it needs to be wrapped in a Group container first. More on why in a second&#8230;.<\/p>\n<p>The Panel in the following example contains several UIComponents including another Halo Panel, a Spark Panel, some Halo Buttons, some Spark Buttons and a SkinnableContainer with child components of its own. (Note that the components inside the SkinnableContainer will NOT be children of the Panel. They are children of the SkinnableContainer.) All of these components are DisplayObjects so they are all &#8216;children&#8217;. Clicking the &#8216;Show Children&#8221; button reveals as much. In addition, all of these components are UIComponents (which implements IVisualElement) so they are all &#8216;elements&#8217; as well.<\/p>\n<p><a href=\"http:\/\/billdwhite.com\/wp-content\/demos\/CoreFlex4ElementsDemo\/srcview\/CoreFlex4ElementsDemo01.html\">View Source<\/a><\/p>\n<p align=\"center\"><div id=\"afe-swf-1\" class=\"afe-flash\">Flash Player Required to view this demo.<\/div><\/p>\n<p>Now take a look at the next example. This time the container in question is a Spark Group. Like the Halo Panel in the previous example, Group is a descendant of DisplayObjectContainer so it has the addChild() method and because it implements IVisualElementContainer, we can add IVisualElements (&#8216;elements&#8217;) to it as well using addElement(). The Group container can also handle GraphicElements such as a Rect (a Rectangle GraphicElement) which the Halo Panel could not. This is because, unlike the Halo Panel, the Group object knows how to display GraphicElements in an optimized manner. What does that mean? Read on&#8230;<\/p>\n<p>GraphicElements require a little more involvement from their parent containers than do regular VisualElements. The key here is the <strong>IGraphicElement<\/strong> interface that GraphicElements implement. As I mentioned before, it is an extension of the IVisualElement interface (which is why GraphicElements can be added to the Group through the Group&#8217;s addElement() method). But GraphicElements are not DisplayObjects so they cannot be seen unless they get &#8216;drawn&#8217; onto another DisplayObject by their parent. So if you add a Rectangle to a Group, the Group will also need to have a DisplayObject to draw the Rectangle on so it will show up in that Group. Just to optimize things a bit, the Group can actually reuse the same DisplayObject to draw multiple GraphicElements when possible. The container can use any DisplayObject that implements ISharedDisplayObject to draw the GraphicElement. In the first example, the Halo Panel could not do this so it could not draw GraphicElements in this optimized manner. Thus, the compiler gave an error saying you have to wrap it in a container that can deal with this. The Group container can do this so GraphicElements can be added to a Group.<\/p>\n<p>One other thing to note: while some GraphicElements will allow the Group parenting them to create a DisplayObject for that GraphicElement to be drawn in, others will create their own DisplayObjects to be drawn in, and this interface (IGraphicElement) allows the parent Group to manage that DisplayObject even though the parent Group did not create it.(ie to add the DisplayObject as a child so the IGraphicElement can be drawn into it).<\/p>\n<p>So what does this mean? It means that in our next example, the number of children is not the same as the number of elements. This example uses the same set of components from the first example, but it adds 4 rectangles which are GraphicElements. The children are all IVisualElements. However, they are not all children. The rectangles are GraphicElements which do not descend from DisplayObject. BUT, the Group knows that it needs to add DisplayObjects so that the GraphicElements can be drawn inside the container. The rectangles are different sizes and rotations so the Group decided to add two new DisplayObjects to draw the four rectangles on. Pretty cool, huh?<\/p>\n<p><a href=\"http:\/\/billdwhite.com\/wp-content\/demos\/CoreFlex4ElementsDemo\/srcview\/CoreFlex4ElementsDemo02.html\">View Source<\/a><\/p>\n<p align=\"center\"><div id=\"afe-swf-2\" class=\"afe-flash\">Flash Player Required to view this demo.<\/div><\/p>\n<p>Now look at example 3. Instead of a Group, we are using a SkinnableContainer. The SkinnableContainer has the same set of components as the previous example. But, the SkinnableContainer uses a Skin for its visual representation and that Skin is the first and only child of the SkinnableContainer. The SkinnableContainer&#8217;s default Skin class is comprised of a Rectangle (for the border) and a Group called the ContentGroup which all skins for containers need so Flex know where to add children to the container.<\/p>\n<p>So this example illustrates the fact that, while the SkinnableContainer has 10 elements, it only has one child: the Skin of the SkinnableContainer. In turn, that skin has only one child: the ContentGroup Group component. You may be asking &#8220;why are there not 2 children of the Skin: one being the ContentGroup and the other being the DisplayObject for the Rectangle (serving as the border) to be drawn in? The answer is because the Skin class descends from the Group class and Groups will add DisplayObjects when necessary to draw any GraphicElements they contain. In this case, no new DisplayObjects were required. The Skin class just drew the Rect GraphicElement directly onto itself. It can do this because the Skin&#8217;s ancestor, the Group class, also implements <strong>ISharedDisplayObject<\/strong> which means that it can serve as a shared DisplayObject used to draw GraphicElements when necessary. So the Skin manages the DisplayObjects used to render the GraphicElement, and the in this case, the DisplayObject it is using to draw on is itself! If you added other Rectangles to a custom skin and assigned that to the SkinnableContainer, the Skin might decide it needed more DisplayObjects to draw those other Rectangles and you would therefore see more children in the Skin&#8217;s child list.<\/p>\n<p>One other thing to note is that the number of elements stays the same when you look at the element list for the SkinnableContainer, its Skin, and the Skin&#8217;s ContentGroup. If you look at the source for SkinnableContainer, you will see that it determines the numElements value by getting the corresponding numElements value from the currentContentGroup so basically it is just re-routing you to its content group when you query for elements. Likewise, the Skin of the SkinnableContainer does something similar. It extends from Group, which gets the numElements property from its internal mxmlContent property which is an array of visual content children for this Group. Both of these are analogous to the RawChildren property of the Panel container which you used to get ALL the children of the Panel rather than just the children that you added to the Panel which came from the getChildren() method.<\/p>\n<p><a href=\"http:\/\/billdwhite.com\/wp-content\/demos\/CoreFlex4ElementsDemo\/srcview\/CoreFlex4ElementsDemo03.html\">View Source<\/a><\/p>\n<p align=\"center\"><div id=\"afe-swf-3\" class=\"afe-flash\">Flash Player Required to view this demo.<\/div><\/p>\n<p>After reading all of this, it may not seem any clearer than when you started. You basically have to familiarize yourself with the inheritance hierarchy and relationship between 7 different classes\/interfaces:<\/p>\n<p>1. DisplayObject<br \/>\n2. UIComponent<br \/>\n3. Container,<br \/>\n4. IVisualElement,<br \/>\n5. IGraphicElement,<br \/>\n6. IVisualElementContainer<br \/>\n7. ISharedDisplayObject<\/p>\n<p>Once you know who these fit together, you&#8217;ll soon understand the difference between elements and children. I&#8217;m sure I&#8217;ve messed up some of the facts and gotten a few things wrong so feel free to put corrections in the comments section if you think I&#8217;m way off base on any of this. \ud83d\ude42<\/p>\n<p>UPDATE: Check out these links for more information on this and related topics:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"http:\/\/opensource.adobe.com\/wiki\/display\/flexsdk\/Gumbo+DOM+Tree+API\">Article on the Gumbo DOM Tree API<\/a> (this is full of great detail on this topic)<\/li>\n<li><a href=\"http:\/\/flexponential.com\/2009\/12\/08\/differences-between-ivisualelement-parent-and-ivisualelement-owner\/\">Nice example<\/a> on the the difference between the owner and parent of a component. Very nice.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When I started using Flex 4 I tried to get up to speed by using the new version in a manner similar to its predecessor until I came across roadblocks or when I determined I was able to take advantage of the new features I had heard about such as skinning, states, etc. I quickly\u2026 <span class=\"read-more\"><a href=\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-296","post","type-post","status-publish","format-standard","hentry","category-adobe-flex"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Core Flex 4 - Elements vs Children - Bill White<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Core Flex 4 - Elements vs Children - Bill White\" \/>\n<meta property=\"og:description\" content=\"When I started using Flex 4 I tried to get up to speed by using the new version in a manner similar to its predecessor until I came across roadblocks or when I determined I was able to take advantage of the new features I had heard about such as skinning, states, etc. I quickly\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\" \/>\n<meta property=\"og:site_name\" content=\"Bill White\" \/>\n<meta property=\"article:published_time\" content=\"2010-04-08T18:15:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-14T21:06:01+00:00\" \/>\n<meta name=\"author\" content=\"Bill White\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bill_d_white\" \/>\n<meta name=\"twitter:site\" content=\"@bill_d_white\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bill White\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\"},\"author\":{\"name\":\"Bill White\",\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314\"},\"headline\":\"Core Flex 4 &#8211; Elements vs Children\",\"datePublished\":\"2010-04-08T18:15:28+00:00\",\"dateModified\":\"2019-02-14T21:06:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\"},\"wordCount\":2008,\"commentCount\":30,\"publisher\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314\"},\"articleSection\":[\"Adobe Flex\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\",\"url\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\",\"name\":\"Core Flex 4 - Elements vs Children - Bill White\",\"isPartOf\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#website\"},\"datePublished\":\"2010-04-08T18:15:28+00:00\",\"dateModified\":\"2019-02-14T21:06:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/billdwhite.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Core Flex 4 &#8211; Elements vs Children\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#website\",\"url\":\"https:\/\/billdwhite.com\/wordpress\/\",\"name\":\"Bill White's Blog\",\"description\":\"UI Development and Data Visualization:  Angular \/ React \/ D3 \/ Typescript \/ Javascript \/ UI \/ UX \/ Etc\",\"publisher\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/billdwhite.com\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314\",\"name\":\"Bill White\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3c3595ee8305a186eea4ea5286143893?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3c3595ee8305a186eea4ea5286143893?s=96&d=mm&r=g\",\"caption\":\"Bill White\"},\"logo\":{\"@id\":\"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.billdwhite.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Core Flex 4 - Elements vs Children - Bill White","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/","og_locale":"en_US","og_type":"article","og_title":"Core Flex 4 - Elements vs Children - Bill White","og_description":"When I started using Flex 4 I tried to get up to speed by using the new version in a manner similar to its predecessor until I came across roadblocks or when I determined I was able to take advantage of the new features I had heard about such as skinning, states, etc. I quickly\u2026 Read More &raquo;","og_url":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/","og_site_name":"Bill White","article_published_time":"2010-04-08T18:15:28+00:00","article_modified_time":"2019-02-14T21:06:01+00:00","author":"Bill White","twitter_card":"summary_large_image","twitter_creator":"@bill_d_white","twitter_site":"@bill_d_white","twitter_misc":{"Written by":"Bill White","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#article","isPartOf":{"@id":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/"},"author":{"name":"Bill White","@id":"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314"},"headline":"Core Flex 4 &#8211; Elements vs Children","datePublished":"2010-04-08T18:15:28+00:00","dateModified":"2019-02-14T21:06:01+00:00","mainEntityOfPage":{"@id":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/"},"wordCount":2008,"commentCount":30,"publisher":{"@id":"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314"},"articleSection":["Adobe Flex"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/","url":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/","name":"Core Flex 4 - Elements vs Children - Bill White","isPartOf":{"@id":"https:\/\/billdwhite.com\/wordpress\/#website"},"datePublished":"2010-04-08T18:15:28+00:00","dateModified":"2019-02-14T21:06:01+00:00","breadcrumb":{"@id":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/billdwhite.com\/wordpress\/2010\/04\/08\/core-flex-4-elements-vs-children\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/billdwhite.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Core Flex 4 &#8211; Elements vs Children"}]},{"@type":"WebSite","@id":"https:\/\/billdwhite.com\/wordpress\/#website","url":"https:\/\/billdwhite.com\/wordpress\/","name":"Bill White's Blog","description":"UI Development and Data Visualization:  Angular \/ React \/ D3 \/ Typescript \/ Javascript \/ UI \/ UX \/ Etc","publisher":{"@id":"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/billdwhite.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/ea6b87554d0eed13a0152765dd01d314","name":"Bill White","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3c3595ee8305a186eea4ea5286143893?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3c3595ee8305a186eea4ea5286143893?s=96&d=mm&r=g","caption":"Bill White"},"logo":{"@id":"https:\/\/billdwhite.com\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.billdwhite.com"]}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/posts\/296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/comments?post=296"}],"version-history":[{"count":2,"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/posts\/296\/revisions"}],"predecessor-version":[{"id":1391,"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/posts\/296\/revisions\/1391"}],"wp:attachment":[{"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/media?parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/categories?post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/billdwhite.com\/wordpress\/wp-json\/wp\/v2\/tags?post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}