Class APTHorizontalRule

  extended by
      extended by
          extended by

public class APTHorizontalRule
extends APTParent

This represents a horizontal rule in an APT document. Example: ====

This model is a bit special since it does not handle a value. It must extend APT just as all other models, but it its getValue() only returns the APT formatting for a horizontal rule, and ignores any value.

This must be a parent since there are child elements in the XML, but we ignore those since they are not relevant. All we need to know is that we have a horizontal rule.

Constructor Summary
Method Summary
protected  String getValue()
          Returns the value.
Methods inherited from class
addChild, getChildren, getLastChild, getUnformattedValue, hasChildren
Methods inherited from class
done, formatText, getParent, hasValue, isAllowFormat, isLink, setAllowFormat, setLink, setParent, setValue, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public APTHorizontalRule()
Method Detail


protected String getValue()
Returns the value.

getValue in class APT

Copyright © 2009-2010 Biltmore Group AB. All Rights Reserved.