private <T> PrimitiveXNode<T> createPrimitiveXNodeAttr(T val, QName type) { PrimitiveXNode<T> xprim = createPrimitiveXNode(val, type); xprim.setAttribute(true); return xprim; }
private <T> PrimitiveXNode<T> createPrimitiveXNode(T val, QName type) { PrimitiveXNode<T> xprim = new PrimitiveXNode<T>(); xprim.setValue(val, type); return xprim; }
private XNode serializePolyString(PolyString realValue) { PrimitiveXNode<PolyString> xprim = new PrimitiveXNode<>(); xprim.setValue(realValue, PolyStringType.COMPLEX_TYPE); return xprim; }