Author: veithen
Date: Thu Jun 18 22:10:43 2015
New Revision: 1686328
URL: http://svn.apache.org/r1686328
Log:
Revert r1686313.
Modified:
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/Attribute.java
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMAttributeImpl.java
Modified:
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/Attribute.java
URL:
http://svn.apache.org/viewvc/webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/Attribute.java?rev=1686328&r1=1686327&r2=1686328&view=diff
==============================================================================
---
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/Attribute.java
(original)
+++
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/Attribute.java
Thu Jun 18 22:10:43 2015
@@ -23,6 +23,7 @@ import org.apache.axiom.om.OMFactory;
public abstract class Attribute extends OMInformationItemImpl implements
CoreAttribute {
private OMFactory factory;
+ private String value;
public Attribute(OMFactory factory) {
this.factory = factory;
@@ -31,4 +32,12 @@ public abstract class Attribute extends
public final OMFactory getOMFactory() {
return factory;
}
+
+ public final String coreGetValue() {
+ return value;
+ }
+
+ public final void coreSetValue(String value) {
+ this.value = value;
+ }
}
Modified:
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
URL:
http://svn.apache.org/viewvc/webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java?rev=1686328&r1=1686327&r2=1686328&view=diff
==============================================================================
---
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
(original)
+++
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
Thu Jun 18 22:10:43 2015
@@ -28,16 +28,6 @@ public final class NamespaceDeclaration
super(factory);
}
- public String coreGetValue() {
- // Method not used in LLOM
- throw new UnsupportedOperationException();
- }
-
- public void coreSetValue(String value) {
- // Method not used in LLOM
- throw new UnsupportedOperationException();
- }
-
public OMInformationItem clone(OMCloneOptions options) {
NamespaceDeclaration decl = new NamespaceDeclaration(getOMFactory());
decl.setDeclaredNamespace(getDeclaredNamespace());
Modified:
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMAttributeImpl.java
URL:
http://svn.apache.org/viewvc/webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMAttributeImpl.java?rev=1686328&r1=1686327&r2=1686328&view=diff
==============================================================================
---
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMAttributeImpl.java
(original)
+++
webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMAttributeImpl.java
Thu Jun 18 22:10:43 2015
@@ -28,8 +28,6 @@ import org.apache.axiom.om.impl.common.A
/** Class OMAttributeImpl */
public class OMAttributeImpl extends Attribute implements AxiomAttribute {
- private String value;
-
/**
* Constructor OMAttributeImpl.
*
@@ -60,14 +58,6 @@ public class OMAttributeImpl extends Att
internalSetNamespace(ns);
coreSetType(OMConstants.XMLATTRTYPE_CDATA);
}
-
- public final String coreGetValue() {
- return value;
- }
-
- public final void coreSetValue(String value) {
- this.value = value;
- }
public OMInformationItem clone(OMCloneOptions options) {
return new OMAttributeImpl(getLocalName(), getNamespace(),
getAttributeValue(), getOMFactory());