• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hazendaz / sitemesh2 / 59

22 Mar 2026 02:30AM UTC coverage: 40.347%. Remained the same
59

push

github

hazendaz
[mvn] Update maven wrapper

698 of 1891 branches covered (36.91%)

Branch coverage included in aggregate %.

1555 of 3693 relevant lines covered (42.11%)

0.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/opensymphony/module/sitemesh/taglib/decorator/UsePageTEI.java
1
/*
2
 * SPDX-License-Identifier: Apache-2.0
3
 * Copyright 2011-2026 Hazendaz
4
 */
5
/*
6
 * Title:        UsePageTEI
7
 * Description:
8
 *
9
 * This software is published under the terms of the OpenSymphony Software
10
 * License version 1.1, of which a copy has been included with this
11
 * distribution in the LICENSE.txt file.
12
 */
13

14
package com.opensymphony.module.sitemesh.taglib.decorator;
15

16
import jakarta.servlet.jsp.tagext.TagData;
17
import jakarta.servlet.jsp.tagext.TagExtraInfo;
18
import jakarta.servlet.jsp.tagext.VariableInfo;
19

20
/**
21
 * TagExtraInfo implementation to expose Page object as variable.
22
 *
23
 * @author <a href="joe@truemesh.com">Joe Walnes</a>
24
 *
25
 * @see UsePageTag
26
 * @see UseHTMLPageTEI
27
 */
28
public class UsePageTEI extends TagExtraInfo {
×
29

30
    /**
31
     * Gets the type.
32
     *
33
     * @return the type
34
     */
35
    protected String getType() {
36
        return "com.opensymphony.module.sitemesh.Page";
×
37
    }
38

39
    @Override
40
    public VariableInfo[] getVariableInfo(TagData data) {
41
        String id = data.getAttributeString("id");
×
42
        return new VariableInfo[] { new VariableInfo(id, getType(), true, VariableInfo.AT_END) };
×
43
    }
44
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc