Class Param
- java.lang.Object
-
- network.oxalis.peppol.schematron.jaxb.quickfix.Param
-
public class Param 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"> <choice maxOccurs="unbounded" minOccurs="0"> <any processContents='lax'/> </choice> <attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/> <attGroup ref="{http://www.schematron-quickfix.com/validator/process}parameterAttributes"/> <attribute name="required" default="no"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="yes"/> <enumeration value="no"/> </restriction> </simpleType> </attribute> <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean_abstractThe valueprotected String_defaultMust be a valid XPath expression.protected List<Object>contentprotected StringnameMust be unique within a QuickFix.protected StringrequiredThe valueprotected StringtypeThe value should be a valid XML Schema type.
-
Constructor Summary
Constructors Constructor Description Param()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getContent()Gets the value of the content property.StringgetDefault()Must be a valid XPath expression.StringgetName()Must be unique within a QuickFix.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetRequired()The valueStringgetType()The value should be a valid XML Schema type.booleanisAbstract()The valuevoidsetAbstract(Boolean value)Sets the value of the abstract property.voidsetDefault(String value)Sets the value of the default property.voidsetName(String value)Sets the value of the name property.voidsetRequired(String value)Sets the value of the required property.voidsetType(String value)Sets the value of the type property.
-
-
-
Field Detail
-
required
protected String required
The value<?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="attributeValue">yes</icode>
is used for required,<?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="attributeValue">no</icode>
for optional.
-
_abstract
protected Boolean _abstract
The value<?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="attributeValue">true</icode>
is used for abstract parameter,<?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="attributeValue">false</icode>
for regular parameter.
-
name
protected String name
Must be unique within a QuickFix.
-
_default
protected String _default
Must be a valid XPath expression.
-
type
protected String type
The value should be a valid XML Schema type.
-
-
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
ObjectStringElement- Returns:
- The value of the content property.
-
getRequired
public String getRequired()
The value<?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="attributeValue">yes</icode>
is used for required,<?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="attributeValue">no</icode>
for optional.- Returns:
- possible object is
String
-
setRequired
public void setRequired(String value)
Sets the value of the required property.- Parameters:
value- allowed object isString- See Also:
getRequired()
-
isAbstract
public boolean isAbstract()
The value<?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="attributeValue">true</icode>
is used for abstract parameter,<?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="attributeValue">false</icode>
for regular parameter.- Returns:
- possible object is
Boolean
-
setAbstract
public void setAbstract(Boolean value)
Sets the value of the abstract property.- Parameters:
value- allowed object isBoolean- See Also:
isAbstract()
-
getName
public String getName()
Must be unique within a QuickFix.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.
-
getDefault
public String getDefault()
Must be a valid XPath expression.- Returns:
- possible object is
String
-
setDefault
public void setDefault(String value)
Sets the value of the default property.- Parameters:
value- allowed object isString- See Also:
getDefault()
-
getType
public String getType()
The value should be a valid XML Schema type.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type 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
-
-