Class Fix
- java.lang.Object
-
- network.oxalis.peppol.schematron.jaxb.quickfix.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 Summary
Fields Modifier and Type Field Description protected List<Object>addOrDeleteOrReplaceprotected List<Object>anyOrAnyOrLetprotected CallFixcallFixThe description and other characteristics (e.g.protected List<Description>descriptionAdds a human readable description to the parent element.protected List<Element>foreignElementprotected Stringidcharacters of type xs:ID.protected StringlangAttempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility.protected List<Object>letOrUserEntryprotected List<Param>paramAbstract parameters (see attributeprotected StringroleDepends on which activity element is used by the QuickFix.protected StringuseWhenXPath expression.
-
Constructor Summary
Constructors Constructor Description Fix()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getAddOrDeleteOrReplace()Gets the value of the addOrDeleteOrReplace property.List<Object>getAnyOrAnyOrLet()Gets the value of the anyOrAnyOrLet property.CallFixgetCallFix()The description and other characteristics (e.g.List<Description>getDescription()Adds a human readable description to the parent element.List<Element>getForeignElement()Gets the value of the foreignElement property.StringgetId()characters of type xs:ID.StringgetLang()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.List<Object>getLetOrUserEntry()Gets the value of the letOrUserEntry property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.List<Param>getParam()Abstract parameters (see attributeStringgetRole()Depends on which activity element is used by the QuickFix.StringgetUseWhen()XPath expression.voidsetCallFix(CallFix value)Sets the value of the callFix property.voidsetId(String value)Sets the value of the id property.voidsetLang(String value)Sets the value of the lang property.voidsetRole(String value)Sets the value of the role property.voidsetUseWhen(String value)Sets the value of the useWhen property.
-
-
-
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.
-
description
protected List<Description> description
Adds a human readable description to the parent element.
-
callFix
protected CallFix callFix
The description and other characteristics (e.g. @use-when) of the called QuickFix will not be adopted.
-
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.
-
-
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
setmethod 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
setmethod 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
LetElement- 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
setmethod 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
setmethod 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 isCallFix- 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
setmethod 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
LetUserEntry- 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
setmethod 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
AddDeleteReplaceStringReplace- 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.
-
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 isString- 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.
-
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.
-
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
-
-