org.apache.xmlbeans.SimpleValue.setCalendarValue()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(8.7k)|赞(0)|评价(0)|浏览(128)

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

SimpleValue.setCalendarValue介绍

[英]Sets the value as a Calendar.
[中]将该值设置为日历。

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public void setCalendarValue(Calendar obj)
{
  ((SimpleValue)underlyingXmlObject()).setCalendarValue(obj);
}

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

public void setCalendarValue(Calendar obj)
{
  ((SimpleValue)underlyingXmlObject()).setCalendarValue(obj);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

public void setCalendarValue(Calendar obj)
{
  ((SimpleValue)underlyingXmlObject()).setCalendarValue(obj);
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "DateTime" element
 */
public void setDateTime(java.util.Calendar dateTime)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATETIME$2, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATETIME$2);
    }
    target.setCalendarValue(dateTime);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "origin" element
 */
public void setOrigin(java.util.Calendar origin)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORIGIN$0);
    }
    target.setCalendarValue(origin);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "DateTime" element
 */
public void setDateTime(java.util.Calendar dateTime)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATETIME$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATETIME$0);
    }
    target.setCalendarValue(dateTime);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v101

/**
 * Sets the "dateOfExemptedSource" attribute
 */
public void setDateOfExemptedSource(java.util.Calendar dateOfExemptedSource)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DATEOFEXEMPTEDSOURCE$32);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DATEOFEXEMPTEDSOURCE$32);
    }
    target.setCalendarValue(dateOfExemptedSource);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v101

/**
 * Sets the "declassDate" attribute
 */
public void setDeclassDate(java.util.Calendar declassDate)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DECLASSDATE$0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DECLASSDATE$0);
    }
    target.setCalendarValue(declassDate);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets the "dt-failure" element
 */
public void setDtFailure(java.util.Calendar dtFailure)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTFAILURE$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTFAILURE$0);
    }
    target.setCalendarValue(dtFailure);
  }
}

代码示例来源:origin: org.n52.wps/52n-xml-wps-v20

/**
 * Sets the "ExpirationDate" element
 */
public void setExpirationDate(java.util.Calendar expirationDate)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPIRATIONDATE$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXPIRATIONDATE$0);
    }
    target.setCalendarValue(expirationDate);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Sets the "AuthnInstant" attribute
 */
public void setAuthnInstant(java.util.Calendar authnInstant)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTHNINSTANT$4);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AUTHNINSTANT$4);
    }
    target.setCalendarValue(authnInstant);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Sets the "SessionNotOnOrAfter" attribute
 */
public void setSessionNotOnOrAfter(java.util.Calendar sessionNotOnOrAfter)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SESSIONNOTONORAFTER$8);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SESSIONNOTONORAFTER$8);
    }
    target.setCalendarValue(sessionNotOnOrAfter);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Sets the "NotOnOrAfter" attribute
 */
public void setNotOnOrAfter(java.util.Calendar notOnOrAfter)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NOTONORAFTER$2);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NOTONORAFTER$2);
    }
    target.setCalendarValue(notOnOrAfter);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Sets the "NotBefore" attribute
 */
public void setNotBefore(java.util.Calendar notBefore)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NOTBEFORE$8);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NOTBEFORE$8);
    }
    target.setCalendarValue(notBefore);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-kml-v220

/**
 * Sets the "expires" element
 */
public void setExpires(java.util.Calendar expires)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPIRES$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXPIRES$0);
    }
    target.setCalendarValue(expires);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xb

/**
 * Sets the "IssueInstant" attribute
 */
public void setIssueInstant(java.util.Calendar issueInstant)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISSUEINSTANT$10);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISSUEINSTANT$10);
    }
    target.setCalendarValue(issueInstant);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xb

/**
 * Sets the "NotOnOrAfter" attribute
 */
public void setNotOnOrAfter(java.util.Calendar notOnOrAfter)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NOTONORAFTER$2);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NOTONORAFTER$2);
    }
    target.setCalendarValue(notOnOrAfter);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-kml-v220

/**
 * Sets the "when" element
 */
public void setWhen(java.util.Calendar when)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WHEN$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WHEN$0);
    }
    target.setCalendarValue(when);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xb

/**
 * Sets the "IssueInstant" attribute
 */
public void setIssueInstant(java.util.Calendar issueInstant)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISSUEINSTANT$14);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISSUEINSTANT$14);
    }
    target.setCalendarValue(issueInstant);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "realizationEpoch" element
 */
public void setRealizationEpoch(java.util.Calendar realizationEpoch)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REALIZATIONEPOCH$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REALIZATIONEPOCH$0);
    }
    target.setCalendarValue(realizationEpoch);
  }
}

相关文章

微信公众号

最新文章

更多

SimpleValue类方法