Esempio n. 1
0
 /**
  * Private constructor used after parsing is done.
  *
  * @param originalKey for reference
  * @param upLevel How far up the tree to go
  * @param subPath Where to go down the tree
  */
 private TransposePathElement(String originalKey, int upLevel, String subPath) {
   super(originalKey);
   this.upLevel = upLevel;
   if (StringTools.isEmpty(subPath)) {
     this.subPathReader = null;
     canonicalForm = "@(" + upLevel + ",)";
   } else {
     subPathReader = new TransposeReader(subPath);
     canonicalForm = "@(" + upLevel + "," + subPathReader.getCanonicalForm() + ")";
   }
 }