Changeset 1536:1908eed4414a

Show
Ignore:
Timestamp:
10/22/10 15:59:59 (3 years ago)
Author:
Jean-Guilhem Rouel <jean-gui@…>
Branch:
default
Message:

Ticket #109 Allow to perform checks depending on the request type (URL, upload, direct)

Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • WebContent/WEB-INF/resources/schemas/tasklist.xsd

    r960 r1536  
    6262                                <xs:enumeration value="xpath"></xs:enumeration> 
    6363                                <xs:enumeration value="mimetype"></xs:enumeration> 
     64                                <xs:enumeration value="method"></xs:enumeration> 
    6465                        </xs:restriction> 
    6566                </xs:simpleType> 
  • src/org/w3c/unicorn/tasklisttree/EnumCondType.java

    r1337 r1536  
    55public enum EnumCondType { 
    66 
    7         XPATH("xpath"), MIMETYPE("mimetype"), PARAMETER("parameter"); 
     7    XPATH("xpath"), MIMETYPE("mimetype"), PARAMETER("parameter"), METHOD("method"); 
    88 
    99        private final String sValue; 
  • src/org/w3c/unicorn/tasklisttree/TLTCond.java

    r1337 r1536  
    6767                case XPATH: 
    6868                        return new XPathCond(); 
     69    case METHOD: 
     70        return new MethodCond(); 
    6971                default: 
    7072                        return null;