Package | Description |
---|---|
buri.ddmsence |
The core package of DDMSence, which contains the abstract base classes which do not need to be directly referenced.
|
buri.ddmsence.ddms |
Contains the top-level DDMS component,
Resource , various exception classes, and other supporting classes. |
buri.ddmsence.ddms.extensible |
Contains the components from the "Extensible" layer of the DDMS specification.
|
buri.ddmsence.ddms.format |
Contains the components from the "Format" set of the DDMS specification.
|
buri.ddmsence.ddms.metacard |
Contains the components from the "Metacard" set of the DDMS specification.
|
buri.ddmsence.ddms.resource |
Contains the components from the "Resource" set of the DDMS specification.
|
buri.ddmsence.ddms.security |
Contains the components from the "Security" set of the DDMS specification.
|
buri.ddmsence.ddms.security.ism |
Contains the components from the "Security" set of the DDMS specification which exist in the ISM XML namespace.
|
buri.ddmsence.ddms.security.ntk |
Contains the components from the "Security" set of the DDMS specification which exist in the NTK XML namespace.
|
buri.ddmsence.ddms.summary |
Contains the components from the "Summary" set of the DDMS specification.
|
buri.ddmsence.ddms.summary.gml |
Contains the components from the "Summary" set of the DDMS specification which exist in the GML XML namespace.
|
buri.ddmsence.ddms.summary.tspi |
Contains the components from the "Summary" set of the DDMS specification which exist in the TSPI XML namespace.
|
buri.ddmsence.ddms.summary.xlink |
Contains the attributes which exist in the XLINK XML namespace.
|
buri.ddmsence.util |
Contains shared utility classes used throughout the project.
|
Modifier and Type | Method and Description |
---|---|
protected IRoleEntity |
AbstractTaskingRole.Builder.commitSelectedEntity()
Commits the entity which is active in this builder, based on the entityType.
|
protected IRoleEntity |
AbstractProducerRole.Builder.commitSelectedEntity()
Commits the entity which is active in this builder, based on the entityType.
|
protected nu.xom.Element |
AbstractTspiShape.Builder.commitXml()
Commits the XML string to a XOM element
|
protected nu.xom.Element |
AbstractTspiAddress.Builder.commitXml()
Commits the XML string to a XOM element
|
protected void |
AbstractBaseComponent.requireAtLeastVersion(String version)
Helper method to validate that a specific version of DDMS (or higher) is being used.
|
protected void |
AbstractBaseComponent.requireAtMostVersion(String version)
Helper method to validate that a specific version of DDMS (or lower) is being used.
|
protected void |
AbstractBaseComponent.setXOMElement(nu.xom.Element element,
boolean validateNow)
Accessor for the XOM element representing this component.
|
protected void |
AbstractTspiShape.validate() |
protected void |
AbstractTspiAddress.validate() |
protected void |
AbstractTaskingRole.validate() |
protected void |
AbstractSimpleString.validate() |
protected void |
AbstractRoleEntity.validate() |
protected void |
AbstractProducerRole.validate() |
protected void |
AbstractNtkString.validate() |
protected void |
AbstractBaseComponent.validate()
Base case for validation.
|
protected void |
AbstractAccessEntity.validate() |
protected void |
AbstractAttributeGroup.validate(DDMSVersion version)
Base validation case for attribute groups.
|
Constructor and Description |
---|
AbstractAccessEntity(nu.xom.Element element)
Constructor for creating a component from a XOM Element.
|
AbstractAccessEntity(String name,
SystemName systemName,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data.
|
AbstractBaseComponent()
Empty constructor
|
AbstractBaseComponent(nu.xom.Element element)
Base constructor
|
AbstractNtkString(boolean tokenBased,
nu.xom.Element element)
Base constructor which works from a XOM element.
|
AbstractNtkString(boolean tokenBased,
String name,
String value,
String id,
String idReference,
String qualifier,
SecurityAttributes securityAttributes,
boolean validateNow)
Constructor which builds from raw data.
|
AbstractProducerRole(nu.xom.Element element)
Base constructor
|
AbstractProducerRole(String producerType,
IRoleEntity entity,
List<String> pocTypes,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
AbstractQualifierValue()
This implicit superconstructor does nothing.
|
AbstractQualifierValue(nu.xom.Element element,
boolean useClassicAttributeNames)
Base constructor
|
AbstractQualifierValue(String name,
String qualifier,
String value,
boolean validateNow,
boolean useClassicAttributeNames)
Constructor which builds from raw data.
|
AbstractRoleEntity(nu.xom.Element element,
boolean validateNow)
Base constructor
|
AbstractRoleEntity(String entityName,
List<String> names,
List<String> phones,
List<String> emails,
ExtensibleAttributes extensibleAttributes)
Constructor which builds from raw data.
|
AbstractSimpleString(nu.xom.Element element,
boolean validateNow)
Base constructor which works from a XOM element.
|
AbstractSimpleString(String name,
String value,
SecurityAttributes attributes,
boolean validateNow)
Constructor which builds from raw data.
|
AbstractSimpleString(String prefix,
String namespace,
String name,
String value,
SecurityAttributes attributes,
boolean validateNow)
Constructor which builds from raw data.
|
AbstractTaskingRole(nu.xom.Element element)
Base constructor
|
AbstractTaskingRole(String roleType,
IRoleEntity entity,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
AbstractTspiAddress(nu.xom.Element element)
Base constructor which works from a XOM element.
|
AbstractTspiShape(nu.xom.Element element)
Base constructor which works from a XOM element.
|
Modifier and Type | Method and Description |
---|---|
Resource |
Resource.Builder.commit() |
IDDMSComponent |
IBuilder.commit()
Finalizes the data gathered for this builder instance.
|
ApproximableDate |
ApproximableDate.Builder.commit() |
protected void |
Resource.validate() |
protected void |
ApproximableDate.validate() |
static void |
ApproximableDate.validateApproximation(String approximation)
Validates an approximation against the allowed values.
|
static void |
ApproximableDate.validateElementName(String name)
Validates an element name against the allowed values.
|
Constructor and Description |
---|
ApproximableDate(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ApproximableDate(String name,
String description,
String approximableDate,
String approximation,
String searchableStartDate,
String searchableEndDate)
Constructor for creating a component from raw data
|
Resource(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Resource(List<IDDMSComponent> topLevelComponents,
Boolean resourceElement,
String createDate,
Integer ismDESVersion,
SecurityAttributes securityAttributes,
ExtensibleAttributes extensibleAttributes)
Constructor for creating a DDMS 3.0 Resource from raw data.
|
Resource(List<IDDMSComponent> topLevelComponents,
Boolean resourceElement,
String createDate,
List<String> compliesWiths,
Integer ismDESVersion,
Integer ntkDESVersion,
SecurityAttributes securityAttributes,
NoticeAttributes noticeAttributes,
ExtensibleAttributes extensibleAttributes)
Constructor for creating a DDMS resource of any version from raw data.
|
Resource(List<IDDMSComponent> topLevelComponents,
Boolean resourceElement,
String createDate,
List<String> compliesWiths,
Integer ismDESVersion,
SecurityAttributes securityAttributes,
ExtensibleAttributes extensibleAttributes)
Constructor for creating a DDMS 3.1 Resource from raw data.
|
Resource(List<IDDMSComponent> topLevelComponents,
ExtensibleAttributes extensibleAttributes)
Constructor for creating a DDMS 2.0 Resource from raw data.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtensibleAttributes.addTo(nu.xom.Element element)
Convenience method to add these attributes onto an existing XOM Element
|
ExtensibleElement |
ExtensibleElement.Builder.commit() |
ExtensibleAttributes |
ExtensibleAttributes.Builder.commit()
Finalizes the data gathered for this builder instance.
|
nu.xom.Attribute |
ExtensibleAttributes.AttributeBuilder.commit() |
static ExtensibleAttributes |
ExtensibleAttributes.getNonNullInstance(ExtensibleAttributes extensibleAttributes)
Returns a non-null instance of extensible attributes.
|
protected void |
ExtensibleElement.validate() |
protected void |
ExtensibleAttributes.validate(DDMSVersion version)
Currently, no further validation is performed.
|
Constructor and Description |
---|
ExtensibleAttributes(nu.xom.Element element)
Base constructor
|
ExtensibleAttributes(List<nu.xom.Attribute> attributes)
Constructor which builds from raw data.
|
ExtensibleElement(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Modifier and Type | Method and Description |
---|---|
Format |
Format.Builder.commit() |
Extent |
Extent.Builder.commit() |
protected void |
Format.validate() |
protected void |
Extent.validate()
Validates the component.
|
Constructor and Description |
---|
Extent(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Extent(String qualifier,
String value)
Constructor for creating a component from raw data
|
Format(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Format(String mimeType,
Extent extent,
String medium)
Constructor for creating a component from raw data
|
Modifier and Type | Method and Description |
---|---|
MetacardInfo |
MetacardInfo.Builder.commit() |
protected void |
MetacardInfo.validate() |
Constructor and Description |
---|
MetacardInfo(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
MetacardInfo(List<IDDMSComponent> childComponents,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Modifier and Type | Method and Description |
---|---|
Unknown |
Unknown.Builder.commit() |
Type |
Type.Builder.commit() |
Title |
Title.Builder.commit() |
TaskingInfo |
TaskingInfo.Builder.commit() |
TaskID |
TaskID.Builder.commit() |
Subtitle |
Subtitle.Builder.commit() |
SubOrganization |
SubOrganization.Builder.commit() |
Source |
Source.Builder.commit() |
Service |
Service.Builder.commit() |
Rights |
Rights.Builder.commit() |
RevisionRecall |
RevisionRecall.Builder.commit() |
ResourceManagement |
ResourceManagement.Builder.commit() |
RequesterInfo |
RequesterInfo.Builder.commit() |
RecordsManagementInfo |
RecordsManagementInfo.Builder.commit() |
RecordKeeper |
RecordKeeper.Builder.commit() |
Publisher |
Publisher.Builder.commit() |
ProcessingInfo |
ProcessingInfo.Builder.commit() |
PointOfContact |
PointOfContact.Builder.commit() |
Person |
Person.Builder.commit() |
Organization |
Organization.Builder.commit() |
Language |
Language.Builder.commit() |
Identifier |
Identifier.Builder.commit() |
Details |
Details.Builder.commit() |
Dates |
Dates.Builder.commit() |
Creator |
Creator.Builder.commit() |
Contributor |
Contributor.Builder.commit() |
ApplicationSoftware |
ApplicationSoftware.Builder.commit() |
Addressee |
Addressee.Builder.commit() |
protected void |
Unknown.validate() |
protected void |
Type.validate() |
protected void |
Title.validate() |
protected void |
TaskingInfo.validate() |
protected void |
TaskID.validate() |
protected void |
Subtitle.validate() |
protected void |
SubOrganization.validate() |
protected void |
Source.validate() |
protected void |
Service.validate() |
protected void |
Rights.validate() |
protected void |
RevisionRecall.validate() |
protected void |
ResourceManagement.validate() |
protected void |
RequesterInfo.validate() |
protected void |
RecordsManagementInfo.validate() |
protected void |
RecordKeeper.validate() |
protected void |
Publisher.validate() |
protected void |
ProcessingInfo.validate() |
protected void |
PointOfContact.validate() |
protected void |
Person.validate() |
protected void |
Organization.validate() |
protected void |
Language.validate() |
protected void |
Identifier.validate() |
protected void |
Details.validate() |
protected void |
Dates.validate() |
protected void |
Creator.validate() |
protected void |
Contributor.validate() |
protected void |
ApplicationSoftware.validate() |
protected void |
Addressee.validate() |
Constructor and Description |
---|
Addressee(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Addressee(IRoleEntity entity,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
ApplicationSoftware(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ApplicationSoftware(String value,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Contributor(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Contributor(IRoleEntity entity,
List<String> pocTypes,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
Creator(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Creator(IRoleEntity entity,
List<String> pocTypes,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
Dates(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Dates(List<ApproximableDate> acquiredOns,
String created,
String posted,
String validTil,
String infoCutOff,
String approvedOn,
String receivedOn)
Constructor for creating a component from raw data.
|
Dates(String created,
String posted,
String validTil,
String infoCutOff,
String approvedOn,
String receivedOn)
Deprecated.
A new constructor was added for DDMS 4.1 to support ddms:acquiredOn. This constructor is preserved
for backwards compatibility, but may disappear in the next major release.
|
Details(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Details(String value,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Identifier(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Identifier(String qualifier,
String value)
Constructor for creating a component from raw data
|
Language(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Language(String qualifier,
String value)
Constructor for creating a component from raw data
|
Organization(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Organization(List<String> names,
List<String> phones,
List<String> emails,
List<SubOrganization> subOrganizations,
String acronym)
Constructor for creating a component from raw data.
|
Organization(List<String> names,
List<String> phones,
List<String> emails,
List<SubOrganization> subOrganizations,
String acronym,
ExtensibleAttributes extensions)
Constructor for creating a component from raw data.
|
Person(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Person(List<String> names,
String surname,
List<String> phones,
List<String> emails,
String userID,
List<String> affiliations)
Constructor for creating a component from raw data.
|
Person(List<String> names,
String surname,
List<String> phones,
List<String> emails,
String userID,
List<String> affiliations,
ExtensibleAttributes extensions)
Constructor for creating a component from raw data.
|
PointOfContact(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
PointOfContact(IRoleEntity entity,
List<String> pocTypes,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
ProcessingInfo(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ProcessingInfo(String value,
String dateProcessed,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Publisher(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Publisher(IRoleEntity entity,
List<String> pocTypes,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
RecordKeeper(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
RecordKeeper(String recordKeeperID,
Organization organization)
Constructor which builds from raw data.
|
RecordsManagementInfo(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
RecordsManagementInfo(RecordKeeper recordKeeper,
ApplicationSoftware applicationSoftware,
Boolean vitalRecordIndicator)
Constructor for creating a component from raw data
|
RequesterInfo(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
RequesterInfo(IRoleEntity entity,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
ResourceManagement(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ResourceManagement(RecordsManagementInfo recordsManagementInfo,
RevisionRecall revisionRecall,
List<TaskingInfo> taskingInfos,
List<ProcessingInfo> processingInfos,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
RevisionRecall(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
RevisionRecall(List<Link> links,
List<Details> details,
Integer revisionID,
String revisionType,
String network,
String otherNetwork,
XLinkAttributes xlinkAttributes,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data, based on links and details.
|
RevisionRecall(String value,
Integer revisionID,
String revisionType,
String network,
String otherNetwork,
XLinkAttributes xlinkAttributes,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data, based on child text.
|
Rights(boolean privacyAct,
boolean intellectualProperty,
boolean copyright)
Constructor for creating a component from raw data
|
Rights(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Service(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Service(List<String> names,
List<String> phones,
List<String> emails)
Deprecated.
A new constructor was added for DDMS 5.0 to support ddms:affiliation. This constructor is preserved
for backwards compatibility, but may disappear in the next major release.
|
Service(List<String> names,
List<String> phones,
List<String> emails,
List<String> affiliations,
ExtensibleAttributes extensions)
Constructor for creating a component from raw data.
|
Source(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Source(String qualifier,
String value,
String schemaQualifier,
String schemaHref,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
SubOrganization(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
SubOrganization(String value,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Subtitle(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Subtitle(String subtitle,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
TaskID(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
TaskID(String value,
String taskingSystem,
String network,
String otherNetwork,
XLinkAttributes xlinkAttributes)
Constructor for creating a component from raw data
|
TaskingInfo(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
TaskingInfo(List<RequesterInfo> requesterInfos,
List<Addressee> addressees,
Description description,
TaskID taskID,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Title(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Title(String title,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Type(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Type(String description,
String qualifier,
String value,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Unknown(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Unknown(List<String> names,
List<String> phones,
List<String> emails)
Deprecated.
A new constructor was added for DDMS 5.0 to support ddms:affiliation. This constructor is preserved
for backwards compatibility, but may disappear in the next major release.
|
Unknown(List<String> names,
List<String> phones,
List<String> emails,
List<String> affiliations,
ExtensibleAttributes extensions)
Constructor for creating a component from raw data.
|
Modifier and Type | Method and Description |
---|---|
Security |
Security.Builder.commit() |
NoticeList |
NoticeList.Builder.commit() |
protected void |
Security.validate() |
protected void |
NoticeList.validate() |
Constructor and Description |
---|
NoticeList(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
NoticeList(List<Notice> notices,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Security(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Security(NoticeList noticeList,
Access access,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityAttributes.addTo(nu.xom.Element element)
Convenience method to add these attributes onto an existing XOM Element
|
void |
NoticeAttributes.addTo(nu.xom.Element element)
Convenience method to add these attributes onto an existing XOM Element
|
SecurityAttributes |
SecurityAttributes.Builder.commit()
Finalizes the data gathered for this builder instance.
|
NoticeText |
NoticeText.Builder.commit() |
NoticeAttributes |
NoticeAttributes.Builder.commit()
Finalizes the data gathered for this builder instance.
|
Notice |
Notice.Builder.commit() |
static NoticeAttributes |
NoticeAttributes.getNonNullInstance(NoticeAttributes noticeAttributes)
Returns a non-null instance of notice attributes.
|
static SecurityAttributes |
SecurityAttributes.getNonNullInstance(SecurityAttributes securityAttributes)
Returns a non-null instance of security attributes.
|
void |
SecurityAttributes.requireClassification()
Standalone validation method for components which require a classification and ownerProducer.
|
static void |
ISMVocabulary.requireValidNetwork(String network)
Validates the value of a network attribute from the IC-COMMON schema.
|
protected void |
NoticeText.validate() |
protected void |
Notice.validate() |
protected void |
SecurityAttributes.validate(DDMSVersion version)
Validates the attribute group.
|
protected void |
NoticeAttributes.validate(DDMSVersion version)
Validates the attribute group.
|
protected void |
SecurityAttributes.validateCompatibleVersion(DDMSVersion newParentVersion)
Compares the DDMS version of these attributes to another DDMS version
|
protected void |
NoticeAttributes.validateCompatibleVersion(DDMSVersion newParentVersion)
Compares the DDMS version of these attributes to another DDMS version
|
static void |
ISMVocabulary.validateEnumeration(DDMSVersion version,
String enumerationKey,
String value)
Helper method to validate a value from a controlled vocabulary.
|
Constructor and Description |
---|
Notice(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Notice(List<NoticeText> noticeTexts,
SecurityAttributes securityAttributes,
NoticeAttributes noticeAttributes)
Constructor for creating a component from raw data
|
NoticeAttributes(nu.xom.Element element)
Base constructor
|
NoticeAttributes(String noticeType,
String noticeReason,
String noticeDate,
String unregisteredNoticeType)
Deprecated.
A new constructor was added for DDMS 4.1 to support ism:externalNotice. This constructor is preserved
for backwards compatibility, but may disappear in the next major release.
|
NoticeAttributes(String noticeType,
String noticeReason,
String noticeDate,
String unregisteredNoticeType,
Boolean externalNotice)
Constructor which builds from raw data.
|
NoticeText(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
NoticeText(String value,
List<String> pocTypes,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
SecurityAttributes(nu.xom.Element element)
Base constructor
|
SecurityAttributes(String classification,
List<String> ownerProducers,
Map<String,String> otherAttributes)
Constructor which builds from raw data.
|
Modifier and Type | Method and Description |
---|---|
SystemName |
SystemName.Builder.commit() |
ProfileValue |
ProfileValue.Builder.commit() |
ProfileList |
ProfileList.Builder.commit() |
Profile |
Profile.Builder.commit() |
IndividualValue |
IndividualValue.Builder.commit() |
Individual |
Individual.Builder.commit() |
GroupValue |
GroupValue.Builder.commit() |
Group |
Group.Builder.commit() |
Access |
Access.Builder.commit() |
protected void |
SystemName.validate() |
protected void |
ProfileValue.validate() |
protected void |
ProfileList.validate() |
protected void |
Profile.validate() |
protected void |
IndividualValue.validate() |
protected void |
Individual.validate() |
protected void |
GroupValue.validate() |
protected void |
Group.validate() |
protected void |
Access.validate() |
Constructor and Description |
---|
Access(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Access(List<Individual> individuals,
List<Group> groups,
ProfileList profileList,
Boolean externalReference,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Access(List<Individual> individuals,
List<Group> groups,
ProfileList profileList,
SecurityAttributes securityAttributes)
Deprecated.
A new constructor was added for DDMS 4.1 to support ntk:externalResource. This constructor is
preserved for backwards compatibility, but may disappear in the next major release.
|
Group(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Group(SystemName systemName,
List<GroupValue> groupValues,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
GroupValue(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
GroupValue(String value,
String id,
String idReference,
String qualifier,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
Individual(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Individual(SystemName systemName,
List<IndividualValue> individualValues,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
IndividualValue(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
IndividualValue(String value,
String id,
String idReference,
String qualifier,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
Profile(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Profile(SystemName systemName,
List<ProfileValue> profileValues,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
ProfileList(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ProfileList(List<Profile> profiles,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
ProfileValue(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ProfileValue(String value,
String vocabulary,
String id,
String idReference,
String qualifier,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
SystemName(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
SystemName(String value,
String id,
String idReference,
String qualifier,
SecurityAttributes securityAttributes)
Constructor which builds from raw data.
|
Modifier and Type | Method and Description |
---|---|
VirtualCoverage |
VirtualCoverage.Builder.commit() |
VerticalExtent |
VerticalExtent.Builder.commit() |
TemporalCoverage |
TemporalCoverage.Builder.commit() |
SubjectCoverage |
SubjectCoverage.Builder.commit() |
SubDivisionCode |
SubDivisionCode.Builder.commit() |
RelatedResource |
RelatedResource.Builder.commit() |
ProductionMetric |
ProductionMetric.Builder.commit() |
PostalAddress |
PostalAddress.Builder.commit() |
NonStateActor |
NonStateActor.Builder.commit() |
Link |
Link.Builder.commit() |
Keyword |
Keyword.Builder.commit() |
GeospatialCoverage |
GeospatialCoverage.Builder.commit() |
GeographicIdentifier |
GeographicIdentifier.Builder.commit() |
FacilityIdentifier |
FacilityIdentifier.Builder.commit() |
Description |
Description.Builder.commit() |
CountryCode |
CountryCode.Builder.commit() |
Category |
Category.Builder.commit() |
BoundingGeometry |
BoundingGeometry.Builder.commit() |
BoundingBox |
BoundingBox.Builder.commit() |
protected ITspiAddress |
PostalAddress.Builder.commitSelectedAddress()
Commits the address which is active in this builder, based on the addressType.
|
protected void |
VirtualCoverage.validate() |
protected void |
VerticalExtent.validate() |
protected void |
TemporalCoverage.validate() |
protected void |
SubjectCoverage.validate() |
protected void |
SubDivisionCode.validate() |
protected void |
RelatedResource.validate() |
protected void |
ProductionMetric.validate() |
protected void |
PostalAddress.validate() |
protected void |
NonStateActor.validate() |
protected void |
Link.validate() |
protected void |
Keyword.validate() |
protected void |
GeospatialCoverage.validate() |
protected void |
GeographicIdentifier.validate() |
protected void |
FacilityIdentifier.validate() |
protected void |
Description.validate() |
protected void |
CountryCode.validate() |
protected void |
Category.validate() |
protected void |
BoundingGeometry.validate() |
protected void |
BoundingBox.validate() |
protected static void |
GeographicIdentifier.validateGencCountryCode(CountryCode countryCode)
Validates the syntax of the codespace/code value in a DDMS 5.0 (or later) country code.
|
static void |
VerticalExtent.validateLengthMeasureType(String lengthType)
Validates a length measure type against the allowed types.
|
static void |
RelatedResource.validateRelationshipDirection(String direction)
Asserts that a direction is valid.
|
static void |
VerticalExtent.validateVerticalDatumType(String datumType)
Validates a vertical datum type against the allowed types.
|
Constructor and Description |
---|
BoundingBox(double westBL,
double eastBL,
double southBL,
double northBL)
Constructor for creating a component from raw data
|
BoundingBox(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
BoundingGeometry(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
BoundingGeometry(List<ITspiShape> shapes)
Constructor for creating a component from raw data
|
BoundingGeometry(List<Polygon> polygons,
List<Point> points)
Constructor for creating a component from raw data, in earlier versions of DDMS.
|
Category(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Category(String qualifier,
String code,
String label,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Category(String qualifier,
String code,
String label,
SecurityAttributes securityAttributes,
ExtensibleAttributes extensibleAttributes)
Constructor for creating a component from raw data
|
CountryCode(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
CountryCode(String qualifier,
String value)
Constructor for creating a component from raw data
|
Description(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Description(String description,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
FacilityIdentifier(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
FacilityIdentifier(String beNumber,
String osuffix)
Constructor for creating a component from raw data
|
GeographicIdentifier(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
GeographicIdentifier(FacilityIdentifier facilityIdentifier)
Constructor for creating a component from raw data
|
GeographicIdentifier(List<String> names,
List<String> regions,
CountryCode countryCode,
SubDivisionCode subDivisionCode)
Constructor for creating a component from raw data.
|
GeospatialCoverage(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
GeospatialCoverage(GeographicIdentifier geographicIdentifier,
BoundingBox boundingBox,
BoundingGeometry boundingGeometry,
PostalAddress postalAddress,
VerticalExtent verticalExtent,
String precedence,
Integer order,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Keyword(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Keyword(String value,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Keyword(String value,
SecurityAttributes securityAttributes,
ExtensibleAttributes extensibleAttributes)
Constructor for creating a component from raw data.
|
Link(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Link(XLinkAttributes xlinkAttributes)
Constructor for creating a component from raw data
|
Link(XLinkAttributes xlinkAttributes,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
NonStateActor(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
NonStateActor(String value,
Integer order,
SecurityAttributes securityAttributes)
Deprecated.
A new constructor was added for DDMS 4.1 to support ddms:qualifier. This constructor is preserved for
backwards compatibility, but may disappear in the next major release.
|
NonStateActor(String value,
Integer order,
String qualifier,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
PostalAddress(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
PostalAddress(ITspiAddress address)
Constructor for creating a component from raw data
|
PostalAddress(List<String> streets,
String city,
String stateOrProvince,
String postalCode,
CountryCode countryCode,
boolean hasState)
Constructor for creating a component from raw data
|
ProductionMetric(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
ProductionMetric(String subject,
String coverage,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data.
|
RelatedResource(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
RelatedResource(List<Link> links,
String relationship,
String direction,
String qualifier,
String value,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
SubDivisionCode(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
SubDivisionCode(String qualifier,
String value)
Constructor for creating a component from raw data
|
SubjectCoverage(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
SubjectCoverage(List<Keyword> keywords,
List<Category> categories,
List<ProductionMetric> productionMetrics,
List<NonStateActor> nonStateActors,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
TemporalCoverage(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
TemporalCoverage(String timePeriodName,
ApproximableDate approximableStart,
ApproximableDate approximableEnd,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data, using two approximable dates.
|
TemporalCoverage(String timePeriodName,
ApproximableDate approximableStart,
String endString,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data, using an approximable start date
and an exact end date.
|
TemporalCoverage(String timePeriodName,
String startString,
ApproximableDate approximableEnd,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data, using an exact start date
and an approximable end date.
|
TemporalCoverage(String timePeriodName,
String startString,
String endString,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data, using two exact date values.
|
VerticalExtent(double minVerticalExtent,
double maxVerticalExtent,
String unitOfMeasure,
String datum)
Constructor for creating a component from raw data
|
VerticalExtent(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
VirtualCoverage(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
VirtualCoverage(String address,
String protocol,
SecurityAttributes securityAttributes)
Deprecated.
A new constructor was added for DDMS 5.0 to support ntk:access and virt:network. This constructor is
preserved for backwards compatibility, but may disappear in the next major release.
|
VirtualCoverage(String address,
String protocol,
String access,
String network,
SecurityAttributes securityAttributes)
Constructor for creating a component from raw data
|
Modifier and Type | Method and Description |
---|---|
protected void |
SRSAttributes.addTo(nu.xom.Element element)
Convenience method to add these attributes onto an existing XOM Element
|
SRSAttributes |
SRSAttributes.Builder.commit()
Finalizes the data gathered for this builder instance.
|
Position |
Position.Builder.commit() |
Double |
Position.DoubleBuilder.commit() |
Polygon |
Polygon.Builder.commit() |
Point |
Point.Builder.commit() |
static SRSAttributes |
SRSAttributes.getNonNullInstance(SRSAttributes srsAttributes)
Returns a non-null instance of SRS attributes.
|
protected void |
Position.validate() |
protected void |
Polygon.validate() |
protected void |
Point.validate() |
protected void |
SRSAttributes.validate(DDMSVersion version) |
Constructor and Description |
---|
Point(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Point(Position position,
SRSAttributes srsAttributes,
String id)
Constructor for creating a component from raw data
|
Polygon(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Polygon(List<Position> positions,
SRSAttributes srsAttributes,
String id)
Constructor for creating a component from raw data
|
Position(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Position(List<Double> coordinates,
SRSAttributes srsAttributes)
Constructor for creating a component from raw data
|
SRSAttributes(nu.xom.Element element)
Base constructor
|
SRSAttributes(String srsName,
Integer srsDimension,
List<String> axisLabels,
List<String> uomLabels)
Constructor which builds from raw data.
|
Modifier and Type | Method and Description |
---|---|
USPSPostalDeliveryRoute |
USPSPostalDeliveryRoute.Builder.commit() |
USPSPostalDeliveryBox |
USPSPostalDeliveryBox.Builder.commit() |
USPSGeneralDeliveryOffice |
USPSGeneralDeliveryOffice.Builder.commit() |
UnnumberedThoroughfareAddress |
UnnumberedThoroughfareAddress.Builder.commit() |
TwoNumberAddressRange |
TwoNumberAddressRange.Builder.commit() |
Polygon |
Polygon.Builder.commit() |
Point |
Point.Builder.commit() |
NumberedThoroughfareAddress |
NumberedThoroughfareAddress.Builder.commit() |
LandmarkAddress |
LandmarkAddress.Builder.commit() |
IntersectionAddress |
IntersectionAddress.Builder.commit() |
GeneralAddressClass |
GeneralAddressClass.Builder.commit() |
Envelope |
Envelope.Builder.commit() |
Ellipse |
Ellipse.Builder.commit() |
Circle |
Circle.Builder.commit() |
protected void |
USPSPostalDeliveryRoute.validate() |
protected void |
USPSPostalDeliveryBox.validate() |
protected void |
USPSGeneralDeliveryOffice.validate() |
protected void |
UnnumberedThoroughfareAddress.validate() |
protected void |
TwoNumberAddressRange.validate() |
protected void |
Polygon.validate() |
protected void |
Point.validate() |
protected void |
NumberedThoroughfareAddress.validate() |
protected void |
LandmarkAddress.validate() |
protected void |
IntersectionAddress.validate() |
protected void |
GeneralAddressClass.validate() |
protected void |
Envelope.validate() |
protected void |
Ellipse.validate() |
protected void |
Circle.validate() |
Constructor and Description |
---|
Circle(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Ellipse(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Envelope(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
GeneralAddressClass(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
IntersectionAddress(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
LandmarkAddress(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
NumberedThoroughfareAddress(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Point(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Polygon(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
TwoNumberAddressRange(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
UnnumberedThoroughfareAddress(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
USPSGeneralDeliveryOffice(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
USPSPostalDeliveryBox(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
USPSPostalDeliveryRoute(nu.xom.Element element)
Constructor for creating a component from a XOM Element
|
Modifier and Type | Method and Description |
---|---|
void |
XLinkAttributes.addTo(nu.xom.Element element)
Convenience method to add these attributes onto an existing XOM Element
|
XLinkAttributes |
XLinkAttributes.Builder.commit()
Finalizes the data gathered for this builder instance.
|
static XLinkAttributes |
XLinkAttributes.getNonNullInstance(XLinkAttributes xlinkAttributes)
Returns a non-null instance of XLink attributes.
|
protected void |
XLinkAttributes.validate(DDMSVersion version)
Validates the attribute group.
|
protected void |
XLinkAttributes.validateCompatibleVersion(DDMSVersion newParentVersion)
Compares the DDMS version of these attributes to another DDMS version
|
Constructor and Description |
---|
XLinkAttributes()
Constructor which builds from raw data for an unknown type.
|
XLinkAttributes(nu.xom.Element element)
Base constructor
|
XLinkAttributes(String role,
String title,
String label)
Constructor which builds from raw data for a resource link.
|
XLinkAttributes(String href,
String role,
String title,
String label)
Constructor which builds from raw data for a locator link.
|
XLinkAttributes(String href,
String role,
String title,
String arcrole,
String show,
String actuate)
Constructor which builds from raw data for a simple link.
|
Modifier and Type | Method and Description |
---|---|
protected Resource |
DDMSReader.buildResource(nu.xom.Element xomElement)
Shared helper method to build a DDMS Resource from a XOM Element
|
static nu.xom.Element |
Util.commitXml(String xml)
Attempts to convert arbitrary XML into an Element.
|
Resource |
DDMSReader.getDDMSResource(File file)
Creates a DDMS resource based on the contents of a file, and also sets the DDMSVersion based on the namespace
URIs in the file.
|
Resource |
DDMSReader.getDDMSResource(InputStream inputStream)
Creates a DDMS resource based on the contents of an input stream, and also sets the DDMSVersion based on the
namespace URIs in the document.
|
Resource |
DDMSReader.getDDMSResource(Reader reader)
Creates a DDMS resource based on the contents of a reader, and also sets the DDMSVersion based on the namespace
URIs in the document.
|
Resource |
DDMSReader.getDDMSResource(String xml)
Creates a DDMS resource based on the contents of a string representation of an XML document, and also sets the
DDMSVersion based on the namespace URIs in the document.
|
nu.xom.Element |
DDMSReader.getElement(File file)
Creates a XOM element representing the root XML element in the file.
|
nu.xom.Element |
DDMSReader.getElement(InputStream inputStream)
Creates a XOM element representing the root XML element in an input stream.
|
nu.xom.Element |
DDMSReader.getElement(Reader reader)
Creates a XOM element representing the root XML element in a reader.
|
nu.xom.Element |
DDMSReader.getElement(String xml)
Creates a XOM element representing the root XML element in a string representation of an XML document.
|
static void |
Util.requireBoundedChildCount(nu.xom.Element parent,
String childName,
int lowBound,
int highBound)
Checks that the number of child elements with the given name in the same namespace as the parent are bounded.
|
static void |
Util.requireCompatibleVersion(IDDMSComponent parent,
IDDMSComponent child)
Validates that a child component has a compatible DDMS version as the parent.
|
static void |
Util.requireDDMSDateFormat(String date,
String ddmsNamespace)
Asserts that a date format is one of the 5 types accepted by DDMS.
|
static void |
Util.requireDDMSQName(nu.xom.Element element,
String localName)
Asserts that the qualified name of an element matches the expected name and a supported version of the
DDMS XML namespace
|
static void |
Util.requireDDMSValidURI(String uri)
Checks that a string is a valid URI.
|
static void |
Util.requireDDMSValue(String description,
Object value)
Asserts that a value required for DDMS is not null or empty.
|
static void |
Util.requireQName(nu.xom.Element element,
String namespaceURI,
String localName)
Asserts that the qualified name of an element matches the expected name and namespace URI
|
static void |
Util.requireValidLatitude(Double value)
Validates a latitude value
|
static void |
Util.requireValidLongitude(Double value)
Validates a longitude value
|
static void |
Util.requireValidNCName(String name)
Validates that a string is an NCName.
|
static void |
Util.requireValidNCNames(List<String> names)
Validates that a list of strings contains NCNames.
|
static void |
Util.requireValidNMToken(String name)
Validates that a string is an NMTOKEN.
|
static void |
DDMSReader.validateWithSchema(DDMSVersion version,
String resourceXML)
Attempts to build an Element from a Resource XML string.
|
Copyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/