Examples of removeAttribute()


Examples of org.jdom2.Element.removeAttribute()

    public void populateItem(Item item, Element eItem, int index) {
        super.populateItem(item,eItem, index);

        Element eDescription = eItem.getChild("description",getFeedNamespace());
        if (eDescription != null) eDescription.removeAttribute("type");

        String author = item.getAuthor();
        if (author != null) {
            eItem.addContent(generateSimpleElement("author", author));
        }
View Full Code Here

Examples of org.jfree.xmlns.common.AttributeList.removeAttribute()

                for (int i = 0; i < shapes.size(); i++)
                {
                    final AttributeMap attrs = (AttributeMap) shapes.get(i);
                    final AttributeList attrList = buildAttributeList(attrs);
                    attrList.removeAttribute(OfficeNamespaces.DRAWING_NS, OfficeToken.STYLE_NAME);
                    xmlWriter.writeTag(OfficeNamespaces.DRAWING_NS, OfficeToken.FRAME, attrList, XmlWriterSupport.OPEN);
                    startChartProcessing((AttributeMap) ole.get(i));

                    xmlWriter.writeCloseTag();
                }
View Full Code Here

Examples of org.milyn.container.ExecutionContext.removeAttribute()

        else
    {
          smooks.filterSource(executionContext, getSource(exchange));
        }
       
        executionContext.removeAttribute(Exchange.class);
    }
   
    protected void setResultOnBody(final Exports exports, final Result[] results, final Exchange exchange)
    {
        final Message message = exchange.getOut();
View Full Code Here

Examples of org.mortbay.util.Attributes.removeAttribute()

    }
   
    public void removeContextAttribute(String name)
    {
        Attributes attrs = ((ContextHandler)_managed).getAttributes();
        attrs.removeAttribute(name);
    }
}
View Full Code Here

Examples of org.nasutekds.server.types.Entry.removeAttribute()

        continue;
      }
      container.setCurrentAttributeType(attrType);
      if (!accessAllowed(container))
      {
        e.removeAttribute(attrType);
      }
    }
    return container.getSearchResultEntry();
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.draw.DrawFrameElement.removeAttribute()

      OdfContentDom contentDom2 = sdoc.getContentDom();
      DrawFrameElement drawFrame = contentDom2.newOdfElement(DrawFrameElement.class);
      TableTableCellElement lastCell = (TableTableCellElement) contentDom2.getXPath().evaluate(
          "//table:table-cell[last()]", contentDom2, XPathConstants.NODE);
      lastCell.appendChild(drawFrame);
      drawFrame.removeAttribute("text:anchor-type");
      this.drawFrame = drawFrame;
      return drawFrame;
    }
   
    private Chart createChart(String title, SpreadsheetDocument document, CellRangeAddressList cellRangeAddr, boolean firstRowAsLabel,
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.style.StyleParagraphPropertiesElement.removeAttribute()

          .getElementsByTagName("style:paragraph-properties");
      if (paragraphProperties != null
          && paragraphProperties.getLength() > 0) {
        StyleParagraphPropertiesElement property = (StyleParagraphPropertiesElement) paragraphProperties
            .item(0);
        property.removeAttribute("fo:break-before");
        property.removeAttribute("fo:break-after");
        property.removeAttribute("style:page-number");
      }
      modifiedStyleElement.removeAttribute("style:master-page-name");
      newName = name + "-" + makeUniqueName();
View Full Code Here

Examples of org.odftoolkit.odfdom.incubator.doc.draw.OdfDrawFrame.removeAttribute()

      XPath xpath = contentDom.getXPath();
      if (this instanceof SpreadsheetDocument) {
        TableTableCellElement lastCell = (TableTableCellElement) xpath.evaluate("//table:table-cell[last()]",
            contentDom, XPathConstants.NODE);
        lastCell.appendChild(drawFrame);
        drawFrame.removeAttribute("text:anchor-type");

      } else if (this instanceof TextDocument) {
        TextPElement lastPara = (TextPElement) xpath.evaluate("//text:p[last()]", contentDom,
            XPathConstants.NODE);
        if (lastPara == null) {
View Full Code Here

Examples of org.odftoolkit.odfdom.pkg.OdfElement.removeAttribute()

            .item(0);
        property.removeAttribute("fo:break-before");
        property.removeAttribute("fo:break-after");
        property.removeAttribute("style:page-number");
      }
      modifiedStyleElement.removeAttribute("style:master-page-name");
      newName = name + "-" + makeUniqueName();
      NamedNodeMap attributes = modifiedStyleElement.getAttributes();
      if (attributes != null) {
        for (int i = 0; i < attributes.getLength(); i++) {
          Node item = attributes.item(i);
View Full Code Here

Examples of org.ofbiz.order.shoppingcart.ShoppingCart.removeAttribute()

        return ServiceUtil.returnSuccess();
    }

    public static String expressCheckoutCancel(HttpServletRequest request, HttpServletResponse response) {
        ShoppingCart cart = ShoppingCartEvents.getCartObject(request);
        cart.removeAttribute("payPalCheckoutToken");
        return "success";
    }

    public static CheckoutType determineCheckoutType(HttpServletRequest request) {
        Delegator delegator = (Delegator) request.getAttribute("delegator");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.