Package org.apache.ws.jaxme.xs.xml

Examples of org.apache.ws.jaxme.xs.xml.XsEAnnotation


  protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
    XSSchema mySchema = getSchema();
    XSContext data = getData();
    XSObjectFactory factory = data.getXSObjectFactory();
    if (pChild instanceof XsEAnnotation) {
      XsEAnnotation annotation = (XsEAnnotation) pChild;
      mySchema.add(factory.newXSAnnotation(mySchema, annotation));
    } else if (pChild instanceof XsETopLevelSimpleType) {
      XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
      mySchema.add(factory.newXSType(mySchema, type));
    } else if (pChild instanceof XsTComplexType) {
View Full Code Here


  public XSEnumerationImpl(XSObject pParent, XsEEnumeration pBaseEnumeration) throws SAXException {
    super(pParent, pBaseEnumeration);
    if (pBaseEnumeration.getValue() == null) {
      throw new NullPointerException("Missing attribute: 'value'");
    }
    XsEAnnotation xsAnnotation = pBaseEnumeration.getAnnotation();
    if (xsAnnotation == null) {
      annotations = new XSAnnotation[0];
    } else {
      annotations = new XSAnnotation[]{getXSSchema().getXSObjectFactory().newXSAnnotation(this, xsAnnotation)};
    }
View Full Code Here

  protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
    XSSchema mySchema = getSchema();
    XSContext data = getData();
    XSObjectFactory factory = data.getXSObjectFactory();
    if (pChild instanceof XsEAnnotation) {
      XsEAnnotation annotation = (XsEAnnotation) pChild;
      mySchema.add(factory.newXSAnnotation(mySchema, annotation));
    } else if (pChild instanceof XsETopLevelSimpleType) {
      XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
      mySchema.add(factory.newXSType(mySchema, type));
    } else if (pChild instanceof XsTComplexType) {
View Full Code Here

    Object[] childs = getChilds();
    for (int i = 0;  i < childs.length;  i++) {
      if (!(childs[i] instanceof XsEAnnotation)) {
        continue;
      }
      XsEAnnotation annotation = (XsEAnnotation) childs[i];
      XsEAppinfo[] appinfos = annotation.getAppinfos();
      for (int j = 0;  j < appinfos.length;  j++) {
        Object[] appinfoChilds = appinfos[j].getChilds();
        for (int k = 0;  k < appinfoChilds.length;  k++) {
          if (!(appinfoChilds[k] instanceof JAXBSchemaBindings)) {
            continue;
View Full Code Here

  protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
    XSSchema mySchema = getSchema();
    XSContext data = getData();
    XSObjectFactory factory = data.getXSObjectFactory();
    if (pChild instanceof XsEAnnotation) {
      XsEAnnotation annotation = (XsEAnnotation) pChild;
      mySchema.add(factory.newXSAnnotation(mySchema, annotation));
    } else if (pChild instanceof XsETopLevelSimpleType) {
      XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
      mySchema.add(factory.newXSType(mySchema, type));
    } else if (pChild instanceof XsTComplexType) {
View Full Code Here

  protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
    XSSchema mySchema = getSchema();
    XSContext data = getData();
    XSObjectFactory factory = data.getXSObjectFactory();
    if (pChild instanceof XsEAnnotation) {
      XsEAnnotation annotation = (XsEAnnotation) pChild;
      mySchema.add(factory.newXSAnnotation(mySchema, annotation));
    } else if (pChild instanceof XsETopLevelSimpleType) {
      XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
      mySchema.add(factory.newXSType(mySchema, type));
    } else if (pChild instanceof XsTComplexType) {
View Full Code Here

  protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
    XSSchema mySchema = getSchema();
    XSContext data = getData();
    XSObjectFactory factory = data.getXSObjectFactory();
    if (pChild instanceof XsEAnnotation) {
      XsEAnnotation annotation = (XsEAnnotation) pChild;
      mySchema.add(factory.newXSAnnotation(mySchema, annotation));
    } else if (pChild instanceof XsETopLevelSimpleType) {
      XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
      mySchema.add(factory.newXSType(mySchema, type));
    } else if (pChild instanceof XsTComplexType) {
View Full Code Here

  public XSEnumerationImpl(XSObject pParent, XsEEnumeration pBaseEnumeration) throws SAXException {
    super(pParent, pBaseEnumeration);
    if (pBaseEnumeration.getValue() == null) {
      throw new NullPointerException("Missing attribute: 'value'");
    }
    XsEAnnotation xsAnnotation = pBaseEnumeration.getAnnotation();
    if (xsAnnotation == null) {
      annotations = new XSAnnotation[0];
    } else {
      annotations = new XSAnnotation[]{getXSSchema().getXSObjectFactory().newXSAnnotation(this, xsAnnotation)};
    }
View Full Code Here

    Object[] childs = getChilds();
    for (int i = 0;  i < childs.length;  i++) {
      if (!(childs[i] instanceof XsEAnnotation)) {
        continue;
      }
      XsEAnnotation annotation = (XsEAnnotation) childs[i];
      XsEAppinfo[] appinfos = annotation.getAppinfos();
      for (int j = 0;  j < appinfos.length;  j++) {
        Object[] appinfoChilds = appinfos[j].getChilds();
        for (int k = 0;  k < appinfoChilds.length;  k++) {
          if (!(appinfoChilds[k] instanceof JAXBSchemaBindings)) {
            continue;
View Full Code Here

  protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
    XSSchema mySchema = getSchema();
    XSContext data = getData();
    XSObjectFactory factory = data.getXSObjectFactory();
    if (pChild instanceof XsEAnnotation) {
      XsEAnnotation annotation = (XsEAnnotation) pChild;
      mySchema.add(factory.newXSAnnotation(mySchema, annotation));
    } else if (pChild instanceof XsETopLevelSimpleType) {
      XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
      mySchema.add(factory.newXSType(mySchema, type));
    } else if (pChild instanceof XsTComplexType) {
View Full Code Here

TOP

Related Classes of org.apache.ws.jaxme.xs.xml.XsEAnnotation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.