Examples of AttributeList


Examples of org.apache.xalan.xsltc.runtime.AttributeList

  else {
      SyntaxTreeNode parent = (SyntaxTreeNode)_parentStack.peek();
      parent.addElement(element);
      element.setParent(parent);
  }
  element.setAttributes((Attributes)new AttributeList(attributes));
  element.setPrefixMapping(_prefixMapping);
 
  if (element instanceof Stylesheet) {
      // Extension elements and excluded elements have to be
      // handled at this point in order to correctly generate
View Full Code Here

Examples of org.jfree.xml.writer.AttributeList

     * @param mi  the mapping info.
     *
     * @throws IOException if there is an I/O problem.
     */
    protected void writeManualMapping(final Writer writer, final ManualMappingInfo mi) throws IOException {
        final AttributeList al = new AttributeList();
        al.setAttribute(ClassModelTags.CLASS_ATTR, mi.getBaseClass().getName());
        al.setAttribute(ClassModelTags.READ_HANDLER_ATTR, mi.getReadHandler().getName());
        al.setAttribute(ClassModelTags.WRITE_HANDLER_ATTR, mi.getWriteHandler().getName());
        writeTag(writer, ClassModelTags.MANUAL_TAG, al, mi.getComments());
    }
View Full Code Here

Examples of org.jfree.xmlns.common.AttributeList

    // All styles have to be processed or you will loose the paragraph-styles and inline text-styles.
    // ..
    performStyleProcessing(attrs);

    final AttributeList attrList = buildAttributeList(attrs);
    xmlWriter.writeTag(namespace, elementType, attrList, XmlWriter.OPEN);
    // System.out.println("elementType = " + elementType);
  }
View Full Code Here

Examples of org.openquark.cal.caldoc.HTMLBuilder.AttributeList

     * @param childDivElementID the element ID for the children block of the node whose display is to be controlled by the toggle.
     * @param isPlaceholderOnly whether this is to be an inactive placeholder for a toggle.
     */
    private void generateModuleListTreeNodeToggle(final String childDivElementID, boolean isPlaceholderOnly) {

        final AttributeList attributes;
        final String toggleText;

        if (isPlaceholderOnly) {
            attributes = classAttribute(StyleClassConstants.TREE_NODE_TOGGLE_PLACEHOLDER);
            toggleText = " ";
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.common.AttributeList

    if (element instanceof AbstractReportDefinition == false)
    {
      throw new IllegalArgumentException();
    }

    final AttributeList rootAttributes = new AttributeList();
    rootAttributes.addNamespaceDeclaration("", BundleNamespaces.LAYOUT);
    rootAttributes.addNamespaceDeclaration("style", BundleNamespaces.STYLE);
    rootAttributes.addNamespaceDeclaration("core", AttributeNames.Core.NAMESPACE);
    rootAttributes.addNamespaceDeclaration("html", AttributeNames.Html.NAMESPACE);
    rootAttributes.addNamespaceDeclaration("swing", AttributeNames.Swing.NAMESPACE);
    rootAttributes.addNamespaceDeclaration("pdf", AttributeNames.Pdf.NAMESPACE);
    rootAttributes.addNamespaceDeclaration("wizard", AttributeNames.Wizard.NAMESPACE);

    final AttributeList attList = createMainAttributes(element, xmlWriter, rootAttributes);
    xmlWriter.writeTag(BundleNamespaces.LAYOUT, "layout", attList, XmlWriterSupport.OPEN);

    final AbstractReportDefinition report = (AbstractReportDefinition) element;
    final ReportPreProcessor[] processors = report.getPreProcessors();
    for (int i = 0; i < processors.length; i++)
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.common.AttributeList

      final Object property = beanUtility.getProperty(key);
      final Class propertyType = beanUtility.getPropertyType(key);
      final String value = beanUtility.getPropertyAsString(key);
      if (value != null && property != null)
      {
        final AttributeList attList = new AttributeList();
        attList.setAttribute(BundleNamespaces.LAYOUT, "name", key);
        if (BeanUtility.isSameType(propertyType, property.getClass()) == false)
        {
          attList.setAttribute(BundleNamespaces.LAYOUT, "class", property.getClass().getName());
        }
        writer.writeTag(BundleNamespaces.LAYOUT, "property", attList, XmlWriterSupport.OPEN);
        writer.writeTextNormalized(value, false);
        writer.writeCloseTag();
      }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.common.AttributeList

    if (element == null)
    {
      throw new NullPointerException();
    }

    final AttributeList attList = createMainAttributes(element, xmlWriter);
    xmlWriter.writeTag(BundleNamespaces.LAYOUT, "no-data", XmlWriterSupport.OPEN);
    xmlWriter.writeTag(BundleNamespaces.LAYOUT, "root-level-content", attList, XmlWriterSupport.OPEN);
    writeElementBody(bundle, state, element, xmlWriter);
    writeChildElements(bundle, state, xmlWriter, (Band) element);
    xmlWriter.writeCloseTag();
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.common.AttributeList

    if (element == null)
    {
      throw new NullPointerException();
    }

    final AttributeList attList = createMainAttributes(element, xmlWriter);
    xmlWriter.writeTag(BundleNamespaces.LAYOUT, "crosstab-title-footer", attList, XmlWriterSupport.OPEN);
    writeElementBody(bundle, state, element, xmlWriter);
    writeChildElements(bundle, state, xmlWriter, (Band) element);
    xmlWriter.writeCloseTag();
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.common.AttributeList

    if (element == null)
    {
      throw new NullPointerException();
    }

    final AttributeList attList = createMainAttributes(element, xmlWriter);
    xmlWriter.writeTag(BundleNamespaces.LAYOUT, "details-header", attList, XmlWriterSupport.OPEN);
    writeElementBody(bundle, state, element, xmlWriter);
    writeChildElements(bundle, state, xmlWriter, (Band) element);
    xmlWriter.writeCloseTag();
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.common.AttributeList

    if (element == null)
    {
      throw new NullPointerException();
    }

    final AttributeList attList = createMainAttributes(element, xmlWriter);
    xmlWriter.writeTag(BundleNamespaces.LAYOUT, "page-header", attList, XmlWriterSupport.OPEN);
    writeElementBody(bundle, state, element, xmlWriter);
    writeChildElements(bundle, state, xmlWriter, (Band) element);
    xmlWriter.writeCloseTag();
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.