Package com.volantis.shared.metadata.value

Examples of com.volantis.shared.metadata.value.ImmutableMetaDataValueVisitee


            if (logger.isDebugEnabled()) {
                logger.debug("retrieving meta data value for path '" + xpath +
                             "' and service '" + serviceName + "'");
            }
            processor = new XPathProcessor(xpath);
            ImmutableMetaDataValueVisitee visitee =
                    (ImmutableMetaDataValueVisitee) characteristics;
            try {
                visitee.accept(this);
            } catch (RuntimeCharacteristicNotAvailableException e) {
                logger.error("service-def-path-failure",
                             new String[] {xpath, serviceName}, e);
                throw e.getCharacteristicNotAvailableException();
            }
View Full Code Here


                // check that the index is valid
                assertIndexValid(list, index);

                // index is ok so we can retrive the value and visit that
                ImmutableMetaDataValueVisitee visitee =
                        (ImmutableMetaDataValueVisitee)
                            list.get(index);
                visitee.accept(this);
            }
        }
View Full Code Here

                // before we retrieve the meta value from the set we need to
                // check the specified index is valid
                assertIndexValid(collection, index);
                // we can retrieve the meta value from the set and visit it
                Object[] items = collection.toArray();
                ImmutableMetaDataValueVisitee visitee =
                        (ImmutableMetaDataValueVisitee) items[index];
                visitee.accept(this);
            }
        }
View Full Code Here

            } else {
                Map fieldValues = immutableStructureValue.getFieldValuesAsMap();
                assertFieldNext();
                String field = processor.popPath();
                assertFieldAvaliable(fieldValues, field);
                ImmutableMetaDataValueVisitee visitee =
                        (ImmutableMetaDataValueVisitee) fieldValues.get(field);
                visitee.accept(this);
            }
        }
View Full Code Here

TOP

Related Classes of com.volantis.shared.metadata.value.ImmutableMetaDataValueVisitee

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.