Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

TagLogicalElementBean.java 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * Copyright 2006 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. /* $Id$ */
  17. package org.apache.fop.render.afp.modca;
  18. /**
  19. * The TagLogicalElementBean provides a bean for holding the attributes of
  20. * a tag logical element as key value pairs.
  21. * <p/>
  22. */
  23. public class TagLogicalElementBean {
  24. /** The key attribute */
  25. private String _key;
  26. /** The value attribute */
  27. private String _value;
  28. /**
  29. * Constructor for the TagLogicalElementBean.
  30. * @param key the key attribute
  31. * @param value the value attribute
  32. */
  33. public TagLogicalElementBean(String key, String value) {
  34. _key = key;
  35. _value = value;
  36. }
  37. /**
  38. * Getter for the key attribute.
  39. * @return the key
  40. */
  41. public String getKey() {
  42. return _key;
  43. }
  44. /**
  45. * Getter for the value attribute.
  46. * @return the value
  47. */
  48. public String getValue() {
  49. return _value;
  50. }
  51. }