本文整理汇总了Java中javax.xml.bind.annotation.adapters.CollapsedStringAdapter类的典型用法代码示例。如果您正苦于以下问题:Java CollapsedStringAdapter类的具体用法?Java CollapsedStringAdapter怎么用?Java CollapsedStringAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CollapsedStringAdapter类属于javax.xml.bind.annotation.adapters包,在下文中一共展示了CollapsedStringAdapter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createAssertionIDRef
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:assertion", name = "AssertionIDRef")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createAssertionIDRef(String value) {
return new JAXBElement<String>(_AssertionIDRef_QNAME, String.class,
null, value);
}
示例2: createGetAssignedCertPathValidationPoliciesResponseCertPathValidationPolicyID
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.onvif.org/ver10/advancedsecurity/wsdl", name = "CertPathValidationPolicyID", scope = GetAssignedCertPathValidationPoliciesResponse.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
public JAXBElement<String> createGetAssignedCertPathValidationPoliciesResponseCertPathValidationPolicyID(String value) {
return new JAXBElement<String>(_GetAssignedCertPathValidationPoliciesResponseCertPathValidationPolicyID_QNAME, String.class, GetAssignedCertPathValidationPoliciesResponse.class, value);
}
示例3: _readDependsOn
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
public final static void _readDependsOn(final XoXMLStreamReader reader, final RuntimeContext context, final SessionBean sessionBean)
throws Exception {
List<String> dependsOn = null;
// Read elements
for (final XoXMLStreamReader elementReader : reader.getChildElements()) {
if (("ejb-name" == elementReader.getLocalName()) && ("http://java.sun.com/xml/ns/javaee" == elementReader.getNamespaceURI())) {
// ELEMENT: dependsOn
final String dependsOnItemRaw = elementReader.getElementAsString();
final String dependsOnItem;
try {
dependsOnItem = Adapters.collapsedStringAdapterAdapter.unmarshal(dependsOnItemRaw);
} catch (final Exception e) {
context.xmlAdapterError(elementReader, CollapsedStringAdapter.class, String.class, String.class, e);
continue;
}
if (dependsOn == null) {
dependsOn = sessionBean.dependsOn;
if (dependsOn != null) {
dependsOn.clear();
} else {
dependsOn = new ArrayList<String>();
}
}
dependsOn.add(dependsOnItem);
}
}
if (dependsOn != null) {
sessionBean.dependsOn = dependsOn;
}
}
示例4: createEllipsoidName
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "ellipsoidName")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createEllipsoidName(String value) {
return new JAXBElement<String>(_EllipsoidName_QNAME, String.class, null, value);
}
示例5: createTime
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "time")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createTime(String value) {
return new JAXBElement<String>(_Time_QNAME, String.class, null, value);
}
示例6: createProductLastLineUtcTime
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "productLastLineUtcTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createProductLastLineUtcTime(String value) {
return new JAXBElement<String>(_ProductLastLineUtcTime_QNAME, String.class, null, value);
}
示例7: createAscendingNodeTime
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "ascendingNodeTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createAscendingNodeTime(String value) {
return new JAXBElement<String>(_AscendingNodeTime_QNAME, String.class, null, value);
}
示例8: createAttitudeSource
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "attitudeSource")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createAttitudeSource(String value) {
return new JAXBElement<String>(_AttitudeSource_QNAME, String.class, null, value);
}
示例9: createPgSource
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "pgSource")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createPgSource(String value) {
return new JAXBElement<String>(_PgSource_QNAME, String.class, null, value);
}
示例10: createFirstLineSensingTime
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "firstLineSensingTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createFirstLineSensingTime(String value) {
return new JAXBElement<String>(_FirstLineSensingTime_QNAME, String.class, null, value);
}
示例11: createFineDceAzimuthStopTime
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "fineDceAzimuthStopTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createFineDceAzimuthStopTime(String value) {
return new JAXBElement<String>(_FineDceAzimuthStopTime_QNAME, String.class, null, value);
}
示例12: createStopTime
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "stopTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createStopTime(String value) {
return new JAXBElement<String>(_StopTime_QNAME, String.class, null, value);
}
示例13: createPixelValue
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "pixelValue")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createPixelValue(String value) {
return new JAXBElement<String>(_PixelValue_QNAME, String.class, null, value);
}
示例14: createFrame
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "frame")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createFrame(String value) {
return new JAXBElement<String>(_Frame_QNAME, String.class, null, value);
}
示例15: createApplicationLutId
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "applicationLutId")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createApplicationLutId(String value) {
return new JAXBElement<String>(_ApplicationLutId_QNAME, String.class, null, value);
}