/** * Get the reader handler associated to the object type (if any). */ public IObjectReaderHandler getReaderHandler() { return readerhandler!=null ? readerhandler : getSupertype()!=null ? getSupertype().getReaderHandler() : null; } }
/** * Get the attribute info. * @param xmlname The xml name of the attribute. * @return The attribute info. */ public Object getAttributeInfo(QName xmlname) { Object ret = attributeinfos==null? null: attributeinfos.get(xmlname); if(ret==null && getSupertype()!=null) ret = getSupertype().getAttributeInfo(xmlname); return ret; }
/** * Get the subobject infos. * @return The subobject info. */ public SubobjectInfo getSubobjectInfoWrite(Object attr) { SubobjectInfo ret = subobjectinfoswrite!=null? (SubobjectInfo)subobjectinfoswrite.get(attr): null; if(ret==null && getSupertype()!=null) ret = getSupertype().getSubobjectInfoWrite(attr); return ret; }
/** * Get the xml attribute names. * @return The attribute names. */ public Set getXMLAttributeNames() { Set ret = attributeinfos==null? new HashSet(): new HashSet(attributeinfos.keySet()); if(getSupertype()!=null) ret.addAll(getSupertype().getXMLAttributeNames()); return ret; }
/** * Get the subobject infos. * @return The subobject infos. */ public Collection getSubobjectInfos() { Collection ret = subobjectinfoswrite!=null? new LinkedHashSet(subobjectinfoswrite.values()): new LinkedHashSet(); if(getSupertype()!=null) ret.addAll(getSupertype().getSubobjectInfos()); return ret; }
/** * Get the attribute infos. * @return The attribute infos. */ public Collection getAttributeInfos() { Collection ret = attributeinfos==null? new HashSet(): attributeinfos.values(); if(getSupertype()!=null) ret.addAll(getSupertype().getAttributeInfos()); return ret; }
/** * Get the post-processor. * @return The post-processor */ public IPostProcessor getPostProcessor() { IPostProcessor ret = objectinfo!=null? objectinfo.getPostProcessor(): null; return ret!=null? ret: getSupertype()!=null? getSupertype().getPostProcessor(): null; }
/** * Get the comment info. * @return The comment */ public Object getCommentInfo() { Object cominfo = mapinfo!=null? mapinfo.getCommentInfo(): null; return cominfo!=null? cominfo: getSupertype()!=null? getSupertype().getCommentInfo(): null; }
/** * Get the content info. * @return The content info. */ public Object getContentInfo() { Object coninfo = mapinfo!=null? mapinfo.getContentInfo(): null; return coninfo!=null? coninfo: getSupertype()!=null? getSupertype().getContentInfo(): null; }
/** * Get the pre-processor. * @return The pre-processor */ public IPreProcessor getPreProcessor() { IPreProcessor ret = xmlinfo!=null? xmlinfo.getPreProcessor(): null; return ret!=null? ret: getSupertype()!=null? getSupertype().getPreProcessor(): null; }
if(getSupertype()!=null) Collection soinfos = getSupertype().getSubobjectInfos(); for(Iterator it=soinfos.iterator(); it.hasNext(); )