Lines Matching refs:attributes

99   public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) {
100 return createTag(element, attributes, null, null);
108 List<TagAttribute> attributes, String originalHtmlBeforeAttributes,
110 return new Tag(element, attributes, false, originalHtmlBeforeAttributes,
119 List<TagAttribute> attributes) {
120 return createSelfTerminatingTag(element, attributes, null, null);
128 List<TagAttribute> attributes, String originalHtmlBeforeAttributes,
130 return new Tag(element, attributes, true, originalHtmlBeforeAttributes,
507 private List<TagAttribute> attributes;
517 * @param attributes list of TagAttribute objects, may be null
534 private Tag(HTML.Element element, List<TagAttribute> attributes,
539 this.attributes = attributes;
564 if (attributes == null) {
565 attributes = new ArrayList<TagAttribute>();
567 attributes.add(attr);
570 /** Gets the list of attributes, note that this maybe null. */
572 return attributes;
577 if (attributes != null) {
578 for (TagAttribute attribute : attributes) {
593 if (attributes != null) {
594 for (TagAttribute attribute : attributes) {
609 if (attributes != null) {
610 for (TagAttribute attr : attributes) {
648 // before attributes
656 // attributes
657 if (attributes != null) {
658 for (TagAttribute attr : attributes) {
670 // after attributes
846 // Assume that value-less attribute are boolean attributes like "disabled"
1245 List<TagAttribute> attributes = tag.getAttributes();
1246 if (attributes != null) {
1250 for (TagAttribute a : attributes) {
1255 // Sort the attributes so that it's easier to read and compare