【发布时间】:2015-08-27 12:29:24
【问题描述】:
我想在下面的 XML 代码中显示 maxLength 属性。 我需要在我的 java 类中做什么。
JAVA Class need to modified occording the below xml:
public class xxxx{
protected String directionsToSite;
}
===========================================================
XML Expected will be like this:
<element name="accessToAntennas" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="500"/>
<restriction>
<simpleType>
</element>
【问题讨论】:
标签: java xml web-services jakarta-ee xml-binding