/** * @see org.htmlparser.Tag#breaksFlow() */ public boolean breaksFlow() { return m_decorated.breaksFlow(); }
/** * @see org.htmlparser.Tag#breaksFlow() */ public boolean breaksFlow() { return m_decorated.breaksFlow(); }
/** * @see org.htmlparser.Tag#breaksFlow() */ public boolean breaksFlow() { return m_decorated.breaksFlow(); }
/** * Appends a NEWLINE to the output if the tag breaks flow, and * possibly sets the state of the PRE and SCRIPT flags. * @param tag The tag to examine. */ public void visitTag (Tag tag) { String name; if (tag instanceof LinkTag) if (getLinks ()) { // appends the link as text between angle brackets to the output. mBuffer.append ("<"); mBuffer.append (((LinkTag)tag).getLink ()); mBuffer.append (">"); } name = tag.getTagName (); if (name.equalsIgnoreCase ("PRE")) mIsPre = true; else if (name.equalsIgnoreCase ("SCRIPT")) mIsScript = true; else if (name.equalsIgnoreCase ("STYLE")) mIsStyle = true; if (tag.breaksFlow ()) carriageReturn (); }
/** * Appends a NEWLINE to the output if the tag breaks flow, and * possibly sets the state of the PRE and SCRIPT flags. * @param tag The tag to examine. */ public void visitTag (Tag tag) { String name; if (tag instanceof LinkTag) if (getLinks ()) { // appends the link as text between angle brackets to the output. mBuffer.append ("<"); mBuffer.append (((LinkTag)tag).getLink ()); mBuffer.append (">"); } name = tag.getTagName (); if (name.equalsIgnoreCase ("PRE")) mIsPre = true; else if (name.equalsIgnoreCase ("SCRIPT")) mIsScript = true; else if (name.equalsIgnoreCase ("STYLE")) mIsStyle = true; if (tag.breaksFlow ()) carriageReturn (); }