Lines Matching refs:tag
96 // create a new stack for tag checking.
129 // create a new stack for tag checking.
458 * This begins a new tag with a indent
461 private void beginSection(String tag) throws java.io.IOException {
462 // store the current tag
463 setTag(tag);
468 writer.write("<" + tag + ">\n");
472 * This closes a tag started by beginTag with a indent
475 private void endSection(String tag) throws java.io.IOException {
484 if (tag.equals(beginTag) ) {
485 // get the current tag and write it out
496 // get the current tag and write it out
503 private void beginTag(String tag) throws java.io.IOException {
504 // store the current tag
505 setTag(tag);
509 // write tag out
510 writer.write("<" + tag + ">");
513 private void endTag(String tag) throws java.io.IOException {
515 if (tag.equals(beginTag)) {
516 // get the current tag and write it out
524 private void emptyTag(String tag) throws java.io.IOException {
526 writer.write("<" + tag + "/>");
529 private void setTag(String tag) {
530 // add the tag to stack
531 stack.push(tag);
602 private void propString(String tag, String s) throws java.io.IOException {
603 beginTag(tag);
605 endTag(tag);
608 private void propInteger(String tag, int i) throws java.io.IOException {
609 beginTag(tag);
611 endTag(tag);
614 private void propBoolean(String tag, boolean b) throws java.io.IOException {
615 beginTag(tag);
617 endTag(tag);