Nuxeo Enterprise Platform 5.3

org.nuxeo.theme.themes
Class ThemeParser

java.lang.Object
  extended by org.nuxeo.theme.themes.ThemeParser

public class ThemeParser
extends Object


Constructor Summary
ThemeParser()
           
 
Method Summary
static Node getBaseNode(Element doc)
           
static List<Node> getChildElementsByTagName(Node node, String tagName)
           
static void parseFormats(ThemeElement theme, Element doc, Node node)
           
static void parseLayout(Element parent, Node node)
           
static void parsePresets(ThemeElement theme, Node node)
           
static void parseProperties(Element doc, Node node)
           
static String registerTheme(ThemeDescriptor themeDescriptor)
           
static String registerTheme(ThemeDescriptor themeDescriptor, String xmlSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeParser

public ThemeParser()
Method Detail

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

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.