Exemplo n.º 1
0
 private Node entry() {
   Element element = element(Namespace.ATOM.getUrl(), ENTRY);
   element.setAttributeNS(
       Namespace.XMLNS.getUrl(), Namespace.SNX.getNSPrefix(), Namespace.SNX.getUrl());
   Node root = rootNode(element);
   return root;
 }
Exemplo n.º 2
0
 private Element inRefTo() {
   Element element =
       element(
           Namespace.SNX.getUrl(),
           IN_REF_TO,
           attribute(REL, REPORT_ITEM),
           attribute(REF, id),
           attribute(REF_ITEM_TYPE, getItemType()));
   return element;
 }
 protected Element activityUuid() {
   return textElement(Namespace.SNX.getUrl(), ACTIVITY, entity.getActivityUuid());
 }