Content.Factory| Constructor and Description | 
|---|
| SimpleContent(Schema schema,
             String initialValue) | 
| SimpleContent(Schema schema,
             org.apache.xmlbeans.XmlAnySimpleType initialType) | 
| SimpleContent(SimpleContentConfig xml,
             Schema schema) | 
| Modifier and Type | Method and Description | 
|---|---|
| SimpleContentConfig | save()Save the Content to an XmlObject. | 
| String | toString(String attrs) | 
| Content | validate(Context context)Validates an XML document contained in a given Context object. | 
public SimpleContent(Schema schema, org.apache.xmlbeans.XmlAnySimpleType initialType)
public SimpleContent(SimpleContentConfig xml, Schema schema)
public SimpleContentConfig save()
Contentpublic Content validate(Context context) throws org.apache.xmlbeans.XmlException
Contentvalidate in interface Contentcontext - A Context object containing the XML data to be validated, and
                other needed contextual variables.org.apache.xmlbeans.XmlExceptionCopyright © 2019. All Rights Reserved.