本文整理汇总了Java中javax.xml.bind.annotation.XmlElementDecl类的典型用法代码示例。如果您正苦于以下问题:Java XmlElementDecl类的具体用法?Java XmlElementDecl怎么用?Java XmlElementDecl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XmlElementDecl类属于javax.xml.bind.annotation包,在下文中一共展示了XmlElementDecl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createSearchForResponse
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
@XmlElementDecl(
namespace = "http://ws.update.deployment.rapid_i.com/",
name = "searchForResponse"
)
public JAXBElement<SearchForResponse> createSearchForResponse(SearchForResponse value) {
return new JAXBElement(_SearchForResponse_QNAME, SearchForResponse.class, (Class)null, value);
}
示例2: createGetMirrorsResponse
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
@XmlElementDecl(
namespace = "http://ws.update.deployment.rapid_i.com/",
name = "getMirrorsResponse"
)
public JAXBElement<GetMirrorsResponse> createGetMirrorsResponse(GetMirrorsResponse value) {
return new JAXBElement(_GetMirrorsResponse_QNAME, GetMirrorsResponse.class, (Class)null, value);
}
示例3: createManageNameIDResponse
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}
* {@link StatusResponseType }{@code >}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:2.0:protocol", name = "ManageNameIDResponse")
public JAXBElement<StatusResponseType> createManageNameIDResponse(
StatusResponseType value) {
return new JAXBElement<StatusResponseType>(_ManageNameIDResponse_QNAME,
StatusResponseType.class, null, value);
}
示例4: createSignatoryParty
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PartyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", name = "SignatoryParty")
public JAXBElement<PartyType> createSignatoryParty(PartyType value) {
return new JAXBElement<PartyType>(_SignatoryParty_QNAME, PartyType.class, null, value);
}
示例5: createPriceChangeReason
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PriceChangeReasonType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", name = "PriceChangeReason")
public JAXBElement<PriceChangeReasonType> createPriceChangeReason(PriceChangeReasonType value) {
return new JAXBElement<PriceChangeReasonType>(_PriceChangeReason_QNAME, PriceChangeReasonType.class, null, value);
}
示例6: createOnCarriageShipmentStage
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ShipmentStageType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", name = "OnCarriageShipmentStage")
public JAXBElement<ShipmentStageType> createOnCarriageShipmentStage(ShipmentStageType value) {
return new JAXBElement<ShipmentStageType>(_OnCarriageShipmentStage_QNAME, ShipmentStageType.class, null, value);
}
示例7: createMeter
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link MeterType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", name = "Meter")
public JAXBElement<MeterType> createMeter(MeterType value) {
return new JAXBElement<MeterType>(_Meter_QNAME, MeterType.class, null, value);
}
示例8: createBuildingHabitants
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.citygml.org/ade/noise_de/2.0", name = "buildingHabitants", substitutionHeadNamespace = "http://www.opengis.net/citygml/building/2.0", substitutionHeadName = "_GenericApplicationPropertyOfAbstractBuilding")
public JAXBElement<BigInteger> createBuildingHabitants(BigInteger value) {
return new JAXBElement<BigInteger>(_BuildingHabitants_QNAME, BigInteger.class, null, value);
}
示例9: createStartTime
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "startTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createStartTime(String value) {
return new JAXBElement<String>(_StartTime_QNAME, String.class, null, value);
}
示例10: createAlternativeLineItem
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link LineItemType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", name = "AlternativeLineItem")
public JAXBElement<LineItemType> createAlternativeLineItem(LineItemType value) {
return new JAXBElement<LineItemType>(_AlternativeLineItem_QNAME, LineItemType.class, null, value);
}
示例11: createPassengerQuantity
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PassengerQuantityType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", name = "PassengerQuantity")
public JAXBElement<PassengerQuantityType> createPassengerQuantity(PassengerQuantityType value) {
return new JAXBElement<PassengerQuantityType>(_PassengerQuantity_QNAME, PassengerQuantityType.class, null, value);
}
示例12: createMaximumTemperature
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link TemperatureType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", name = "MaximumTemperature")
public JAXBElement<TemperatureType> createMaximumTemperature(TemperatureType value) {
return new JAXBElement<TemperatureType>(_MaximumTemperature_QNAME, TemperatureType.class, null, value);
}
示例13: createReference
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference")
public JAXBElement<ReferenceType> createReference(ReferenceType value) {
return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value);
}
示例14: createStopTime
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.esa.int/safe/sentinel-1.0", name = "stopTime")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createStopTime(String value) {
return new JAXBElement<String>(_StopTime_QNAME, String.class, null, value);
}
示例15: createLogs
import javax.xml.bind.annotation.XmlElementDecl; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ObjLogs }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.witsml.org/schemas/131", name = "logs")
public JAXBElement<ObjLogs> createLogs(ObjLogs value) {
return new JAXBElement<ObjLogs>(_Logs_QNAME, ObjLogs.class, null, value);
}