Class AssertReportType
- java.lang.Object
-
- network.oxalis.peppol.schematron.jaxb.AssertReportType
-
public class AssertReportType extends Object
Java class for assertReportType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="assertReportType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{http://purl.oclc.org/dsdl/schematron}foreign"/> <element ref="{http://purl.oclc.org/dsdl/schematron}name"/> <element ref="{http://purl.oclc.org/dsdl/schematron}value-of"/> <element ref="{http://purl.oclc.org/dsdl/schematron}emph"/> <element ref="{http://purl.oclc.org/dsdl/schematron}dir"/> <element ref="{http://purl.oclc.org/dsdl/schematron}span"/> </choice> <attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/> <attGroup ref="{http://purl.oclc.org/dsdl/schematron}linkable"/> <attGroup ref="{http://www.schematron-quickfix.com/validator/process}messageAttributes"/> <attGroup ref="{http://purl.oclc.org/dsdl/schematron}rich"/> <attribute name="test" use="required" type="{http://purl.oclc.org/dsdl/schematron}exprValue" /> <attribute name="flag" type="{http://purl.oclc.org/dsdl/schematron}flagValue" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="diagnostics" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>contentprotected StringdefaultFixThe ID of a QuickFix which is referred by theprotected List<Object>diagnosticsThe optional diagnostics attribute is a reference to further diagnostic information.protected StringfixA list of IDs of the referred QuickFixes separated by white space.protected StringflagThe flag attribute allows more detailed outcomes.protected StringfpiA formal public identifier for the schema, phase or other element.protected StringiconThe location of a graphics file containing some visible representation of the severity, significance or other grouping of the associated element.protected StringidThe unique identifier with the schema for the element.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 StringroleA name describing the function of the assertion or context node in the pattern.protected StringseeThe URI of external information of interest to maintainers and users of the schema.protected Stringspaceprotected StringsubjectA path allowing more precise specification of nodes.protected StringtestThe required test attribute is an assertion test evaluated in the current context.
-
Constructor Summary
Constructors Constructor Description AssertReportType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getContent()Gets the value of the content property.StringgetDefaultFix()The ID of a QuickFix which is referred by theList<Object>getDiagnostics()The optional diagnostics attribute is a reference to further diagnostic information.StringgetFix()A list of IDs of the referred QuickFixes separated by white space.StringgetFlag()The flag attribute allows more detailed outcomes.StringgetFpi()A formal public identifier for the schema, phase or other element.StringgetIcon()The location of a graphics file containing some visible representation of the severity, significance or other grouping of the associated element.StringgetId()The unique identifier with the schema for the element.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.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetRole()A name describing the function of the assertion or context node in the pattern.StringgetSee()The URI of external information of interest to maintainers and users of the schema.StringgetSpace()Gets the value of the space property.StringgetSubject()A path allowing more precise specification of nodes.StringgetTest()The required test attribute is an assertion test evaluated in the current context.voidsetDefaultFix(String value)Sets the value of the defaultFix property.voidsetFix(String value)Sets the value of the fix property.voidsetFlag(String value)Sets the value of the flag property.voidsetFpi(String value)Sets the value of the fpi property.voidsetIcon(String value)Sets the value of the icon 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.voidsetSee(String value)Sets the value of the see property.voidsetSpace(String value)Sets the value of the space property.voidsetSubject(String value)Sets the value of the subject property.voidsetTest(String value)Sets the value of the test property.
-
-
-
Field Detail
-
test
protected String test
The required test attribute is an assertion test evaluated in the current context. If the test evaluates positive, the assert succeeds.
-
flag
protected String flag
The flag attribute allows more detailed outcomes. A boolean variable with initial value false. A flag is implicitly declared by an assertion or rule having a flag attribute with that name. The value of a flag becomes true when an assertion with that flag fails or a rule with that flag fires. The purpose of flags is to convey state or severity information to a subsequent process.
-
id
protected String id
The unique identifier with the schema for the element.
-
diagnostics
protected List<Object> diagnostics
The optional diagnostics attribute is a reference to further diagnostic information.
-
role
protected String role
A name describing the function of the assertion or context node in the pattern. If the assertion has a subject attribute, then the role labels the arc between the context node and any nodes which match the path expression given by the subject attribute.
-
subject
protected String subject
A path allowing more precise specification of nodes. The path expression is evaluated in the context of the context node of the current rule. If no subject attribute is specified, the current subject node may be used.
-
fix
protected String fix
A list of IDs of the referred QuickFixes separated by white space.
-
defaultFix
protected String defaultFix
The ID of a QuickFix which is referred by the<?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">sqf:fix</icode>
attribute.
-
icon
protected String icon
The location of a graphics file containing some visible representation of the severity, significance or other grouping of the associated element.
-
see
protected String see
The URI of external information of interest to maintainers and users of the schema.
-
fpi
protected String fpi
A formal public identifier for the schema, phase or other element.
-
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.
-
space
protected String space
-
-
Method Detail
-
getContent
public List<Object> getContent()
Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
StringDirEmphNameSpanValueOfElement- Returns:
- The value of the content property.
-
getTest
public String getTest()
The required test attribute is an assertion test evaluated in the current context. If the test evaluates positive, the assert succeeds.- Returns:
- possible object is
String
-
setTest
public void setTest(String value)
Sets the value of the test property.
-
getFlag
public String getFlag()
The flag attribute allows more detailed outcomes. A boolean variable with initial value false. A flag is implicitly declared by an assertion or rule having a flag attribute with that name. The value of a flag becomes true when an assertion with that flag fails or a rule with that flag fires. The purpose of flags is to convey state or severity information to a subsequent process.- Returns:
- possible object is
String
-
setFlag
public void setFlag(String value)
Sets the value of the flag property.
-
getId
public String getId()
The unique identifier with the schema for the element.- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.
-
getDiagnostics
public List<Object> getDiagnostics()
The optional diagnostics attribute is a reference to further diagnostic information. Gets the value of the diagnostics 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 diagnostics property.For example, to add a new item, do as follows:
getDiagnostics().add(newItem);
Objects of the following type(s) are allowed in the list
Object- Returns:
- The value of the diagnostics property.
-
getRole
public String getRole()
A name describing the function of the assertion or context node in the pattern. If the assertion has a subject attribute, then the role labels the arc between the context node and any nodes which match the path expression given by the subject attribute.- Returns:
- possible object is
String
-
setRole
public void setRole(String value)
Sets the value of the role property.
-
getSubject
public String getSubject()
A path allowing more precise specification of nodes. The path expression is evaluated in the context of the context node of the current rule. If no subject attribute is specified, the current subject node may be used.- Returns:
- possible object is
String
-
setSubject
public void setSubject(String value)
Sets the value of the subject property.- Parameters:
value- allowed object isString- See Also:
getSubject()
-
getFix
public String getFix()
A list of IDs of the referred QuickFixes separated by white space.- Returns:
- possible object is
String
-
setFix
public void setFix(String value)
Sets the value of the fix property.
-
getDefaultFix
public String getDefaultFix()
The ID of a QuickFix which is referred by the<?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">sqf:fix</icode>
attribute.- Returns:
- possible object is
String
-
setDefaultFix
public void setDefaultFix(String value)
Sets the value of the defaultFix property.- Parameters:
value- allowed object isString- See Also:
getDefaultFix()
-
getIcon
public String getIcon()
The location of a graphics file containing some visible representation of the severity, significance or other grouping of the associated element.- Returns:
- possible object is
String
-
setIcon
public void setIcon(String value)
Sets the value of the icon property.
-
getSee
public String getSee()
The URI of external information of interest to maintainers and users of the schema.- Returns:
- possible object is
String
-
setSee
public void setSee(String value)
Sets the value of the see property.
-
getFpi
public String getFpi()
A formal public identifier for the schema, phase or other element.- Returns:
- possible object is
String
-
setFpi
public void setFpi(String value)
Sets the value of the fpi 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.
-
getSpace
public String getSpace()
Gets the value of the space property.- Returns:
- possible object is
String
-
setSpace
public void setSpace(String value)
Sets the value of the space property.- Parameters:
value- allowed object isString
-
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
-
-