Class ContentType
- java.lang.Object
-
- net.webpdf.wsclient.schema.extraction.text.ContentType
-
- Direct Known Subclasses:
LinkType,ParagraphType,TextType,WordContentType
public class ContentType extends Object
Java class for ContentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="plain" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <attribute name="page" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description ContentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPage()Gets the value of the page property.StringgetPlain()Gets the value of the plain property.booleanisSetPage()booleanisSetPlain()voidsetPage(int value)Sets the value of the page property.voidsetPlain(String value)Sets the value of the plain property.
-
-
-
Field Detail
-
plain
protected String plain
-
page
protected int page
-
-
Method Detail
-
getPlain
public String getPlain()
Gets the value of the plain property.- Returns:
- possible object is
String
-
setPlain
public void setPlain(String value)
Sets the value of the plain property.- Parameters:
value- allowed object isString
-
isSetPlain
public boolean isSetPlain()
-
getPage
public int getPage()
Gets the value of the page property.
-
setPage
public void setPage(int value)
Sets the value of the page property.
-
isSetPage
public boolean isSetPage()
-
-