|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.common.extensibility.context.merge.handlers.BaseHandler
public abstract class BaseHandler
Convenience base class which all handler implementations extend. This class provides the common properties required by all MergeHandler implemenations.
| Field Summary | |
|---|---|
protected MergeHandler[] |
children
|
protected String |
name
|
protected int |
priority
|
protected String |
xpath
|
| Constructor Summary | |
|---|---|
BaseHandler()
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object arg0)
|
MergeHandler[] |
getChildren()
Retrieve any child merge handlers associated with this handler. |
String |
getName()
Retrieve the name associated with this merge handlers. |
int |
getPriority()
Retrieve the priority for the handler. |
String |
getXPath()
Retrieve the XPath query associated with this handler. |
void |
setChildren(MergeHandler[] children)
Set the child merge handlers |
void |
setName(String name)
Set the period-delimited numeric string that names this handler |
void |
setPriority(int priority)
Set the priority for this handler |
void |
setXPath(String xpath)
Set the xpath query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.broadleafcommerce.common.extensibility.context.merge.handlers.MergeHandler |
|---|
merge |
| Field Detail |
|---|
protected int priority
protected String xpath
protected MergeHandler[] children
protected String name
| Constructor Detail |
|---|
public BaseHandler()
| Method Detail |
|---|
public int getPriority()
MergeHandler
getPriority in interface MergeHandlerpublic String getXPath()
MergeHandler
getXPath in interface MergeHandlerpublic void setPriority(int priority)
MergeHandler
setPriority in interface MergeHandlerpublic void setXPath(String xpath)
MergeHandler
setXPath in interface MergeHandlerpublic int compareTo(Object arg0)
compareTo in interface Comparable<Object>public MergeHandler[] getChildren()
MergeHandler
getChildren in interface MergeHandlerpublic void setChildren(MergeHandler[] children)
MergeHandler
setChildren in interface MergeHandlerpublic String getName()
MergeHandler
getName in interface MergeHandlerpublic void setName(String name)
MergeHandler
setName in interface MergeHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||