本文整理匯總了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);
}