001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.wml.dom;
018:
019: import org.apache.wml.*;
020:
021: /**
022: * @xerces.internal
023: * @version $Id: WMLCardElementImpl.java 447257 2006-09-18 05:40:07Z mrglavas $
024: * @author <a href="mailto:david@topware.com.tw">David Li</a>
025: */
026: public class WMLCardElementImpl extends WMLElementImpl implements
027: WMLCardElement {
028:
029: private static final long serialVersionUID = -3571126568344328924L;
030:
031: public WMLCardElementImpl(WMLDocumentImpl owner, String tagName) {
032: super (owner, tagName);
033: }
034:
035: public void setOnTimer(String newValue) {
036: setAttribute("ontimer", newValue);
037: }
038:
039: public String getOnTimer() {
040: return getAttribute("ontimer");
041: }
042:
043: public void setOrdered(boolean newValue) {
044: setAttribute("ordered", newValue);
045: }
046:
047: public boolean getOrdered() {
048: return getAttribute("ordered", true);
049: }
050:
051: public void setOnEnterBackward(String newValue) {
052: setAttribute("onenterbackward", newValue);
053: }
054:
055: public String getOnEnterBackward() {
056: return getAttribute("onenterbackward");
057: }
058:
059: public void setClassName(String newValue) {
060: setAttribute("class", newValue);
061: }
062:
063: public String getClassName() {
064: return getAttribute("class");
065: }
066:
067: public void setXmlLang(String newValue) {
068: setAttribute("xml:lang", newValue);
069: }
070:
071: public String getXmlLang() {
072: return getAttribute("xml:lang");
073: }
074:
075: public void setTitle(String newValue) {
076: setAttribute("title", newValue);
077: }
078:
079: public String getTitle() {
080: return getAttribute("title");
081: }
082:
083: public void setNewContext(boolean newValue) {
084: setAttribute("newcontext", newValue);
085: }
086:
087: public boolean getNewContext() {
088: return getAttribute("newcontext", false);
089: }
090:
091: public void setId(String newValue) {
092: setAttribute("id", newValue);
093: }
094:
095: public String getId() {
096: return getAttribute("id");
097: }
098:
099: public void setOnEnterForward(String newValue) {
100: setAttribute("onenterforward", newValue);
101: }
102:
103: public String getOnEnterForward() {
104: return getAttribute("onenterforward");
105: }
106:
107: }
|