KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > impl > XSDocumentationImpl


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.xs.impl;
18
19 import org.apache.ws.jaxme.xs.XSDocumentation;
20 import org.apache.ws.jaxme.xs.XSObject;
21 import org.apache.ws.jaxme.xs.xml.XmlLang;
22 import org.apache.ws.jaxme.xs.xml.XsAnyURI;
23 import org.apache.ws.jaxme.xs.xml.XsEDocumentation;
24
25
26 /**
27  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
28  */

29 public class XSDocumentationImpl extends XSObjectImpl implements XSDocumentation {
30
31   /** <p>Creates a new instance of XSDocumentationImpl.java.</p>
32    */

33   protected XSDocumentationImpl(XSObject pParent, XsEDocumentation pBaseDocumentation) {
34     super(pParent, pBaseDocumentation);
35   }
36
37   /* @see org.apache.ws.jaxme.xs.XSDocumentation#getLanguage()
38    */

39   public XmlLang getLanguage() {
40     return ((XsEDocumentation) getXsObject()).getLang();
41   }
42
43   /* @see org.apache.ws.jaxme.xs.XSDocumentation#getSource()
44    */

45   public XsAnyURI getSource() {
46     return ((XsEDocumentation) getXsObject()).getSource();
47   }
48
49   /* @see org.apache.ws.jaxme.xs.XSDocumentation#getChilds()
50    */

51   public Object JavaDoc[] getChilds() {
52     // TODO Auto-generated method stub
53
return null;
54   }
55
56   /* @see org.apache.ws.jaxme.xs.XSDocumentation#getText()
57    */

58   public String JavaDoc getText() {
59     return ((XsEDocumentation) getXsObject()).getText();
60   }
61 }
62
Popular Tags