< prev index next >
src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/BIEnumeration.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 37,57 ****
import com.sun.tools.internal.xjc.model.TypeUse;
import org.w3c.dom.Element;
/**
! * <enumeration> declaration in the binding file.
*/
public final class BIEnumeration implements BIConversion
{
! /** Creates an object from <enumeration> declaration. */
private BIEnumeration( Element _e, TypeUse _xducer ) {
this.e = _e;
this.xducer = _xducer;
}
! /** <enumeration> element in DOM. */
private final Element e;
private final TypeUse xducer;
public String name() { return DOMUtil.getAttribute(e,"name"); }
--- 37,57 ----
import com.sun.tools.internal.xjc.model.TypeUse;
import org.w3c.dom.Element;
/**
! * {@code <enumeration>} declaration in the binding file.
*/
public final class BIEnumeration implements BIConversion
{
! /** Creates an object from {@code <enumeration>} declaration. */
private BIEnumeration( Element _e, TypeUse _xducer ) {
this.e = _e;
this.xducer = _xducer;
}
! /** {@code <enumeration>} element in DOM. */
private final Element e;
private final TypeUse xducer;
public String name() { return DOMUtil.getAttribute(e,"name"); }
< prev index next >