Examples of MetadataType


Examples of com.gwtplatform.dispatch.rest.client.MetadataType

    }

    @Subscribe
    public void handleRegisterMetadata(RegisterMetadataEvent event) {
        String metadata = event.getMetadata();
        MetadataType metadataType = event.getMetadataType();
        String actionClass = event.getActionClass();

        RegisterMetadataHolder metadataHolder = new RegisterMetadataHolder(actionClass, metadataType, metadata);
        getLogger().debug("Metadata " + metadata + " registered.");
View Full Code Here

Examples of com.topografix.gpx._1._1.MetadataType

  }

  @Override
  public String getName() {
    String result = null;
    MetadataType md = gpx.getMetadata();
    if( null != md ) {
      result = md.getName();
    }
    return result;
  }
View Full Code Here

Examples of com.tridion.broker.querying.MetadataType

      return sortColumn;
    }

    // assume it's custom meta key
    String customMetaKey = curentToken;
    MetadataType metadataType = getMetadataType();

    log.debug("Identified CustomMetaKeyColumn(" + customMetaKey + ", " + metadataType + ")");
    return new CustomMetaKeyColumn(customMetaKey, metadataType);
  }
View Full Code Here

Examples of com.volantis.shared.metadata.type.MetaDataType

        final ImmutableListType listType = (ImmutableListType) unmarshall(
            getResourceAsString("res/list-with-member-type-constraint-string.xml"),
            ImmutableListTypeImpl.class);

        // check the created object
        final MetaDataType memberType =
            listType.getMemberTypeConstraint().getMemberType();
        assertTrue(memberType instanceof StringType);

        final Object otherListType = doRoundTrip(listType);
        assertEquals(listType, otherListType);
View Full Code Here

Examples of net.glowstone.entity.meta.MetadataType

     */
    public static List<MetadataMap.Entry> readMetadata(ByteBuf buf) throws IOException {
        List<MetadataMap.Entry> entries = new ArrayList<>();
        byte item;
        while ((item = buf.readByte()) != 0x7F) {
            MetadataType type = MetadataType.byId(item >> 5);
            int id = item & 0x1f;
            MetadataIndex index = MetadataIndex.getIndex(id, type);

            switch (type) {
                case BYTE:
View Full Code Here

Examples of net.opengis.ows11.MetadataType

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetMetadata(MetadataType newMetadata, NotificationChain msgs) {
        MetadataType oldMetadata = metadata;
        metadata = newMetadata;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Fes20Package.AVAILABLE_FUNCTION_TYPE__METADATA, oldMetadata, newMetadata);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

Examples of net.sourceforge.gpstools.gpx.MetadataType

            return result;
        }
    }

    public TimeZone getTimeZone(GpxType gpx) throws TimeZoneBoundaryException, GeonamesException{
        MetadataType meta = gpx.getMetadata();
        if(meta != null){
            BoundsType bounds = meta.getBounds();
            if(bounds != null){
                return getTimeZone(bounds);
            }
        //}
        //no bounds found, try first wpt
View Full Code Here

Examples of org.apache.cxf.ws.addressing.MetadataType

    public static void setServiceAndPortName(EndpointReferenceType ref,
                                             QName serviceName,
                                             String portName) {
        if (null != serviceName) {
            JAXBElement<ServiceNameType> jaxbElement = getServiceNameType(serviceName, portName);
            MetadataType mt = ref.getMetadata();
            if (null == mt) {
                mt = new MetadataType();
                ref.setMetadata(mt);
            }

            mt.getAny().add(jaxbElement);
        }
    }
View Full Code Here

Examples of org.apache.cxf.ws.addressing.MetadataType

     * Gets the service name of the provided endpoint reference.
     * @param ref the endpoint reference.
     * @return the service name.
     */
    public static QName getServiceName(EndpointReferenceType ref, Bus bus) {
        MetadataType metadata = ref.getMetadata();
        if (metadata == null) {
            return null;
        }
        for (Object obj : metadata.getAny()) {
            if (obj instanceof Element) {
                Node node = (Element)obj;
                if ((node.getNamespaceURI().equals(JAXWSAConstants.NS_WSAW)
                    || node.getNamespaceURI().equals(NS_WSAW_2005))
                    && node.getLocalName().equals("ServiceName")) {
View Full Code Here

Examples of org.apache.cxf.ws.addressing.MetadataType

     * Gets the port name of the provided endpoint reference.
     * @param ref the endpoint reference.
     * @return the port name.
     */
    public static String getPortName(EndpointReferenceType ref) {
        MetadataType metadata = ref.getMetadata();
        if (metadata != null) {
            for (Object obj : metadata.getAny()) {
                if (obj instanceof Element) {
                    Node node = (Element)obj;
                    if ((node.getNamespaceURI().equals(JAXWSAConstants.NS_WSAW)
                        || node.getNamespaceURI().equals(NS_WSAW_2005))
                        && node.getNodeName().contains("ServiceName")) {
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.