Java 类javax.servlet.jsp.tagext.TagLibraryValidator 实例源码

项目:packagedrone    文件:TagLibraryInfoImpl.java   
/**
    * Translation-time validation of the XML document
    * associated with the JSP page.
    * This is a convenience method on the associated 
    * TagLibraryValidator class.
    *
    * @param thePage The JSP page object
    * @return A string indicating whether the page is valid or not.
    */
   public ValidationMessage[] validate(PageData thePage) {
TagLibraryValidator tlv = getTagLibraryValidator();
if (tlv == null) return null;

       String uri = getURI();
       if (uri.startsWith("/")) {
           uri = URN_JSPTLD + uri;
       }

       ValidationMessage[] messages = tlv.validate(getPrefixString(), uri,
                                                   thePage);
       tlv.release();

       return messages;
   }
项目:package-drone    文件:TagLibraryInfoImpl.java   
/**
    * Translation-time validation of the XML document
    * associated with the JSP page.
    * This is a convenience method on the associated 
    * TagLibraryValidator class.
    *
    * @param thePage The JSP page object
    * @return A string indicating whether the page is valid or not.
    */
   public ValidationMessage[] validate(PageData thePage) {
TagLibraryValidator tlv = getTagLibraryValidator();
if (tlv == null) return null;

       String uri = getURI();
       if (uri.startsWith("/")) {
           uri = URN_JSPTLD + uri;
       }

       ValidationMessage[] messages = tlv.validate(getPrefixString(), uri,
                                                   thePage);
       tlv.release();

       return messages;
   }
项目:tomcat7    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:lams    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:apache-tomcat-7.0.73-with-comment    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:lazycat    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:class-guard    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:apache-tomcat-7.0.57    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:apache-tomcat-7.0.57    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:WBSAirback    文件:TagLibraryInfoImpl.java   
/**
 * Translation-time validation of the XML document associated with the JSP
 * page. This is a convenience method on the associated TagLibraryValidator
 * class.
 * 
 * @param thePage
 *            The JSP page object
 * @return A string indicating whether the page is valid or not.
 */
public ValidationMessage[] validate(PageData thePage) {
    TagLibraryValidator tlv = getTagLibraryValidator();
    if (tlv == null)
        return null;

    String uri = getURI();
    if (uri.startsWith("/")) {
        uri = URN_JSPTLD + uri;
    }

    return tlv.validate(getPrefixString(), uri, thePage);
}
项目:tomcat7    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:lams    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:apache-tomcat-7.0.73-with-comment    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:lazycat    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:packagedrone    文件:TagLibraryInfoImpl.java   
/**
    * The instance (if any) for the TagLibraryValidator class.
    * 
    * @return The TagLibraryValidator instance, if any.
    */
   public TagLibraryValidator getTagLibraryValidator() {
return tagLibraryValidator;
   }
项目:class-guard    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:package-drone    文件:TagLibraryInfoImpl.java   
/**
    * The instance (if any) for the TagLibraryValidator class.
    * 
    * @return The TagLibraryValidator instance, if any.
    */
   public TagLibraryValidator getTagLibraryValidator() {
return tagLibraryValidator;
   }
项目:apache-tomcat-7.0.57    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:apache-tomcat-7.0.57    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}
项目:WBSAirback    文件:TagLibraryInfoImpl.java   
/**
 * The instance (if any) for the TagLibraryValidator class.
 * 
 * @return The TagLibraryValidator instance, if any.
 */
public TagLibraryValidator getTagLibraryValidator() {
    return tagLibraryValidator;
}