コード例 #1
0
 private static XAttributeMap copyAttMap(XAttributeMap srcAttMap) {
   XAttributeMap destAttMap = new XAttributeMapImpl();
   Iterator<XAttribute> attit = srcAttMap.values().iterator();
   while (attit.hasNext()) {
     XAttribute att = attit.next();
     String key = att.getKey();
     att = (XAttribute) att.clone();
     destAttMap.put(key, att);
   }
   return destAttMap;
 }
コード例 #2
0
 private void putTimestamp(XAttributeMap attMap, String key, Date value) {
   attMap.put(key, new XAttributeTimestampImpl(key, value));
 }
コード例 #3
0
 private void putLiteral(XAttributeMap attMap, String key, String value) {
   attMap.put(key, new XAttributeLiteralImpl(key, value));
 }