Class Fix


  • public class Fix
    extends Object

    Java class for anonymous complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.schematron-quickfix.com/validator/process}param" maxOccurs="unbounded" minOccurs="0"/>
             <choice maxOccurs="unbounded" minOccurs="0">
               <group ref="{http://www.schematron-quickfix.com/validator/process}foreign"/>
               <element ref="{http://purl.oclc.org/dsdl/schematron}let"/>
             </choice>
             <element ref="{http://www.schematron-quickfix.com/validator/process}description" maxOccurs="unbounded"/>
             <group ref="{http://www.schematron-quickfix.com/validator/process}foreign"/>
             <choice>
               <sequence>
                 <element ref="{http://www.schematron-quickfix.com/validator/process}call-fix"/>
               </sequence>
               <sequence>
                 <choice maxOccurs="unbounded" minOccurs="0">
                   <element ref="{http://purl.oclc.org/dsdl/schematron}let"/>
                   <element ref="{http://www.schematron-quickfix.com/validator/process}user-entry"/>
                 </choice>
                 <group ref="{http://www.schematron-quickfix.com/validator/process}activityElements"/>
               </sequence>
             </choice>
           </sequence>
           <attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/>
           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
           <attribute name="use-when" type="{http://www.w3.org/2001/XMLSchema}string" default="true()" />
           <attribute name="role">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                 <enumeration value="replace"/>
                 <enumeration value="add"/>
                 <enumeration value="stringReplace"/>
                 <enumeration value="delete"/>
                 <enumeration value="mix"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • param

        protected List<Param> param
        Abstract parameters (see attribute
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attribute">abstract</icode>
         
        ) cannot be used as normal XPath variables. An abstract parameter declares, that the current QuickFix uses a parameter of an abstract pattern. A QuickFix with one or more abstract parameters can be used just by abstract patterns. The value of the parameter will be set by the instantiation of the abstract pattern according to the Schematron specification. The instantiation of the abstract pattern must specify a value for every abstract parameter of the QuickFix.
      • anyOrAnyOrLet

        protected List<Object> anyOrAnyOrLet
      • description

        protected List<Description> description
        Adds a human readable description to the parent element.
      • foreignElement

        protected List<Element> foreignElement
      • callFix

        protected CallFix callFix
        The description and other characteristics (e.g. @use-when) of the called QuickFix will not be adopted.
      • letOrUserEntry

        protected List<Object> letOrUserEntry
      • addOrDeleteOrReplace

        protected List<Object> addOrDeleteOrReplace
      • id

        protected String id
        characters of type xs:ID. The value must be unique in the parent element.
      • useWhen

        protected String useWhen
        XPath expression. It expects as return value an xs:boolean.
      • role

        protected String role
        Depends on which activity element is used by the QuickFix.
      • lang

        protected String lang
        Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
    • Constructor Detail

      • Fix

        public Fix()
    • Method Detail

      • getParam

        public List<Param> getParam()
        Abstract parameters (see attribute
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attribute">abstract</icode>
         
        ) cannot be used as normal XPath variables. An abstract parameter declares, that the current QuickFix uses a parameter of an abstract pattern. A QuickFix with one or more abstract parameters can be used just by abstract patterns. The value of the parameter will be set by the instantiation of the abstract pattern according to the Schematron specification. The instantiation of the abstract pattern must specify a value for every abstract parameter of the QuickFix. Gets the value of the param property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the param property.

        For example, to add a new item, do as follows:

         getParam().add(newItem);
         

        Objects of the following type(s) are allowed in the list Param

        Returns:
        The value of the param property.
      • getAnyOrAnyOrLet

        public List<Object> getAnyOrAnyOrLet()
        Gets the value of the anyOrAnyOrLet property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the anyOrAnyOrLet property.

        For example, to add a new item, do as follows:

         getAnyOrAnyOrLet().add(newItem);
         

        Objects of the following type(s) are allowed in the list Let Element

        Returns:
        The value of the anyOrAnyOrLet property.
      • getDescription

        public List<Description> getDescription()
        Adds a human readable description to the parent element. Gets the value of the description property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the description property.

        For example, to add a new item, do as follows:

         getDescription().add(newItem);
         

        Objects of the following type(s) are allowed in the list Description

        Returns:
        The value of the description property.
      • getForeignElement

        public List<Element> getForeignElement()
        Gets the value of the foreignElement property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the foreignElement property.

        For example, to add a new item, do as follows:

         getForeignElement().add(newItem);
         

        Objects of the following type(s) are allowed in the list Element

        Returns:
        The value of the foreignElement property.
      • getCallFix

        public CallFix getCallFix()
        The description and other characteristics (e.g. @use-when) of the called QuickFix will not be adopted.
        Returns:
        possible object is CallFix
      • setCallFix

        public void setCallFix​(CallFix value)
        Sets the value of the callFix property.
        Parameters:
        value - allowed object is CallFix
        See Also:
        getCallFix()
      • getLetOrUserEntry

        public List<Object> getLetOrUserEntry()
        Gets the value of the letOrUserEntry property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the letOrUserEntry property.

        For example, to add a new item, do as follows:

         getLetOrUserEntry().add(newItem);
         

        Objects of the following type(s) are allowed in the list Let UserEntry

        Returns:
        The value of the letOrUserEntry property.
      • getAddOrDeleteOrReplace

        public List<Object> getAddOrDeleteOrReplace()
        Gets the value of the addOrDeleteOrReplace property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the addOrDeleteOrReplace property.

        For example, to add a new item, do as follows:

         getAddOrDeleteOrReplace().add(newItem);
         

        Objects of the following type(s) are allowed in the list Add Delete Replace StringReplace

        Returns:
        The value of the addOrDeleteOrReplace property.
      • getId

        public String getId()
        characters of type xs:ID. The value must be unique in the parent element.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
        See Also:
        getId()
      • getUseWhen

        public String getUseWhen()
        XPath expression. It expects as return value an xs:boolean.
        Returns:
        possible object is String
      • setUseWhen

        public void setUseWhen​(String value)
        Sets the value of the useWhen property.
        Parameters:
        value - allowed object is String
        See Also:
        getUseWhen()
      • getRole

        public String getRole()
        Depends on which activity element is used by the QuickFix.
        Returns:
        possible object is String
      • setRole

        public void setRole​(String value)
        Sets the value of the role property.
        Parameters:
        value - allowed object is String
        See Also:
        getRole()
      • getLang

        public String getLang()
        Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
        Returns:
        possible object is String
      • setLang

        public void setLang​(String value)
        Sets the value of the lang property.
        Parameters:
        value - allowed object is String
        See Also:
        getLang()
      • getOtherAttributes

        public Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null