KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > impl > XsELengthImpl


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.xml.impl;
18
19 import org.apache.ws.jaxme.xs.xml.XsELength;
20 import org.apache.ws.jaxme.xs.xml.XsObject;
21
22
23 /** <p>Implementation of <code>xs:length</code>, following
24  * this specification:
25  * <pre>
26  * &lt;xs:element name="length" id="length" type="xs:numFacet"&gt;
27  * &lt;xs:annotation&gt;
28  * &lt;xs:documentation
29  * source="http://www.w3.org/TR/xmlschema-2/#element-length"/&gt;
30  * &lt;/xs:annotation&gt;
31  * &lt;/xs:element&gt;
32  * </pre></p>
33  *
34  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
35  */

36 public class XsELengthImpl extends XsTNumFacetImpl implements XsELength {
37   protected XsELengthImpl(XsObject pParent) {
38     super(pParent);
39   }
40
41   public String JavaDoc getFacetName() {
42     return "length";
43   }
44 }
45
Popular Tags