public class Cc extends ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
Cc()
Default mutable constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
Uri |
getUri()
Returns the uri.
|
Username |
getUsername()
Returns the username.
|
boolean |
hasUri()
Returns whether it has the uri.
|
boolean |
hasUsername()
Returns whether it has the username.
|
void |
setUri(Uri uri)
Sets the uri.
|
void |
setUsername(Username username)
Sets the username.
|
java.lang.String |
toString() |
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public Uri getUri()
public void setUri(Uri uri)
uri
- uri or null
to resetpublic boolean hasUri()
public Username getUsername()
public void setUsername(Username username)
username
- username or null
to resetpublic boolean hasUsername()
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