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;
 }
Example #4
0
 /** Avoid calling this method. Use Logger API to log all stack traces. */
 public void printStackTrace(PrintStream out) {
   m_common.printStackTrace(out);
 }
Example #5
0
 /** Avoid calling this method. Use Logger API to log all stack traces. */
 public void printStackTrace() {
   m_common.printStackTrace();
 }
Example #6
0
 /** Package internal method for recursion. */
 void printStackTrace(PrintWriter out, Set visited) {
   m_common.printStackTrace(out, visited);
 }
Example #7
0
 /** Avoid calling this method. Use Logger API to log all stack traces. */
 public void printStackTrace(PrintWriter out) {
   m_common.printStackTrace(out);
 }
 private TokenCommentImpl getTokenComment() {
   this.ppComment.setPageSource(this.page);
   Token token = null;
   try {
     token = this.ppComment.parse();
   } catch (CommonException e) {
     e.printStackTrace();
   }
   return (TokenCommentImpl) token;
 }