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