ca.uhn.fhir.model.primitive.XhtmlDt.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(147)

本文整理了Java中ca.uhn.fhir.model.primitive.XhtmlDt.<init>()方法的一些代码示例,展示了XhtmlDt.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XhtmlDt.<init>()方法的具体详情如下:
包路径:ca.uhn.fhir.model.primitive.XhtmlDt
类名称:XhtmlDt
方法名:<init>

XhtmlDt.<init>介绍

[英]Constructor
[中]建造师

代码示例

代码示例来源:origin: jamesagnew/hapi-fhir

  1. /**
  2. * Sets the value using a textual DIV (or simple text block which will be
  3. * converted to XHTML)
  4. */
  5. public void setDiv(String theTextDiv) {
  6. myDiv = new XhtmlDt(theTextDiv);
  7. }

代码示例来源:origin: jamesagnew/hapi-fhir

  1. /**
  2. * Gets the value(s) for <b>div</b> (Limited xhtml content).
  3. * creating it if it does
  4. * not exist. Will not return <code>null</code>.
  5. *
  6. * <p>
  7. * <b>Definition:</b>
  8. * The actual narrative content, a stripped down version of XHTML
  9. * </p>
  10. */
  11. public XhtmlDt getDiv() {
  12. if (myDiv == null) {
  13. myDiv = new XhtmlDt();
  14. }
  15. return myDiv;
  16. }

代码示例来源:origin: jamesagnew/hapi-fhir

  1. if (!dt.isEmpty()) {
  2. XhtmlDt hdt = new XhtmlDt();
  3. hdt.setValueAsString(dt.getValueAsString());
  4. encodeXhtml(hdt, theEventWriter);

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

  1. /**
  2. * Sets the value using a textual DIV (or simple text block which will be
  3. * converted to XHTML)
  4. */
  5. public void setDiv(String theTextDiv) {
  6. myDiv = new XhtmlDt(theTextDiv);
  7. }

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

  1. /**
  2. * Sets the value using a textual DIV (or simple text block which will be
  3. * converted to XHTML)
  4. */
  5. public void setDiv(String theTextDiv) {
  6. myDiv = new XhtmlDt(theTextDiv);
  7. }

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

  1. /**
  2. * Gets the value(s) for <b>div</b> (Limited xhtml content).
  3. * creating it if it does
  4. * not exist. Will not return <code>null</code>.
  5. *
  6. * <p>
  7. * <b>Definition:</b>
  8. * The actual narrative content, a stripped down version of XHTML
  9. * </p>
  10. */
  11. public XhtmlDt getDiv() {
  12. if (myDiv == null) {
  13. myDiv = new XhtmlDt();
  14. }
  15. return myDiv;
  16. }

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

  1. /**
  2. * Gets the value(s) for <b>div</b> (Limited xhtml content).
  3. * creating it if it does
  4. * not exist. Will not return <code>null</code>.
  5. *
  6. * <p>
  7. * <b>Definition:</b>
  8. * The actual narrative content, a stripped down version of XHTML
  9. * </p>
  10. */
  11. public XhtmlDt getDiv() {
  12. if (myDiv == null) {
  13. myDiv = new XhtmlDt();
  14. }
  15. return myDiv;
  16. }

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-base

  1. if (!dt.isEmpty()) {
  2. XhtmlDt hdt = new XhtmlDt();
  3. hdt.setValueAsString(dt.getValueAsString());
  4. encodeXhtml(hdt, theEventWriter);

相关文章