org.nuxeo.theme.themes
Class ThemeParser
java.lang.Object
org.nuxeo.theme.themes.ThemeParser
public class ThemeParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeParser
public ThemeParser()
registerTheme
public static String registerTheme(ThemeDescriptor themeDescriptor)
throws ThemeIOException
- Throws:
ThemeIOException
registerTheme
public static String registerTheme(ThemeDescriptor themeDescriptor,
String xmlSource)
throws ThemeIOException
- Throws:
ThemeIOException
parseLayout
public static void parseLayout(Element parent,
Node node)
throws ThemeIOException,
ThemeException
- Throws:
ThemeIOException
ThemeException
parsePresets
public static void parsePresets(ThemeElement theme,
Node node)
parseFormats
public static void parseFormats(ThemeElement theme,
Element doc,
Node node)
throws ThemeIOException,
ThemeException
- Throws:
ThemeIOException
ThemeException
parseProperties
public static void parseProperties(Element doc,
Node node)
throws ThemeIOException
- Throws:
ThemeIOException
getChildElementsByTagName
public static List<Node> getChildElementsByTagName(Node node,
String tagName)
getBaseNode
public static Node getBaseNode(Element doc)
throws ThemeIOException
- Throws:
ThemeIOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.