public TokenTagImpl getTag() {
   this.ppTag.setPageSource(this.page);
   TokenTagImpl token = null;
   try {
     token = (TokenTagImpl) this.ppTag.parse();
   } catch (CommonException e) {
     e.printStackTrace();
   }
   return token;
 }
 public TokenTextImpl getTokenText(final TokenTag latestTag) {
   this.ppText.setPageSource(this.page);
   this.ppText.setParentTokenTag(latestTag);
   TokenTextImpl tText = null;
   try {
     tText = (TokenTextImpl) this.ppText.parse();
   } catch (CommonException e) {
     e.printStackTrace();
   }
   return tText;
 }
 private TokenIgnoreTagValueImpl getIgnoredTagValue() {
   this.isIgnoredMode = false;
   this.ppIgrTagVal.setPageSource(this.page);
   this.ppIgrTagVal.setParentTag(this.latestTag);
   TokenIgnoreTagValueImpl igrTkVal = null;
   try {
     igrTkVal = (TokenIgnoreTagValueImpl) this.ppIgrTagVal.parse();
   } catch (CommonException e) {
     e.printStackTrace();
   }
   return igrTkVal;
 }
Esempio n. 4
-2
 private TokenCommentImpl getTokenComment() {
   this.ppComment.setPageSource(this.page);
   Token token = null;
   try {
     token = this.ppComment.parse();
   } catch (CommonException e) {
     e.printStackTrace();
   }
   return (TokenCommentImpl) token;
 }