001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)ExtensionsImpl.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.jbi.wsdl2.impl;
030:
031: import org.w3c.dom.Attr;
032: import org.w3c.dom.Element;
033:
034: /**
035: * Implementation of Extension elements and attributes for a WSDL component.
036: *
037: * @author Sun Microsystems, Inc.
038: */
039: final class ExtensionsImpl extends Extensions {
040: /**
041: * Get the number of Element items in elements.
042: *
043: * @return The number of Element items in elements
044: */
045: public int getElementsLength() {
046: return 0;
047: }
048:
049: /**
050: * Get extension elements by indexed position.
051: *
052: * @param index Indexed position value 0..length-1
053: * @return Extension elements at given <code>index</code> position.
054: */
055: public Element getElement(int index) {
056: return null; // $$TODO
057: }
058:
059: /**
060: * Set extension elements by indexed position.
061: *
062: * @param index Indexed position value (0..length-1) of the item to set
063: * @param theElement Item to add at position <code>index</code>.
064: */
065: public void setElement(int index, Element theElement) {
066: return; // $$TODO
067: }
068:
069: /**
070: * Append an item to extension elements.
071: *
072: * @param theElement Item to append to elements
073: */
074: public void appendElement(Element theElement) {
075: return; // $$TODO
076: }
077:
078: /**
079: * Remove extension elements by index position.
080: *
081: * @param index The index position of the element to remove
082: * @return The Element removed, if any.
083: */
084: public Element removeElement(int index) {
085: return null; // $$TODO
086: }
087:
088: /**
089: * Get the number of Attr items in attributes.
090: *
091: * @return The number of Attr items in attributes
092: */
093: public int getAttributesLength() {
094: return 0; // $$TODO
095: }
096:
097: /**
098: * Get extension attributes by indexed position.
099: *
100: * @param index Indexed position value 0..length-1
101: * @return Extension attributes at given <code>index</code> position.
102: */
103: public Attr getAttribute(int index) {
104: return null; // $$TODO
105: }
106:
107: /**
108: * Set extension attributes by indexed position.
109: *
110: * @param index Indexed position value (0..length-1) of the item to set
111: * @param theAttribute Item to add at position <code>index</code>.
112: */
113: public void setAttribute(int index, Attr theAttribute) {
114: return; // $$TODO
115: }
116:
117: /**
118: * Append an item to extension attributes.
119: *
120: * @param theAttribute Item to append to attributes
121: */
122: public void appendAttribute(Attr theAttribute) {
123: return; // $$TODO
124: }
125:
126: /**
127: * Remove extension attributes by index position.
128: *
129: * @param index The index position of the attribute to remove
130: * @return The Attr removed, if any.
131: */
132: public Attr removeAttribute(int index) {
133: return null; // $$TODO
134: }
135:
136: }
137:
138: // End-of-file: ExtensionsImpl.java
|