Package org.dbwiki.data.document

Examples of org.dbwiki.data.document.DocumentAttributeNode.schema()


      throws java.sql.SQLException, org.dbwiki.exception.WikiException {
    for (int iChild = 0; iChild < group.children().size(); iChild++) {
      DocumentNode element = group.children().get(iChild);
      if (element.isAttribute()) {
        DocumentAttributeNode attributeChild = (DocumentAttributeNode)element;
        insertAttributeNode((AttributeSchemaNode)attributeChild.schema(), parent, entry, null, attributeChild.value(), attributeChild.getpre(), attributeChild.getpost());

      } else {
        DocumentGroupNode groupChild = (DocumentGroupNode)element;
        RDBMSDatabaseGroupNode node = insertGroupNode((GroupSchemaNode)groupChild.schema(), parent, entry, null, groupChild.getpre(), groupChild.getpost());
View Full Code Here


          if (!parameter.value().equals("")) {
            SchemaNode child = database().schema().get(Integer.parseInt(parameter.name().substring(RequestParameter.TextFieldIndicator.length())));
            if (child.isAttribute()) {
              DocumentAttributeNode attribute = new DocumentAttributeNode((AttributeSchemaNode)child);
              attribute.setValue(parameter.value());
              groupIndex.get(new Integer(attribute.schema().parent().id())).children().add(attribute);
            }
          }
        }
      }
      DocumentGroupNode.removeEmptyNodes(root);
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.