public class JControlModel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JControlModel.DictionaryPattern |
static class |
JControlModel.Feature |
static class |
JControlModel.MatchRule
During the merge, the current state of the nodes of a tree is applied to the nodes of
another tree.
|
static class |
JControlModel.PullRule |
static class |
JControlModel.PushRule
A push rule restricts what elements are pushed from the source to the target.
|
static class |
JControlModel.SortRule
The sort rule is used to ensure that the order of the attributes as declared
on the source is respected As usual you need to specify a Dictionary Pattern
to identify the attributes that should be treated.
|
static class |
JControlModel.SweepRule
A sweep rule removes elements from the target if they are NOT available
in the source.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.regex.Pattern |
blockPattern |
protected java.lang.String |
classPrefix |
protected java.util.List<JControlModel.DictionaryPattern> |
dictionaryPatterns |
protected FacadeHelper |
facadeHelper |
protected java.lang.String |
indent |
protected boolean |
indentIsSet |
protected java.util.List<JControlModel.MatchRule> |
matchRules |
protected static java.lang.Class<?>[] |
NO_PARAMETER_TYPES |
protected java.util.regex.Pattern |
noImportPattern |
protected java.util.List<JControlModel.PullRule> |
pullRules |
protected java.util.List<JControlModel.PushRule> |
pushRules |
protected java.lang.String |
redirect |
protected java.util.List<JControlModel.SortRule> |
sortRules |
protected boolean |
standardBraceStyle |
protected boolean |
standardBraceStyleIsSet |
protected java.util.List<JControlModel.SweepRule> |
sweepRules |
Constructor and Description |
---|
JControlModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
canMerge() |
static java.lang.Class<?> |
classForClassName(java.lang.String classPrefix,
java.lang.String className) |
boolean |
convertToStandardBraceStyle() |
protected JControlModel.DictionaryPattern |
createDictionaryPattern(java.lang.String classPrefix,
org.w3c.dom.Element elementChild) |
protected JControlModel.MatchRule |
createMatchRule(java.lang.String classPrefix,
org.w3c.dom.Element elementChild) |
protected JControlModel.PullRule |
createPullRule(java.lang.String classPrefix,
org.w3c.dom.Element elementChild) |
protected JControlModel.PushRule |
createPushRule(java.lang.String classPrefix,
org.w3c.dom.Element elementChild) |
protected JControlModel.SortRule |
createSortRule(java.lang.String classPrefix,
org.w3c.dom.Element elementChild) |
protected JControlModel.SweepRule |
createSweepRule(java.lang.String classPrefix,
org.w3c.dom.Element elementChild) |
java.util.regex.Pattern |
getBlockPattern() |
java.lang.String |
getClassPrefix() |
java.util.List<JControlModel.DictionaryPattern> |
getDictionaryPatterns() |
FacadeHelper |
getFacadeHelper() |
java.lang.String |
getLeadingTabReplacement() |
java.util.List<JControlModel.MatchRule> |
getMatchRules() |
java.util.regex.Pattern |
getNoImportPattern() |
java.util.List<JControlModel.PullRule> |
getPullRules() |
java.util.List<JControlModel.PushRule> |
getPushRules() |
java.lang.String |
getRedirect() |
java.util.List<JControlModel.SortRule> |
getSortRules() |
java.util.List<JControlModel.SweepRule> |
getSweepRules() |
protected void |
initialize(org.w3c.dom.Element element) |
void |
initialize(FacadeHelper facadeHelper,
java.lang.String uri) |
protected void |
initialize(java.lang.String uri) |
protected void |
setClassPrefix(java.lang.String classPrefix) |
void |
setConvertToStandardBraceStyle(boolean standardBraceStyle) |
protected void |
setFacadeHelper(FacadeHelper facadeHelper) |
void |
setLeadingTabReplacement(java.lang.String indent) |
protected static final java.lang.Class<?>[] NO_PARAMETER_TYPES
protected FacadeHelper facadeHelper
protected java.util.List<JControlModel.DictionaryPattern> dictionaryPatterns
protected java.util.List<JControlModel.PullRule> pullRules
protected java.util.List<JControlModel.PushRule> pushRules
protected java.util.List<JControlModel.SweepRule> sweepRules
protected java.util.List<JControlModel.SortRule> sortRules
protected java.util.List<JControlModel.MatchRule> matchRules
protected java.util.regex.Pattern blockPattern
protected java.util.regex.Pattern noImportPattern
protected java.lang.String redirect
protected boolean indentIsSet
protected java.lang.String indent
protected boolean standardBraceStyleIsSet
protected boolean standardBraceStyle
protected java.lang.String classPrefix
public static java.lang.Class<?> classForClassName(java.lang.String classPrefix, java.lang.String className)
protected void setFacadeHelper(FacadeHelper facadeHelper)
public FacadeHelper getFacadeHelper()
public boolean convertToStandardBraceStyle()
public void setConvertToStandardBraceStyle(boolean standardBraceStyle)
public java.lang.String getLeadingTabReplacement()
public void setLeadingTabReplacement(java.lang.String indent)
public java.lang.String getRedirect()
public java.util.regex.Pattern getBlockPattern()
public java.util.regex.Pattern getNoImportPattern()
public java.util.List<JControlModel.DictionaryPattern> getDictionaryPatterns()
public java.util.List<JControlModel.PullRule> getPullRules()
public java.util.List<JControlModel.PushRule> getPushRules()
public java.util.List<JControlModel.SweepRule> getSweepRules()
public java.util.List<JControlModel.SortRule> getSortRules()
public java.util.List<JControlModel.MatchRule> getMatchRules()
public boolean canMerge()
public void initialize(FacadeHelper facadeHelper, java.lang.String uri)
protected void initialize(java.lang.String uri)
protected void initialize(org.w3c.dom.Element element)
protected JControlModel.DictionaryPattern createDictionaryPattern(java.lang.String classPrefix, org.w3c.dom.Element elementChild)
protected JControlModel.PullRule createPullRule(java.lang.String classPrefix, org.w3c.dom.Element elementChild)
protected JControlModel.PushRule createPushRule(java.lang.String classPrefix, org.w3c.dom.Element elementChild)
protected JControlModel.SweepRule createSweepRule(java.lang.String classPrefix, org.w3c.dom.Element elementChild)
protected JControlModel.SortRule createSortRule(java.lang.String classPrefix, org.w3c.dom.Element elementChild)
protected JControlModel.MatchRule createMatchRule(java.lang.String classPrefix, org.w3c.dom.Element elementChild)
protected void setClassPrefix(java.lang.String classPrefix)
public java.lang.String getClassPrefix()