ca.infoway.messagebuilder.marshalling.hl7.formatter
Class TelUriPropertyFormatter
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractPropertyFormatter
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractNullFlavorPropertyFormatter<V>
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractAttributePropertyFormatter<V>
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractValueNullFlavorPropertyFormatter<TelecommunicationAddress>
ca.infoway.messagebuilder.marshalling.hl7.formatter.TelUriPropertyFormatter
- All Implemented Interfaces:
- PropertyFormatter
public class TelUriPropertyFormatter
- extends AbstractValueNullFlavorPropertyFormatter<TelecommunicationAddress>
Represents a TEL.URI String as an element:
<element-name value="mailto://me@me.com"></element-name>
If an object is null, value is replaced by a nullFlavor. So the element would look
like this:
<element-name nullFlavor="something" />
http://www.hl7.org/v3ballot/html/infrastructure/itsxml/datatypes-its-xml.htm#dtimpl-TEL
The TEL.URI variant defined by CeRx is for computer system addreses only. The only valid
URLSchemes are FILE, FTP, HTTP, HTTPS, MAILTO and NFS.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelUriPropertyFormatter
public TelUriPropertyFormatter()
getValue
protected final String getValue(TelecommunicationAddress uri,
FormatContext context,
BareANY bareAny)
- Specified by:
getValue
in class AbstractValueNullFlavorPropertyFormatter<TelecommunicationAddress>
Copyright © 2013. All Rights Reserved.