Class Pattern
- java.lang.Object
-
- network.oxalis.peppol.schematron.jaxb.Pattern
-
public class Pattern 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"> <group ref="{http://purl.oclc.org/dsdl/schematron}foreign"/> <element ref="{http://purl.oclc.org/dsdl/schematron}include"/> <element ref="{http://purl.oclc.org/dsdl/schematron}title"/> <element ref="{http://purl.oclc.org/dsdl/schematron}p"/> <element ref="{http://purl.oclc.org/dsdl/schematron}let"/> <element ref="{http://purl.oclc.org/dsdl/schematron}rule"/> <element ref="{http://purl.oclc.org/dsdl/schematron}param"/> </choice> <attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/> <attGroup ref="{http://purl.oclc.org/dsdl/schematron}rich"/> <attribute name="abstract" default="false"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="true"/> <enumeration value="false"/> </restriction> </simpleType> </attribute> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="is-a" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected String_abstractIf true defines an abstract pattern.protected List<Object>anyOrAnyOrIncludeprotected 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 id attribute provides a unique name for the pattern and is required for abstract patterns.protected ObjectisAWhen a pattern element has the attribute is-a with a value specifying the name of an abstract pattern, then the pattern is an instance of an abstract pattern.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 StringseeThe URI of external information of interest to maintainers and users of the schema.protected Stringspace
-
Constructor Summary
Constructors Constructor Description Pattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbstract()If true defines an abstract pattern.List<Object>getAnyOrAnyOrInclude()Gets the value of the anyOrAnyOrInclude property.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 id attribute provides a unique name for the pattern and is required for abstract patterns.ObjectgetIsA()When a pattern element has the attribute is-a with a value specifying the name of an abstract pattern, then the pattern is an instance of an abstract pattern.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.StringgetSee()The URI of external information of interest to maintainers and users of the schema.StringgetSpace()Gets the value of the space property.voidsetAbstract(String value)Sets the value of the abstract 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.voidsetIsA(Object value)Sets the value of the isA property.voidsetLang(String value)Sets the value of the lang property.voidsetSee(String value)Sets the value of the see property.voidsetSpace(String value)Sets the value of the space property.
-
-
-
Field Detail
-
_abstract
protected String _abstract
If true defines an abstract pattern. Possible values are true and false.
-
id
protected String id
The id attribute provides a unique name for the pattern and is required for abstract patterns.
-
isA
protected Object isA
When a pattern element has the attribute is-a with a value specifying the name of an abstract pattern, then the pattern is an instance of an abstract pattern.
-
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
-
getAnyOrAnyOrInclude
public List<Object> getAnyOrAnyOrInclude()
Gets the value of the anyOrAnyOrInclude 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 anyOrAnyOrInclude property.For example, to add a new item, do as follows:
getAnyOrAnyOrInclude().add(newItem);
Objects of the following type(s) are allowed in the list
IncludeLetPParamRuleTitleElement- Returns:
- The value of the anyOrAnyOrInclude property.
-
getAbstract
public String getAbstract()
If true defines an abstract pattern. Possible values are true and false.- Returns:
- possible object is
String
-
setAbstract
public void setAbstract(String value)
Sets the value of the abstract property.- Parameters:
value- allowed object isString- See Also:
getAbstract()
-
getId
public String getId()
The id attribute provides a unique name for the pattern and is required for abstract patterns.- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.
-
getIsA
public Object getIsA()
When a pattern element has the attribute is-a with a value specifying the name of an abstract pattern, then the pattern is an instance of an abstract pattern.- Returns:
- possible object is
Object
-
setIsA
public void setIsA(Object value)
Sets the value of the isA property.
-
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
-
-