org.gvnix.flex.as.classpath
Class ASPhysicalTypeIdentifierNamingUtils

java.lang.Object
  extended by org.gvnix.flex.as.classpath.ASPhysicalTypeIdentifierNamingUtils

public class ASPhysicalTypeIdentifierNamingUtils
extends Object

Utility methods for manipulation of metadata id's for ActionScript source files.

Author:
Jeremy Grelle

Constructor Summary
ASPhysicalTypeIdentifierNamingUtils()
           
 
Method Summary
static String createIdentifier(String providesType, ActionScriptType actionScriptType, String path)
           
static ActionScriptType getActionScriptType(String providesType, String metadataIdentificationString)
           
static org.springframework.roo.project.LogicalPath getPath(String providesType, String metadataIdentificationString)
           
static boolean isValid(String providesType, String metadataIdentificationString)
          Indicates whether the presented metadata identification string appears to be valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASPhysicalTypeIdentifierNamingUtils

public ASPhysicalTypeIdentifierNamingUtils()
Method Detail

createIdentifier

public static final String createIdentifier(String providesType,
                                            ActionScriptType actionScriptType,
                                            String path)

getActionScriptType

public static final ActionScriptType getActionScriptType(String providesType,
                                                         String metadataIdentificationString)

getPath

public static final org.springframework.roo.project.LogicalPath getPath(String providesType,
                                                                        String metadataIdentificationString)

isValid

public static boolean isValid(String providesType,
                              String metadataIdentificationString)
Indicates whether the presented metadata identification string appears to be valid.

Parameters:
providesType - to verify the presented type (required)
metadataIdentificationString - to evaluate (can be null or empty)
Returns:
true only if the string appears to be valid


Copyright © 2010–2015 Conselleria d'Infraestructures i Transport - Generalitat Valenciana. All rights reserved.