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