Method from org.apache.xmlbeans.impl.store.Validate Detail: |
public Location getLocation() {
return null;
}
|
public XmlCursor getLocationAsCursor() {
return new Cursor( _cur );
}
|
public QName getName() {
return _cur.isAtLastPush() ? null : _cur.getName();
}
|
public String getNamespaceForPrefix(String prefix) {
return _cur.namespaceForPrefix( prefix, true );
}
|
public String getText() {
if (_cur.isAttr())
return _cur.getValueAsString();
assert _hasText;
assert _oneChunk || (_textSb != null && _textSb.length() > 0);
assert !_oneChunk || _textCur.isText();
return _oneChunk ? _textCur.getCharsAsString( -1 ) : _textSb.toString();
}
|
public String getText(int wsr) {
if (_cur.isAttr())
return _cur.getValueAsString( wsr );
assert _hasText;
assert _oneChunk || (_textSb != null && _textSb.length() > 0);
assert !_oneChunk || _textCur.isText();
if (_oneChunk)
return _textCur.getCharsAsString( -1, wsr );
return Locale.applyWhiteSpaceRule( _textSb.toString(), wsr );
}
|
public String getXsiLoc() {
return _cur.getAttrValue( Locale._xsiLoc );
}
|
public String getXsiNil() {
return _cur.getAttrValue( Locale._xsiNil );
}
|
public String getXsiNoLoc() {
return _cur.getAttrValue( Locale._xsiNoLoc );
}
|
public String getXsiType() {
return _cur.getAttrValue( Locale._xsiType );
}
|
public boolean textIsWhitespace() {
if (_cur.isAttr())
{
return
_cur._locale.getCharUtil().isWhiteSpace(
_cur.getFirstChars(), _cur._offSrc, _cur._cchSrc );
}
assert _hasText;
if (_oneChunk)
{
return
_cur._locale.getCharUtil().isWhiteSpace(
_textCur.getChars( -1 ), _textCur._offSrc, _textCur._cchSrc );
}
String s = _textSb.toString();
return _cur._locale.getCharUtil().isWhiteSpace( s, 0, s.length() );
}
|