/** * Creates a loader handler that unmarshals the body of the item. * * <p> * This will be sandwiched into <item> ... </item>. * * <p> * When unmarshalling the body of item, the Pack of {@link Lister} is available * as the handler state. * * @param chain * @param typeRef */ private Loader createItemUnmarshaller(UnmarshallerChain chain, RuntimeTypeRef typeRef) { if(PropertyFactory.isLeaf(typeRef.getSource())) { final Transducer xducer = typeRef.getTransducer(); return new TextLoader(xducer); } else { return refs.get(typeRef).getLoader(chain.context,true); } }
boolean isLeaf = isLeaf(info);
/** * Creates a loader handler that unmarshals the body of the item. * * <p> * This will be sandwiched into <item> ... </item>. * * <p> * When unmarshalling the body of item, the Pack of {@link Lister} is available * as the handler state. * * @param chain * @param typeRef */ private Loader createItemUnmarshaller(UnmarshallerChain chain, RuntimeTypeRef typeRef) { if(PropertyFactory.isLeaf(typeRef.getSource())) { final Transducer xducer = typeRef.getTransducer(); return new TextLoader(xducer); } else { return refs.get(typeRef).getLoader(chain.context,true); } }
boolean isLeaf = isLeaf(info);
/** * Creates a loader handler that unmarshals the body of the item. * * <p> * This will be sandwiched into <item> ... </item>. * * <p> * When unmarshalling the body of item, the Pack of {@link Lister} is available * as the handler state. * * @param chain * @param typeRef */ private Loader createItemUnmarshaller(UnmarshallerChain chain, RuntimeTypeRef typeRef) { if(PropertyFactory.isLeaf(typeRef.getSource())) { final Transducer xducer = typeRef.getTransducer(); return new TextLoader(xducer); } else { return refs.get(typeRef).getLoader(chain.context,true); } }
boolean isLeaf = isLeaf(info);
/** * Creates a loader handler that unmarshals the body of the item. * * <p> * This will be sandwiched into <item> ... </item>. * * <p> * When unmarshalling the body of item, the Pack of {@link Lister} is available * as the handler state. * * @param chain * @param typeRef */ private Loader createItemUnmarshaller(UnmarshallerChain chain, RuntimeTypeRef typeRef) { if(PropertyFactory.isLeaf(typeRef.getSource())) { final Transducer xducer = typeRef.getTransducer(); return new TextLoader(xducer); } else { return refs.get(typeRef).getLoader(chain.context,true); } }
boolean isLeaf = isLeaf(info);