net.jangaroo.exml.utils
Class ExmlUtils
java.lang.Object
net.jangaroo.exml.utils.ExmlUtils
public class ExmlUtils
- extends Object
Some useful utility functions for EXML handling.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExmlUtils
public ExmlUtils()
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.
findXsdJarEntries
public static Set<ZipEntry> findXsdJarEntries(ZipFile jarFile)
throws IOException
- Throws:
IOException
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.