public abstract class BaseHandler extends Object implements MergeHandler, Comparable<Object>
| Modifier and Type | Field and Description |
|---|---|
protected MergeHandler[] |
children |
protected String |
name |
protected int |
priority |
protected String |
xpath |
| Constructor and Description |
|---|
BaseHandler() |
| Modifier and Type | Method and Description |
|---|---|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergeprotected int priority
protected String xpath
protected MergeHandler[] children
protected String name
public int getPriority()
MergeHandlergetPriority in interface MergeHandlerpublic String getXPath()
MergeHandlergetXPath in interface MergeHandlerpublic void setPriority(int priority)
MergeHandlersetPriority in interface MergeHandlerpublic void setXPath(String xpath)
MergeHandlersetXPath in interface MergeHandlerpublic int compareTo(Object arg0)
compareTo in interface Comparable<Object>public MergeHandler[] getChildren()
MergeHandlergetChildren in interface MergeHandlerpublic void setChildren(MergeHandler[] children)
MergeHandlersetChildren in interface MergeHandlerpublic String getName()
MergeHandlergetName in interface MergeHandlerpublic void setName(String name)
MergeHandlersetName in interface MergeHandlerCopyright © 2015. All Rights Reserved.