org.jboss.metadata.merge.web.spec
Class WebCommonMetaDataMerger
java.lang.Object
org.jboss.metadata.merge.web.spec.WebCommonMetaDataMerger
public class WebCommonMetaDataMerger
- extends Object
The web-app spec metadata, common between the fragments and the main web.xml
- Version:
- $Revision: 70996 $
- Author:
- Scott.Stark@jboss.org
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebCommonMetaDataMerger
public WebCommonMetaDataMerger()
augment
public 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. This is a special type of merging, where non
conflicting meta data augment existing meta data, rather than overriding
it. If there is a conflict when merging the fragment meta data, and the
main webMetaData does not resolve the conflict, an error will be thrown
or the conflict will be resolved in favor of this object, depending on
the value of the resolve flag.
- Parameters:
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 null
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.