Package com.volantis.mcs.protocols.layouts

Examples of com.volantis.mcs.protocols.layouts.FormatInstance


     if(paneContexts == null) {
         return null;
     }
     Iterator itr = paneContexts.values().iterator();
     while(itr.hasNext()) {
         FormatInstance instance = (FormatInstance)itr.next();
         if(instance!=null) {
             panes.add(PAPIInternals.createPaneFormat(instance));
         }
     }
     return panes;
View Full Code Here


    Map paneContexts
      = pageContext.getDeviceLayoutContext().getPaneInstancesMap();
    if(paneContexts == null) {
      return null;
    }
    FormatInstance fi = (FormatInstance)(paneContexts.get(name));
    if(fi != null) {
      paneFormat = PAPIInternals.createPaneFormat(fi);
    }
    return paneFormat;
  }
View Full Code Here

        }

        // Javadoc inherited from super class.
        public boolean visit(ColumnIteratorPane format, Object object) {

            FormatInstance formatInstance = new ColumnIteratorPaneInstance(index);
            initialiseFormatInstance(formatInstance, format);
            // Only visit the topmost format.
            return true;
        }
View Full Code Here

        }

        // Javadoc inherited from super class.
        public boolean visit(DissectingPane format, Object object) {

            FormatInstance formatInstance = new DissectingPaneInstance(index);
            initialiseFormatInstance(formatInstance, format);

            // Initialise the context with appropriate values from it's format.
            DissectingPaneInstance dissectingInstance =
                    (DissectingPaneInstance) formatInstance;
View Full Code Here

        // Javadoc inherited from super class.
        public boolean visit(Fragment format, Object object)
                throws FormatVisitorException {

            FormatInstance formatInstance = new FragmentInstance(index);
            initialiseFormatInstance(formatInstance, format);
            // Only visit the topmost format.
            return true;
        }
View Full Code Here

        // Javadoc inherited from super class.
        public boolean visit(FormFragment format, Object object)
                throws FormatVisitorException {

            FormatInstance formatInstance = new FormFragmentInstance(index);
            initialiseFormatInstance(formatInstance, format);
            FormFragmentInstance formFragmentInstance =
                                      (FormFragmentInstance) formatInstance;
            formFragmentInstance.setNextLinkText(format.getNextLinkText());
            formFragmentInstance.setPreviousLinkText(format.
View Full Code Here

                }

                LayoutModule module = context.getLayoutModule();
                FormInstance formInstance = (FormInstance) instance;

                FormatInstance childInstance =
                        context.getFormatInstance(
                                child, instance.getIndex());

                // If the page contained an XFForm element
                if (formInstance.getPreambleBuffer(false) != null ||
View Full Code Here

        // Javadoc inherited from super class.
        public boolean visit(Fragment format, Object object)
                throws FormatVisitorException {

            FormatInstance formatInstance = getFormatInstance(format,
                    NDimensionalIndex.ZERO_DIMENSIONS);
            if (logger.isDebugEnabled()) {
                logger.debug("Collected fragment " + format + " : " +
                        formatInstance);
            }
View Full Code Here

        // Javadoc inherited from super class.
        public boolean visit(FormFragment format, Object object)
                throws FormatVisitorException {

            FormatInstance formatInstance = getFormatInstance(format,
                    NDimensionalIndex.ZERO_DIMENSIONS);
            if (logger.isDebugEnabled()) {
                logger.debug("Collected form fragment " + format + " : " +
                        formatInstance);
            }
View Full Code Here

        }

        // Javadoc inherited from super class.
        public boolean visit(Pane format, Object object) {

            FormatInstance formatInstance = getFormatInstance(format,
                    NDimensionalIndex.ZERO_DIMENSIONS);
            if (logger.isDebugEnabled()) {
                logger.debug("Collected pane " + format + " : " +
                        formatInstance);
            }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.layouts.FormatInstance

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.