org.cruxframework.crux.core.declarativeui.template
Class TemplateParser

java.lang.Object
  extended by org.cruxframework.crux.core.declarativeui.template.TemplateParser

public class TemplateParser
extends Object

Author:
Thiago da Rosa de Bustamante

Constructor Summary
TemplateParser()
           
 
Method Summary
 void extractParameterNames(String attrValue, Set<String> attributes)
           
 Set<String> getParameters(Document template)
           
 Set<Node> getParametersNodes(Document template)
           
 Map<String,Node> getSectionElements(Document template)
           
 Set<String> getSections(Document template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateParser

public TemplateParser()
Method Detail

getParameters

public Set<String> getParameters(Document template)
Parameters:
template -

getParametersNodes

public Set<Node> getParametersNodes(Document template)
Parameters:
template -

getSections

public Set<String> getSections(Document template)
Parameters:
template -
Returns:

getSectionElements

public Map<String,Node> getSectionElements(Document template)
Parameters:
template -
Returns:

extractParameterNames

public void extractParameterNames(String attrValue,
                                  Set<String> attributes)
Parameters:
attrValue -
attributes -


Copyright © 2014. All rights reserved.