Class ExtractionLinksType.Text
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ExtractionLinksType.Text
-
- Enclosing class:
- ExtractionLinksType
public static class ExtractionLinksType.Text 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"> <attribute name="fromText" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="withoutProtocol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Text()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProtocol()<?booleanisFromText()<?booleanisSetFromText()booleanisSetProtocol()booleanisSetWithoutProtocol()booleanisWithoutProtocol()<?voidsetFromText(boolean value)Sets the value of the fromText property.voidsetProtocol(String value)Sets the value of the protocol property.voidsetWithoutProtocol(boolean value)Sets the value of the withoutProtocol property.voidunsetFromText()voidunsetWithoutProtocol()
-
-
-
Field Detail
-
fromText
protected Boolean fromText
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Advanced mode for extracting links When using this mode, links will not be extracted from annotations, but will instead be extracted directly from the text. This means that links that are not found in standard mode can be found with this advanced mode, provided that they are present in the form of text.</p>
-
protocol
protected String protocol
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Provides the option of filtering the links being extracted by protocol. If multiple protocols are specified, they need to be separated with commas (e.g., "http,https,ftp"). The following values are valid: "http","https","ftp", "telnet","mailto", "file", "nntp", and "notes".</p>
-
withoutProtocol
protected Boolean withoutProtocol
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">When enabled, incomplete URLs from which the protocol information is missing will be extracted as well when extracting links from text. This would apply to the following examples, for instance: <ul><li>"www.webpdf.de" - There is no protocol information. If the option is enabled and "http" links are searched for, the link will be extracted.</li><li>"ftp.softvision.de" - There is no protocol information here either. If the option is enabled and "ftp" links are searched for, the link will be extracted.</li></ul></p>
-
-
Method Detail
-
isFromText
public boolean isFromText()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Advanced mode for extracting links When using this mode, links will not be extracted from annotations, but will instead be extracted directly from the text. This means that links that are not found in standard mode can be found with this advanced mode, provided that they are present in the form of text.</p>
- Returns:
- possible object is
Boolean
-
setFromText
public void setFromText(boolean value)
Sets the value of the fromText property.- Parameters:
value- allowed object isBoolean- See Also:
isFromText()
-
isSetFromText
public boolean isSetFromText()
-
unsetFromText
public void unsetFromText()
-
getProtocol
public String getProtocol()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Provides the option of filtering the links being extracted by protocol. If multiple protocols are specified, they need to be separated with commas (e.g., "http,https,ftp"). The following values are valid: "http","https","ftp", "telnet","mailto", "file", "nntp", and "notes".</p>
- Returns:
- possible object is
String
-
setProtocol
public void setProtocol(String value)
Sets the value of the protocol property.- Parameters:
value- allowed object isString- See Also:
getProtocol()
-
isSetProtocol
public boolean isSetProtocol()
-
isWithoutProtocol
public boolean isWithoutProtocol()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">When enabled, incomplete URLs from which the protocol information is missing will be extracted as well when extracting links from text. This would apply to the following examples, for instance: <ul><li>"www.webpdf.de" - There is no protocol information. If the option is enabled and "http" links are searched for, the link will be extracted.</li><li>"ftp.softvision.de" - There is no protocol information here either. If the option is enabled and "ftp" links are searched for, the link will be extracted.</li></ul></p>- Returns:
- possible object is
Boolean
-
setWithoutProtocol
public void setWithoutProtocol(boolean value)
Sets the value of the withoutProtocol property.- Parameters:
value- allowed object isBoolean- See Also:
isWithoutProtocol()
-
isSetWithoutProtocol
public boolean isSetWithoutProtocol()
-
unsetWithoutProtocol
public void unsetWithoutProtocol()
-
-