コード例 #1
0
 /** Generate an AET Name for the attr passed in */
 private Name getNameForAttr(MXMLTagAttributeData attr) {
   String uri = attr.getURI();
   if (uri != null) {
     return new Name(
         ABCConstants.CONSTANT_QnameA,
         new Nsset(new Namespace(ABCConstants.CONSTANT_Namespace, uri)),
         attr.getShortName());
   } else {
     return new Name(
         ABCConstants.CONSTANT_QnameA,
         new Nsset(new Namespace(ABCConstants.CONSTANT_Namespace, "")),
         attr.getShortName());
   }
 }