uma duvida pois estou trabalhando agora com XSD.
E lendo umas documentações e vendo o comando abaixo :
scomp ZZZZZZZZZZ.xsd -src ..\src -out ..\lib\schema.jar
verifiquei que o comando acima gera classes e gera um jar.
Minha duvida essas classes que o comando acima gerou foi em cima
do arquivo XSD.Pois verifiquei que tem factory,etc…
Se alguém puder me ajudar , agradeceria.
abs
/*
* An XML document type.
* Localname: enviNFsssss
* Java type: br.inf.portalfiscal.nfe.ZZZZZZDocument
*
* Automatically generated - do not modify.
*/
package nfessss;
/**
*
* This is a complex type.
*/
public interface XXXXXXDocument extends org.apache.xmlbeans.XmlObject
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XXXXXDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s1006A5280B38D7A7E62FF40C9286D2A8").resolveHandle("envinfee57edoctype");
/**
* Gets the "enviNFe" element
*/
TZZZZZZ getZZZZZZ();
/**
* Sets the "enviNFe" element
*/
void setZZZZZZ(br.inf.portalfiscal.nfe.TZZZZZZ enviNFe);
/**
* Appends and returns a new empty "enviNFe" element
*/
br.inf.portalfiscal.nfe.TZZZZZZ addNewZZZZZZ();
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static br.inf.portalfiscal.nfe.ZZZZZZDocument newInstance() {
return (br.inf.portalfiscal.nfe.ZZZZZZDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static br.inf.portalfiscal.nfe.ZZZZZZDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
return (br.inf.portalfiscal.nfe.ZZZZZZDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
private Factory() { } // No instance of this class allowed
}
}