Package net.sf.okapi.filters.xini.jaxb
Class Element
- java.lang.Object
-
- net.sf.okapi.filters.xini.jaxb.Element
-
public class Element extends Object
An element can either contain Fields or a TableJava class for Element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Element"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="ElementContent"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="Fields" type="{}Fields"/> <element name="Table" type="{}Table"/> <element name="INI_Table" type="{}INI_Table"/> </choice> </restriction> </complexContent> </complexType> </element> <element name="Style" type="{}TokenMaxLen255" minOccurs="0"/> <element name="Label" type="{}TokenMaxLen255" minOccurs="0"/> </all> <attribute name="ElementID" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="CustomerTextID" type="{}TokenMaxLen255" /> <attribute name="Size" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="AlphaList" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="ElementType" type="{}ElementType" default="editible text" /> <attribute name="RawSourceBeforeElement" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="RawSourceAfterElement" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElement.ElementContentJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected BooleanalphaListprotected StringcustomerTextIDprotected Element.ElementContentelementContentprotected intelementIDprotected ElementTypeelementTypeprotected Stringlabelprotected StringrawSourceAfterElementprotected StringrawSourceBeforeElementprotected Integersizeprotected Stringstyle
-
Constructor Summary
Constructors Constructor Description Element()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCustomerTextID()Gets the value of the customerTextID property.Element.ElementContentgetElementContent()Gets the value of the elementContent property.intgetElementID()Gets the value of the elementID property.ElementTypegetElementType()Gets the value of the elementType property.StringgetLabel()Gets the value of the label property.StringgetRawSourceAfterElement()Gets the value of the rawSourceAfterElement property.StringgetRawSourceBeforeElement()Gets the value of the rawSourceBeforeElement property.IntegergetSize()Gets the value of the size property.StringgetStyle()Gets the value of the style property.BooleanisAlphaList()Gets the value of the alphaList property.voidsetAlphaList(Boolean value)Sets the value of the alphaList property.voidsetCustomerTextID(String value)Sets the value of the customerTextID property.voidsetElementContent(Element.ElementContent value)Sets the value of the elementContent property.voidsetElementID(int value)Sets the value of the elementID property.voidsetElementType(ElementType value)Sets the value of the elementType property.voidsetLabel(String value)Sets the value of the label property.voidsetRawSourceAfterElement(String value)Sets the value of the rawSourceAfterElement property.voidsetRawSourceBeforeElement(String value)Sets the value of the rawSourceBeforeElement property.voidsetSize(Integer value)Sets the value of the size property.voidsetStyle(String value)Sets the value of the style property.
-
-
-
Field Detail
-
elementContent
protected Element.ElementContent elementContent
-
style
protected String style
-
label
protected String label
-
elementID
protected int elementID
-
customerTextID
protected String customerTextID
-
size
protected Integer size
-
alphaList
protected Boolean alphaList
-
elementType
protected ElementType elementType
-
rawSourceBeforeElement
protected String rawSourceBeforeElement
-
rawSourceAfterElement
protected String rawSourceAfterElement
-
-
Method Detail
-
getElementContent
public Element.ElementContent getElementContent()
Gets the value of the elementContent property.- Returns:
- possible object is
Element.ElementContent
-
setElementContent
public void setElementContent(Element.ElementContent value)
Sets the value of the elementContent property.- Parameters:
value- allowed object isElement.ElementContent
-
getStyle
public String getStyle()
Gets the value of the style property.- Returns:
- possible object is
String
-
setStyle
public void setStyle(String value)
Sets the value of the style property.- Parameters:
value- allowed object isString
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getElementID
public int getElementID()
Gets the value of the elementID property.
-
setElementID
public void setElementID(int value)
Sets the value of the elementID property.
-
getCustomerTextID
public String getCustomerTextID()
Gets the value of the customerTextID property.- Returns:
- possible object is
String
-
setCustomerTextID
public void setCustomerTextID(String value)
Sets the value of the customerTextID property.- Parameters:
value- allowed object isString
-
getSize
public Integer getSize()
Gets the value of the size property.- Returns:
- possible object is
Integer
-
setSize
public void setSize(Integer value)
Sets the value of the size property.- Parameters:
value- allowed object isInteger
-
isAlphaList
public Boolean isAlphaList()
Gets the value of the alphaList property.- Returns:
- possible object is
Boolean
-
setAlphaList
public void setAlphaList(Boolean value)
Sets the value of the alphaList property.- Parameters:
value- allowed object isBoolean
-
getElementType
public ElementType getElementType()
Gets the value of the elementType property.- Returns:
- possible object is
ElementType
-
setElementType
public void setElementType(ElementType value)
Sets the value of the elementType property.- Parameters:
value- allowed object isElementType
-
getRawSourceBeforeElement
public String getRawSourceBeforeElement()
Gets the value of the rawSourceBeforeElement property.- Returns:
- possible object is
String
-
setRawSourceBeforeElement
public void setRawSourceBeforeElement(String value)
Sets the value of the rawSourceBeforeElement property.- Parameters:
value- allowed object isString
-
getRawSourceAfterElement
public String getRawSourceAfterElement()
Gets the value of the rawSourceAfterElement property.- Returns:
- possible object is
String
-
-