public class DefaultsBuilder extends Object implements Builder
LayoutCatalog
.Modifier and Type | Method and Description |
---|---|
void |
build(NodeList nodes)
Parses all the nodes instantiating the defaults and put them into the LayoutCatalog.
|
XPathExpression |
getExpression()
Must return the XPath expression that is to be used to fetch
the data for the builder.
|
static DefaultsBuilder |
getInstance()
Plain instantiation method.
|
ExceptionKey |
getParseKey()
It must return the key that is to be used for the exception in case
of parsin error.
|
public static final String DEFAULT
public static DefaultsBuilder getInstance()
public void build(NodeList nodes) throws BuilderException
build
in interface Builder
nodes
- The nodes of the configuration document containing the defaults.BuilderException
public XPathExpression getExpression()
Builder
getExpression
in interface Builder
public ExceptionKey getParseKey()
Builder
getParseKey
in interface Builder
Copyright © 2014. All Rights Reserved.