我想在下面的 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>