/** * Get the repeated value representation text value set specifically for this element. * * @return text (<code>null</code> if not set) */ public String getRepeatedTypeText() { if (m_repeatCode >= 0) { return s_repeatValues.getName(m_repeatCode); } else { return null; } }
/** * Form set text method. This is intended for use during unmarshalling. TODO: add validation * * @param text method * @param ictx context */ private void setFormText(String text, IUnmarshallingContext ictx) { m_form = s_representationEnum.getValue(text); }
/** * Set the enumeration representation type code. * * @param code type code, <code>-1</code> if to be unset */ public void setEnumType(int code) { if (code != -1) { s_enumValues.checkValue(code); } m_enumCode = code; }
/** * Get the xs:union handling text value set specifically for this element. * * @return text (<code>null</code> if not set) */ public String getUnionHandling() { if (m_unionCode >= 0) { return s_selectionValues.getName(m_unionCode); } else { return null; } }
/** * Required set text method. This is intended for use during unmarshalling. TODO: add validation * * @param text * @param ictx */ private void setRequireText(String text, IUnmarshallingContext ictx) { if (text == null) { m_require = null; } else { m_require = new Integer(s_requireEnum.getValue(text)); } }
/** * Set the xs:union handling type code. * * @param code handling code, <code>-1</code> if to be unset */ public void setUnionType(int code) { if (code != -1) { s_selectionValues.checkValue(code); } m_unionCode = code; }
/** * Get the enumeration representation text value set specifically for this element. * * @return text (<code>null</code> if not set) */ public String getEnumerationTypeText() { if (m_enumCode >= 0) { return s_enumValues.getName(m_enumCode); } else { return null; } }
/** * Value style set text method. This is intended for use during unmarshalling. TODO: add validation * * @param text * @param ictx */ private void setValueStyleText(String text, IUnmarshallingContext ictx) { if (text == null) { m_valueStyle = null; } else { m_valueStyle = new Integer(s_valueStyleEnum.getValue(text)); } }
/** * Set the xs:any handling type code. * * @param code handling code, <code>-1</code> if to be unset */ public void setAnyType(int code) { if (code != -1) { s_anyValues.checkValue(code); } m_anyCode = code; }
/** * Get the xs:choice handling text value set specifically for this element. * * @return text (<code>null</code> if not set) */ public String getChoiceHandling() { if (m_choiceCode >= 0) { return s_selectionValues.getName(m_choiceCode); } else { return null; } }
/** * Namespace style set text method. This is intended for use during unmarshalling. TODO: add validation * * @param text * @param ictx */ private void setNamespaceStyleText(String text, IUnmarshallingContext ictx) { if (text == null) { m_namespaceStyle = null; } else { m_namespaceStyle = new Integer(s_namespaceStyleEnum.getValue(text)); } }
/** * Set the xs:choice handling type code. * * @param code handling code, <code>-1</code> if to be unset */ public void setChoiceType(int code) { if (code != -1) { s_selectionValues.checkValue(code); } m_choiceCode = code; }
/** * Form get text method. This is intended for use during marshalling. * * @return text method */ private String getFormText() { return s_representationEnum.getName(m_form); }
/** * Name style set text method. This is intended for use during unmarshalling. TODO: add validation * * @param text * @param ictx */ private void setNameStyleText(String text, IUnmarshallingContext ictx) { if (text == null) { m_nameStyle = null; } else { m_nameStyle = new Integer(s_nameStyleEnum.getValue(text)); } }
/** * Set the repeated value representation type code. * * @param code type code, <code>-1</code> if to be unset */ public void setRepeatType(int code) { if (code != -1) { s_repeatValues.checkValue(code); } m_repeatCode = code; }
/** * Get the xs:any handling text value set specifically for this element. * * @return text (<code>null</code> if not set) */ public String getAnyHandling() { if (m_anyCode >= 0) { return s_anyValues.getName(m_anyCode); } else { return null; } }
/** * Direction set text method. This is intended for use during unmarshalling. TODO: add validation * * @param text * @param ictx */ private void setDirectionText(String text, IUnmarshallingContext ictx) { int direct = s_directionEnum.getValue(text); if (direct < 0) { throw new IllegalArgumentException("Value '" + text + "' not recognized for 'direction' attribute"); } else { m_isInput = direct != OUT_BINDING; m_isOutput = direct != IN_BINDING; } }
/** * Direction get text method. This is intended for use during marshalling. * * @return text */ private String getDirectionText() { if (m_isInput && m_isOutput) { return s_directionEnum.getName(BOTH_BINDING); } else if (m_isInput) { return s_directionEnum.getName(IN_BINDING); } else { return s_directionEnum.getName(OUT_BINDING); } }
if (tname.startsWith(xsdlead)) { type = s_schemaTypesEnum. getValue(tname.substring(xsdlead.length()));