本文整理了Java中org.exolab.castor.xml.util.XMLFieldDescriptorImpl.getHandler()
方法的一些代码示例,展示了XMLFieldDescriptorImpl.getHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLFieldDescriptorImpl.getHandler()
方法的具体详情如下:
包路径:org.exolab.castor.xml.util.XMLFieldDescriptorImpl
类名称:XMLFieldDescriptorImpl
方法名:getHandler
暂无
代码示例来源:origin: org.codehaus.castor/com.springsource.org.castor
/**
* Returns the hashCode for this XMLFieldDescriptor
* @return the hashCode for this XMLFieldDescriptor
*/
public int hashCode() {
int hash = 17;
hash = 17 * getFieldName().hashCode();
hash = hash * 17 * getFieldType().hashCode();
if (getHandler() != null) { hash = hash * 17 * getHandler().hashCode(); }
return hash;
}
代码示例来源:origin: org.codehaus.castor/castor-xml
/**
* Returns the hashCode for this XMLFieldDescriptor
*
* @return the hashCode for this XMLFieldDescriptor
*/
public int hashCode() {
int hash = 17;
hash = 17 * getFieldName().hashCode();
hash = hash * 17 * getFieldType().hashCode();
if (getHandler() != null) {
hash = hash * 17 * getHandler().hashCode();
}
return hash;
}
代码示例来源:origin: org.codehaus.castor/com.springsource.org.castor
if (getHandler() == null) {
return (tmpHandler == null);
} else if (tmpHandler == null) {
return (getHandler().getClass().isInstance(tmpHandler));
代码示例来源:origin: org.codehaus.castor/castor-xml
if (getHandler() == null) {
return (tmpHandler == null);
} else if (tmpHandler == null) {
return (getHandler().getClass().isInstance(tmpHandler));
代码示例来源:origin: org.codehaus.castor/castor-xml
FieldHandler handler = fieldDesc.getHandler();
fieldDesc.setImmutable(true);
DateFieldHandler dfh = new DateFieldHandler(handler);
代码示例来源:origin: org.codehaus.castor/com.springsource.org.castor
XMLFieldDescriptorImpl fieldDesc =
(XMLFieldDescriptorImpl) dateDescriptors.get(i);
FieldHandler handler = fieldDesc.getHandler();
fieldDesc.setImmutable(true);
DateFieldHandler dfh = new DateFieldHandler(handler);
代码示例来源:origin: org.codehaus.castor/com.springsource.org.castor
if (xmlDesc.getHandler() != null && xmlDesc.getHandler() instanceof AbstractFieldHandler) {
AbstractFieldHandler handler = (AbstractFieldHandler) xmlDesc.getHandler();
handler.setFieldDescriptor(xmlDesc);
Object handler = xmlDesc.getHandler();
if (handler instanceof FieldHandlerImpl) {
FieldHandlerImpl handlerImpl = (FieldHandlerImpl)handler;
FieldHandler handler = new ToStringFieldHandler(fieldType, xmlDesc.getHandler());
代码示例来源:origin: org.codehaus.castor/castor-xml
getInternalContext().getPrimitiveNodeType());
if (xmlDesc.getHandler() != null && xmlDesc.getHandler() instanceof AbstractFieldHandler) {
AbstractFieldHandler handler = (AbstractFieldHandler) xmlDesc.getHandler();
handler.setFieldDescriptor(xmlDesc);
Object handler = xmlDesc.getHandler();
if (handler instanceof FieldHandlerImpl) {
FieldHandlerImpl handlerImpl = (FieldHandlerImpl) handler;
FieldHandler handler = new ToStringFieldHandler(fieldType, xmlDesc.getHandler());
代码示例来源:origin: org.codehaus.castor/com.springsource.org.castor
FieldHandler handler = new ContainerFieldHandler(fieldDesc.getHandler());
newFieldDesc.setHandler(handler);
fieldDesc.setHandler(handler);
代码示例来源:origin: org.codehaus.castor/castor-xml
if (getHandler() instanceof FieldHandlerImpl) {
setHandler(new DateFieldHandler(getHandler()));
代码示例来源:origin: org.codehaus.castor/com.springsource.org.castor
if (getHandler() instanceof FieldHandlerImpl) {
setHandler(new DateFieldHandler(getHandler()));
代码示例来源:origin: org.codehaus.castor/castor-xml
FieldHandler handler = new ContainerFieldHandler(fieldDesc.getHandler());
newFieldDesc.setHandler(handler);
fieldDesc.setHandler(handler);
内容来源于网络,如有侵权,请联系作者删除!