public class WebCommonMetaDataMerger extends Object
Constructor and Description |
---|
WebCommonMetaDataMerger() |
Modifier and Type | Method and Description |
---|---|
static void |
augment(WebCommonMetaData dest,
WebCommonMetaData webFragmentMetaData,
WebCommonMetaData webMetaData,
boolean resolveConflicts)
Merge web meta data, according to the merging rules specified by the
Servlet 3.0 specification.
|
public static void augment(WebCommonMetaData dest, WebCommonMetaData webFragmentMetaData, WebCommonMetaData webMetaData, boolean resolveConflicts)
webFragmentMetaData
- The web meta data which will be merged into
this onewebMetaData
- The base web meta data, used for conflict error
checkingresolveConflicts
- If true, any conflict will be skipped without an
error. Otherwise, an error will be thrown. If this is true, then
as all conflict will be resolved in favor of this object,
webMetaData will not be used and can be nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.