public class CrawlIssueUrl extends ValueConstruct
AbstractExtension.AttributesHandler
attrName
localName, namespace
Constructor and Description |
---|
CrawlIssueUrl()
Default mutable constructor.
|
CrawlIssueUrl(java.lang.String url)
Constructor (mutable or immutable).
|
Modifier and Type | Method and Description |
---|---|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
java.lang.String |
getUrl()
Returns the value.
|
boolean |
hasUrl()
Returns whether it has the value.
|
void |
setUrl(java.lang.String url)
Sets the value.
|
java.lang.String |
toString() |
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue
disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public CrawlIssueUrl()
public CrawlIssueUrl(java.lang.String url)
url
- immutable value or null
for a mutable valuepublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- value or null
to resetpublic boolean hasUrl()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic java.lang.String toString()
toString
in class java.lang.Object