@Override public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException { ArrayList<XmlWriter.Attribute> attrs = new ArrayList<XmlWriter.Attribute>(); if (rel != null) { attrs.add(new XmlWriter.Attribute("rel", rel)); } if (label != null) { attrs.add(new XmlWriter.Attribute("label", label)); } if (valueString != null) { attrs.add(new XmlWriter.Attribute("valueString", valueString)); } generateStartElement(w, Namespaces.gNs, "where", attrs, null); if (entryLink != null) { entryLink.generate(w, extProfile); } // Invoke ExtensionPoint. generateExtensions(w, extProfile); w.endElement(Namespaces.gNs, "where"); }
@Override public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException { ArrayList<XmlWriter.Attribute> attrs = new ArrayList<XmlWriter.Attribute>(); if (rel != null) { attrs.add(new XmlWriter.Attribute("rel", rel)); } if (label != null) { attrs.add(new XmlWriter.Attribute("label", label)); } if (valueString != null) { attrs.add(new XmlWriter.Attribute("valueString", valueString)); } generateStartElement(w, Namespaces.gNs, "where", attrs, null); if (entryLink != null) { entryLink.generate(w, extProfile); } // Invoke ExtensionPoint. generateExtensions(w, extProfile); w.endElement(Namespaces.gNs, "where"); }
@Override public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException { ArrayList<XmlWriter.Attribute> attrs = new ArrayList<XmlWriter.Attribute>(); if (rel != null) { attrs.add(new XmlWriter.Attribute("rel", rel)); } if (label != null) { attrs.add(new XmlWriter.Attribute("label", label)); } if (valueString != null) { attrs.add(new XmlWriter.Attribute("valueString", valueString)); } generateStartElement(w, Namespaces.gNs, "where", attrs, null); if (entryLink != null) { entryLink.generate(w, extProfile); } // Invoke ExtensionPoint. generateExtensions(w, extProfile); w.endElement(Namespaces.gNs, "where"); }