public class MaskBuilder extends Object implements Builder
LayoutCatalog
.Constructor and Description |
---|
MaskBuilder(MaskCatalog catalog) |
Modifier and Type | Method and Description |
---|---|
void |
build(BaseNameSpaceTO layoutNameSpace,
NodeList nodes)
Parses all the nodes instantiating the masks and putting them into the LayoutCatalog.
|
void |
build(NodeList nodes)
Build the due part from the nodes given.
|
XPathExpression |
getExpression()
Must return the XPath expression that is to be used to fetch
the data for the builder.
|
ExceptionKey |
getParseKey()
It must return the key that is to be used for the exception in case
of parsin error.
|
public static final String NAME
public MaskBuilder(MaskCatalog catalog)
public void build(BaseNameSpaceTO layoutNameSpace, NodeList nodes)
layoutNameSpace
- The name space of the mask (optional) and the name of the mask.nodes
- The nodes of any document (configuration or layout) that contain the masks.public void build(NodeList nodes) throws BuilderException
Builder
build
in interface Builder
nodes
- The nodes which contain the data to be used.BuilderException
public XPathExpression getExpression()
Builder
getExpression
in interface Builder
public ExceptionKey getParseKey()
Builder
getParseKey
in interface Builder
Copyright © 2014. All Rights Reserved.