net.jangaroo.exml.utils
Class ExmlUtils

java.lang.Object
  extended by net.jangaroo.exml.utils.ExmlUtils

public class ExmlUtils
extends Object

Some useful utility functions for EXML handling.


Constructor Summary
ExmlUtils()
           
 
Method Summary
static void addImport(Set<String> imports, String importedClassName)
           
static String createComponentClassName(String name)
          Create a ComponentClass name from the given name.
static String getCodeExpression(String attributeValue)
           
static boolean isCodeExpression(String attributeValue)
           
static boolean isExmlNamespace(String uri)
           
static String parsePackageFromNamespace(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExmlUtils

public ExmlUtils()
Method Detail

parsePackageFromNamespace

public static String parsePackageFromNamespace(String uri)

isExmlNamespace

public static boolean isExmlNamespace(String uri)

isCodeExpression

public static boolean isCodeExpression(String attributeValue)

getCodeExpression

public static String getCodeExpression(String attributeValue)

addImport

public static void addImport(Set<String> imports,
                             String importedClassName)

createComponentClassName

public static String createComponentClassName(String name)
Create a ComponentClass name from the given name. By convention all ComponentClass names are capitalized.

Parameters:
name - the name
Returns:
return the new config-class name, matching the conventions.


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.