Пример #1
1
 public TokenTagImpl getTag() {
   this.ppTag.setPageSource(this.page);
   TokenTagImpl token = null;
   try {
     token = (TokenTagImpl) this.ppTag.parse();
   } catch (CommonException e) {
     e.printStackTrace();
   }
   return token;
 }
Пример #2
0
 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;
 }
Пример #3
0
 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;
 }
Пример #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;
 }