Package com.volantis.mcs.dissection.links

Examples of com.volantis.mcs.dissection.links.ShardLinkDetails


        accumulator.add(getString(context).length());
    }

    public String getString(TStringContext context) {

        ShardLinkDetails details = context.getShardLinkDetails();
        if (details == null) {
            return null;
        } else {
            MarinerURL url = details.getURL();
            return url.getExternalForm();
        }
    }
View Full Code Here


        ShardLink shardLink = (ShardLink) document.getAnnotation(element);
        DissectableArea area = shardLink.getDissectableArea();
        Shard shard = selectedShards.getShard(area);

        // Get the details from the shard.
        ShardLinkDetails details = shardLink.getDetails(shard);

        // If the details are null then the shard does not require that link
        // so we must not serialize it.
        if (details != null) {
            contentHandler.shardLink(element, details);
View Full Code Here

        Shard shard = selectedShards.getShard(area);
        // Get the shard link details from the group.
        int i;
        for (i = 0; i < count; i += 1) {
            ShardLink link = group.getShardLink(i);
            ShardLinkDetails details = link.getDetails(shard);
            detailsArray[i] = details;
        }

        // Make sure that the rest of the array is empty.
        for (; i < detailsArray.length; i += 1) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.dissection.links.ShardLinkDetails

Copyright © 2018 www.massapicom. 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.