Package org.apache.isis.runtimes.dflt.objectstores.xml.internal.data

Examples of org.apache.isis.runtimes.dflt.objectstores.xml.internal.data.CollectionData.references()


        xml.append("</value>\n");
    }

    private void writeCollection(final Data data, final StringBuffer xml) {
        final CollectionData collection = (CollectionData) data;
        final ReferenceVector refs = collection.references();
        for (int i = 0; i < refs.size(); i++) {
            final Object oid = refs.elementAt(i);
            xml.append("  <element ");
            xml.append("ref=\"" + encodedOid((SerialOid) oid) + "\"/>\n");
        }
View Full Code Here


        xml.append("</value>\n");
    }

    private void writeCollection(final Data data, final StringBuffer xml) {
        final CollectionData collection = (CollectionData) data;
        final ReferenceVector refs = collection.references();
        for (int i = 0; i < refs.size(); i++) {
            final Object oid = refs.elementAt(i);
            xml.append("  <element ");
            xml.append("ref=\"" + encodedOid((SerialOid) oid) + "\"/>\n");
        }
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.